Skip to main content
Very Popular
Go to Latest
method Keyboard.prototype.requestChat
import { Keyboard } from "";

Adds a new request chat button. When the user presses the button, a list of suitable users will be opened. Tapping on a chat will send its identifier to the bot in a “chat_shared” service message. Available in private chats only.


text: string

The text to display

requestId: number

A signed 32-bit identifier of the request

options: Omit<KeyboardButtonRequestChat, "request_id"> = [UNSUPPORTED]

Options object for further requirements