Skip to content

messages.sendInlineBotResult

Layer 225

Constructor ID: 0xc0cf7646
Returns: Updates

Parameters

NameTypeDescription
silentbool (flags.5, optional)
backgroundbool (flags.6, optional)
clear_draftbool (flags.7, optional)
hide_viabool (flags.11, optional)
peerInputPeer
reply_toInputReplyTo (flags.0, optional)
random_idint64
query_idint64
idstring
schedule_dateint32 (flags.10, optional)
send_asInputPeer (flags.13, optional)
quick_reply_shortcutInputQuickReplyShortcut (flags.17, optional)
allow_paid_starsint64 (flags.21, optional)

Example

go
result, err := client.Raw(&tg.SendInlineBotResultRequest{
    silent: false,
    background: false,
    clear_draft: false,
    hide_via: false,
    peer: nil, // InputPeer
    reply_to: nil, // InputReplyTo
    random_id: 0,
    query_id: 0,
    id: "",
    schedule_date: 0,
    send_as: nil, // InputPeer
    quick_reply_shortcut: nil, // InputQuickReplyShortcut
    allow_paid_stars: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.