GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Follow on X
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema
  • All Methods
  • bots.setBotMenuButton

This view

  • Original page
  • New address

GeezerVison is showing core.telegram.org — bots.setBotMenuButton

  • Follow on X
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema

Machine-readable version of this page: /method/bots.setBotMenuButton.md.

  • API
  • All Methods
  • bots.setBotMenuButton

bots.setBotMenuButton

Sets the menu button action » for a given user or for all users

  • Layer 225
    • 1 – Base layer
    • 2 – New userpic notifications
    • 3 – Send message can trigger link change
    • 4 – Check-in chats
    • 5 – Localized SMS, localized notifications
    • 6 – Foursquare integration
    • 7 – Added wallPaperSolid
    • 8 – Added end-to-end encryption
    • 9 – Improved big files upload perfomance
    • 10 – Improved chat participants updates
    • 11 – Improved secret chats
    • 12 – New dynamic support
    • 13 – Audio, video MIME; contacts import retry; new secret actions
    • 14 – Notify settings sync, blacklist sync
    • 15 – Modified getHistory offset behaviour
    • 16 – Split sendCode into 2 parts
    • 17 – Added custom typing, introduced message flags
    • 18 – Added usernames
    • 23 – Stickers for secret chats
    • 105 – Scheduled messages, Cloud themes
    • 108 – Login with QR code
    • 109 – Polls v2
    • 110 – People Nearby 2.0, Bank card entity
    • 111 – Folders, Broadcast Stats
    • 112 – Old featured stickers, generic dice, poll timer, poll solution
    • 113 – PSA
    • 114 – Video thumbs for GIFs
    • 115 – Peek Channel Invite
    • 116 – Group Stats, Profile Videos
    • 117 – WebRTC Phone Calls
    • 118 – Callback with 2FA, Countries list
    • 119 – Comments in channels, Threads, Anonymous Admins
    • 120 – Multipins, Message Stats, GeoLive v2
    • 121 – SVG-based Outlines for Stickers
    • 122 – Voice Chats
    • 123 – Voice Chat improvements
    • 124 – Expiring Invite links
    • 125 – Voice Chats in Broadcasts
    • 126 – Ban channels in channels
    • 127 – Payments in channels
    • 128 – Microthumbs for User/Chat profile photos
    • 129 – Video Chats
    • 130 – Custom placeholder for bot reply keyboards
    • 131 – Reset 2FA Password after a week
    • 132 – Chat themes
    • 133 – 64-bit IDs for User/Chat
    • 134 – Chat Requests, Shared Media Calendar
    • 135 – Send Message As a Channel
    • 136 – Reactions
    • 137 – Translations
    • 138 – GIF Sticker Packs
    • 139 – RTMP streaming
    • 140 – WebApps, Cloud Ringtones
    • 142 – TCP Reflectors
    • 143 – Premium Subscription, Cloud Invoices
    • 144 – Premium as a Gift, Custom Emoji
    • 145 – Custom Reactions, Statuses, Sign In with email
    • 147 – Keywords for stickers and emojis
    • 148 – Forums, collectible usernames
    • 150 – Pinned forum topics, general topic
    • 151 – Media spoilers, suggested profile photos
    • 152 – Real-time translations, Firebase SMS authentication
    • 153 – Modify created stickersets
    • 155 – Dates for reactions
    • 158 – Shared folders, per-chat wallpapers
    • 159 – Anonymous votes
    • 160 – Stories
    • 164 – Stories in Channels
    • 166 – Giveaways in channels
    • 167 – Similar channels
    • 168 – Channel colors
    • 169 – Multiselection of chats for bots
    • 170 – Saved Messages 2.0
    • 171 – Saved Messages 2.0
    • 174 – Group boosts
    • 176 – Business
    • 177 – Business Bots, Birthdays
    • 178 – Saved Personal channel, Reactions notifications
    • 179 – Channel revenue stats, phrases in SMS
    • 180 – Message Effects, Hashtags
    • 181 – Stars
    • 182 – Stars Revenue
    • 183 – Paid posts
    • 184 – Stars Refunds
    • 185 – MiniApp Store, Star Gifts
    • 186 – Channel Subscriptions for Stars
    • 187 – Stars Giveaways
    • 189 – Stars Gifts
    • 192 – Video Qualities, Ads in bots
    • 194 – Stars Subscription for Bots
    • 195 – Affiliate Programs for Bots
    • 196 – Collectible gifts
    • 197 – Similar Bots
    • 198 – Collectibles as emoji statuses
    • 200 – Paid Messages
    • 202 – Conference calls
    • 203 – Resell collectible gifts
    • 204 – Monoforums
    • 205 – TODO lists
    • 207 – Suggested channel posts
    • 210 – Star gift collections, rating
    • 211 – Story Albums
    • 212 – Prepaid gift upgrades
    • 213 – Music in profile
    • 214 – Chat Themes with collectible gifts
    • 215 – Chat Gift Themes
    • 216 – Threaded view for Bots
    • 217 – Live Stories
    • 218 – Gift Auctions
    • 219 – Passkeys
    • 220 – Gift Offers
    • 222 – Gift Crafts
    • 223 – User tags in groups
    • 224 – AI Editor, Live photos
    • 225 – Guest mode, Custom AI compose tones
    • More...
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.setBotMenuButton#4504d54f user_id:InputUser button:BotMenuButton = Bool;

Parameters

Name Type Description
user_id InputUser User ID
button BotMenuButton Bot menu button action

Result

Bool

Only bots can use this method

Possible errors

Code Type Description
400 BUTTON_INVALID The specified button is invalid.
400 BUTTON_TEXT_INVALID The specified button text is invalid.
400 BUTTON_URL_INVALID Button URL invalid.
400 USER_BOT_REQUIRED This method can only be called by a bot.

Related pages

Bot menu button

Bots can choose the behavior of the menu button shown next to the text input field.

Telegram
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
About
  • FAQ
  • Privacy
  • Press
Mobile Apps
  • iPhone/iPad
  • Android
  • Mobile Web
Desktop Apps
  • PC/Mac/Linux
  • macOS
  • Web-browser
Platform
  • API
  • Translations
  • Instant View
About
Blog
Press
Safety
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.