Package org.drinkless.tdlib
Class TdApi.GetSupergroup
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.longsupergroupIdSupergroup or channel identifier.
-
Constructor Summary
Constructors Constructor Description GetSupergroup()Default constructor for a function, which returns information about a supergroup or a channel by its identifier.GetSupergroup(long supergroupId)Creates a function, which returns information about a supergroup or a channel by its identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
supergroupId
public long supergroupId
Supergroup or channel identifier.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetSupergroup
public GetSupergroup()
Default constructor for a function, which 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)
Creates a function, which 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- Supergroup or channel identifier.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-