diff --git a/data/web/corefork.telegram.org/api/bots/menu.html b/data/web/corefork.telegram.org/api/bots/menu.html index 233dc0768c..f41f62db4a 100644 --- a/data/web/corefork.telegram.org/api/bots/menu.html +++ b/data/web/corefork.telegram.org/api/bots/menu.html @@ -2,14 +2,12 @@ - Menu + Bot menu button - - + + - + @@ -41,8 +39,8 @@ For a simplified description using…">
- -

Menu

+ +

Bot menu button

@@ -90,7 +88,7 @@ For a simplified description using…"> botInfo#8f300b57 flags:# user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton = BotInfo; -userFull#8c72ea81 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights = UserFull; +userFull#c4b1fc3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull; ---functions--- diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 438f9c3fa0..95909f4390 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -269,13 +269,13 @@
  • Added messages.requestSimpleWebView - Open a bot web app.
  • Added messages.sendWebViewResultMessage - Terminate webview interaction started with messages.requestWebView, sending the specified message to the chat on behalf of the user.
  • Added messages.sendWebViewData - Used by the user to relay data from an opened reply keyboard bot web app to the bot that owns it.
  • -
  • Added bots.setBotMenuButton - Sets the menu button action for a given user or for all users
  • +
  • Added bots.setBotMenuButton - Sets the menu button action » for a given user or for all users
  • Added bots.getBotMenuButton - Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton; users can see this information in the botInfo constructor.
  • Added account.getSavedRingtones - Fetch saved notification sounds
  • Added account.saveRingtone - Save or remove saved notification sound.
  • Added account.uploadRingtone - Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.
  • -
  • Added bots.setBotBroadcastDefaultAdminRights - Set the default suggested admin rights for bots being added as admins to channels.
  • -
  • Added bots.setBotGroupDefaultAdminRights - Set the default suggested admin rights for bots being added as admins to groups.
  • +
  • Added bots.setBotBroadcastDefaultAdminRights - Set the default suggested admin rights for bots being added as admins to channels, see here for more info on how to handle them ».
  • +
  • Added bots.setBotGroupDefaultAdminRights - Set the default suggested admin rights for bots being added as admins to groups, see here for more info on how to handle them ».
  • Added phone.saveCallLog - Save phone call debug information
  • Changed Methods
    diff --git a/data/web/corefork.telegram.org/method/bots.setBotBroadcastDefaultAdminRights b/data/web/corefork.telegram.org/method/bots.setBotBroadcastDefaultAdminRights index 592c592857..518a5ea16a 100644 --- a/data/web/corefork.telegram.org/method/bots.setBotBroadcastDefaultAdminRights +++ b/data/web/corefork.telegram.org/method/bots.setBotBroadcastDefaultAdminRights @@ -4,10 +4,10 @@ bots.setBotBroadcastDefaultAdminRights - + - + @@ -42,7 +42,7 @@

    bots.setBotBroadcastDefaultAdminRights

    -

    Set the default suggested admin rights for bots being added as admins to channels.

    +

    Set the default suggested admin rights for bots being added as admins to channels, see here for more info on how to handle them ».

    +

    Bots can use this method

    +

    Related pages

    +

    Admin, banned, default rights

    +

    How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.

    diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index f9b163851b..4b417bfa3f 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -1194,11 +1194,11 @@ bots.setBotBroadcastDefaultAdminRights -Set the default suggested admin rights for bots being added as admins to channels. +Set the default suggested admin rights for bots being added as admins to channels, see here for more info on how to handle them ». bots.setBotGroupDefaultAdminRights -Set the default suggested admin rights for bots being added as admins to groups. +Set the default suggested admin rights for bots being added as admins to groups, see here for more info on how to handle them ». @@ -2368,7 +2368,7 @@ bots.setBotMenuButton -Sets the menu button action for a given user or for all users +Sets the menu button action » for a given user or for all users bots.getBotMenuButton