Raw.messages.SendInlineBotResult
Send a result obtained using messages.getinlinebotresults.
messages.sendInlineBotResult#3ebee86a flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to:flags.0?InputReplyTo random_id:long query_id:long id:string schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
export namespace Raw {
export namespace messages {
export class SendInlineBotResult {
constructor(params: {
silent?: boolean;
background?: boolean;
clearDraft?: boolean;
hideVia?: boolean;
peer: Raw.TypeInputPeer;
replyTo?: Raw.TypeInputReplyTo;
randomId: bigint;
queryId: bigint;
id: string;
scheduleDate?: number;
sendAs?: Raw.TypeInputPeer;
quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x3ebee86a
Property
silent
: boolean or undefinedWhether to send the message silently (no notification will be triggered on the other client)
background
: boolean or undefinedWhether to send the message in background
clearDraft
: boolean or undefinedWhether to clear the draft
hideVia
: boolean or undefinedWhether to hide the via @botname in the resulting message (only for bot usernames encountered in the config)
peer
: Raw.TypeInputPeerDestination
replyTo
: Raw.TypeInputReplyTo or undefinedIf set, indicates that the message should be sent in reply to the specified message or story.
randomId
: bigintRandom id to avoid resending the same query
queryId
: bigintQuery id from messages.getinlinebotresults
id
: stringResult id from messages.getinlinebotresults
scheduleDate
: number or undefinedScheduled message date for scheduled messages
sendAs
: Raw.TypeInputPeer or undefinedSend this message as the specified peer
quickReplyShortcut
: Raw.TypeInputQuickReplyShortcut or undefinedAdd the message to the specified quick reply shortcut, instead.