public static class TdApi.GetMenuButton extends TdApi.Function<TdApi.BotMenuButton>
Returns BotMenuButton
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the user or 0 to get the default menu button.
|
| Constructor and Description |
|---|
GetMenuButton()
Default constructor for a function, which returns menu button set by the bot for the given user; for bots only.
|
GetMenuButton(long userId)
Creates a function, which returns menu button set by the bot for the given user; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public static final int CONSTRUCTOR
public GetMenuButton()
Returns BotMenuButton
public GetMenuButton(long userId)
Returns BotMenuButton
userId - Identifier of the user or 0 to get the default menu button.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object