Raw.ReplyKeyboardHide
Hide sent bot keyboard
replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
export namespace Raw {
export class ReplyKeyboardHide {
constructor(params: { selective?: boolean }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xa03e5b85
Property
selective
: boolean or undefinedUse 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 replyToMessageId), 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