Skip to content

export Function

Users

Constructor

ts
 ReplyButton.Users( text, request_users )
ParameterTypeDescription
textstringLabel text on the button.
request_usersRequestUsersPressing the button will open a list of suitable users. Identifiers of selected users will be sent to the bot in a “users_shared” service message. Available in private chats only.

Return: ReplyButtonPayload

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.