Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_sendBotRequestedPeer_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_sendBotRequestedPeer_
extends Function_<enums.Updates>
import { messages_sendBotRequestedPeer_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

Constructors

new
messages_sendBotRequestedPeer_(params: { peer: enums.InputPeer; msg_id: number; button_id: number; requested_peers: Array<enums.InputPeer>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
button_id: number

The button_id field from the keyboardButtonRequestPeer constructor.

msg_id: number

ID of the message that contained the reply keyboard with the keyboardButtonRequestPeer button.

peer: enums.InputPeer

The bot that sent the keyboardButtonRequestPeer button.

requested_peers: Array<enums.InputPeer>

The chosen peers.

Static Properties

__F: (params: { peer: enums.InputPeer; msg_id: number; button_id: number; requested_peers: Array<enums.InputPeer>; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc