Class TdApi.GetSupergroupFullInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.SupergroupFullInfo>
dev.voroby.springframework.telegram.client.TdApi.GetSupergroupFullInfo
- Enclosing class:
- TdApi
Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.
Returns SupergroupFullInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Supergroup or channel identifier. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.GetSupergroupFullInfo
(long supergroupId) Creates a function, which returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
supergroupId
public long supergroupIdSupergroup or channel identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetSupergroupFullInfo
public GetSupergroupFullInfo()Default constructor for a function, which returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.Returns
SupergroupFullInfo
-
GetSupergroupFullInfo
public GetSupergroupFullInfo(long supergroupId) Creates a function, which returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.Returns
SupergroupFullInfo
- Parameters:
supergroupId
- Supergroup or channel identifier.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-