- Enclosing class:
- TdApi
Returns menu button set by the bot
for the given user; for bots only.
Returns
BotMenuButton
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of the user or 0 to get the default menu button. -
Constructor Summary
ConstructorDescriptionReturns menu button set by the bot for the given user; for bots only.GetMenuButton
(long userId) Returns menu button set by the bot for the given user; for bots only.GetMenuButton
(DataInput input) Returns menu button set by the bot for the given user; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdIdentifier of the user or 0 to get the default menu button. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetMenuButton
public GetMenuButton()Returns menu button set by the bot for the given user; for bots only. ReturnsBotMenuButton
-
GetMenuButton
public GetMenuButton(long userId) Returns menu button set by the bot for the given user; for bots only. ReturnsBotMenuButton
- Parameters:
userId
- long Identifier of the user or 0 to get the default menu button.
-
GetMenuButton
Returns menu button set by the bot for the given user; for bots only. ReturnsBotMenuButton
- 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()
-