public static class TdApi.ChatTypeSupergroup extends TdApi.ChatType
TdApi.ChatType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isChannel
True, if the supergroup is a channel.
|
int |
supergroupId
Supergroup or channel identifier.
|
Constructor and Description |
---|
ChatTypeSupergroup()
A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
|
ChatTypeSupergroup(int supergroupId,
boolean isChannel)
A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int supergroupId
public boolean isChannel
public static final int CONSTRUCTOR
public ChatTypeSupergroup()
public ChatTypeSupergroup(int supergroupId, boolean isChannel)
supergroupId
- Supergroup or channel identifier.isChannel
- True, if the supergroup is a channel.public int getConstructor()
getConstructor
in class TdApi.ChatType