Skip to main content
Module

x/grammy_autoquote/deps.deno.ts>KeyboardButtonRequestUser

grammY plugin that forces all sent messages to quote the last received one
Go to Latest
interface KeyboardButtonRequestUser
import { type KeyboardButtonRequestUser } from "https://deno.land/x/grammy_autoquote@v2.0.0/deps.deno.ts";

This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed.

Properties

request_id: number

Signed 32-bit identifier of the request

optional
user_is_bot: boolean

Pass True to request a bot, pass False to request a regular user. If not specified, no additional restrictions are applied.

optional
user_is_premium: boolean

Pass True to request a premium user, pass False to request a non-premium user. If not specified, no additional restrictions are applied.