Class Team
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class Team : Entity, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonTeam>
- Inheritance
-
Team
- Implements
- Inherited Members
Constructors
Team(JsonTeam, RestClient)
public Team(JsonTeam jsonModel, RestClient client)
Parameters
jsonModel
JsonTeamclient
RestClient
Properties
IconHash
public string? IconHash { get; }
Property Value
Id
The unique identifier for this object.
public override ulong Id { get; }
Property Value
Name
public string Name { get; }
Property Value
OwnerId
public ulong OwnerId { get; }
Property Value
Users
public IReadOnlyList<TeamUser> Users { get; }
Property Value
Methods
GetIconUrl(ImageFormat)
public ImageUrl? GetIconUrl(ImageFormat format)
Parameters
format
ImageFormat