Package it.tdlight.jni
Class TdApi.GetSupergroup
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetSupergroup
- Enclosing class:
- TdApi
public static class TdApi.GetSupergroup extends TdApi.Function
Returns information about a supergroup
or a channel by its identifier. This
is an offline request if the current
user is not a bot.
Returns Supergroup
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
supergroupId
Supergroup or channel identifier. -
Constructor Summary
Constructors Constructor Description GetSupergroup()
Returns information about a supergroup or a channel by its identifier.GetSupergroup(long supergroupId)
Returns information about a supergroup or a channel by its identifier.GetSupergroup(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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdSupergroup or channel identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetSupergroup
public GetSupergroup()Returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot.Returns
Supergroup
-
GetSupergroup
public GetSupergroup(long supergroupId)Returns information about a supergroup or a channel by its identifier. This is an offline request if the current user is not a bot.Returns
Supergroup
- Parameters:
supergroupId
- long Supergroup or channel identifier.
-
GetSupergroup
- 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()
-