View Source ExTDLib.Method.SetMenuButton (ExTDLib v0.0.4)

Sets menu button for the given user or for all users; for bots only. Returns object_ptr<Ok>.

NameTypeDescription
user_idstringIdentifier of the user or 0 to set menu button for all users.
menu_buttonbotMenuButtonNew menu button.

More details on telegram's documentation.