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

x/mtkruto/tl/2_types.ts>ReplyKeyboardHide_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class ReplyKeyboardHide_
extends _ReplyMarkup_
import { ReplyKeyboardHide_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Hide sent bot keyboard

Constructors

new
ReplyKeyboardHide_(params?: { selective?: true; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
selective: true

Use this flag if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.

Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc