- Enclosing class:
- TdApi
Sets menu button for the given user
or for all users; for bots only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
New menu button.long
Identifier of the user or 0 to set menu button for all users. -
Constructor Summary
ConstructorDescriptionSets menu button for the given user or for all users; for bots only.SetMenuButton
(long userId, TdApi.BotMenuButton menuButton) Sets menu button for the given user or for all users; for bots only.SetMenuButton
(DataInput input) Sets menu button for the given user or for all users; 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 set menu button for all users. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetMenuButton
public SetMenuButton()Sets menu button for the given user or for all users; for bots only. ReturnsOk
-
SetMenuButton
Sets menu button for the given user or for all users; for bots only. ReturnsOk
- Parameters:
userId
- long Identifier of the user or 0 to set menu button for all users.menuButton
- BotMenuButton New menu button.
-
SetMenuButton
Sets menu button for the given user or for all users; for bots only. ReturnsOk
- 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()
-