Package it.tdlight.jni
Class TdApi.ChatTypeSupergroup
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatType
it.tdlight.jni.TdApi.ChatTypeSupergroup
- Enclosing class:
- TdApi
public static class TdApi.ChatTypeSupergroup extends TdApi.ChatType
A supergroup (i.e. a chat with up to
GetOption("supergroup_max_size")
other users), or channel (with unlimited members).
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isChannel
True, if the supergroup is a channel.int
supergroupId
Supergroup or channel identifier. -
Constructor Summary
Constructors Constructor Description ChatTypeSupergroup()
A supergroup (i.e.ChatTypeSupergroup(int supergroupId, boolean isChannel)
A supergroup (i.e.ChatTypeSupergroup(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
supergroupId
public int supergroupIdSupergroup or channel identifier. -
isChannel
public boolean isChannelTrue, if the supergroup is a channel. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatTypeSupergroup
public ChatTypeSupergroup()A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members). -
ChatTypeSupergroup
public 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).- Parameters:
supergroupId
- int Supergroup or channel identifier.isChannel
- boolean True, if the supergroup is a channel.
-
ChatTypeSupergroup
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-