get_menu_button

Function get_menu_button 

Source
pub async fn get_menu_button(
    user_id: i64,
    client_id: i32,
) -> Result<BotMenuButton, Error>
Expand description

Returns menu button set by the bot for the given user; for bots only

ยงArguments

  • user_id - Identifier of the user or 0 to get the default menu button
  • client_id - The client id to send the request to