public static class TdApi.GetChat extends TdApi.Function
Returns Chat
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
GetChat()
Default constructor for a function, which returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
|
GetChat(long chatId)
Creates a function, which returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public static final int CONSTRUCTOR
public GetChat()
Returns Chat
public GetChat(long chatId)
Returns Chat
chatId
- Chat identifier.public int getConstructor()
getConstructor
in class TdApi.Function