Skip to content

messages.setInlineBotResults

Layer 225

Constructor ID: 0xbb12a419
Returns: Bool

Parameters

NameTypeDescription
gallerybool (flags.0, optional)
privatebool (flags.1, optional)
query_idint64
results[]InputBotInlineResult
cache_timeint32
next_offsetstring (flags.2, optional)
switch_pmInlineBotSwitchPm (flags.3, optional)
switch_webviewInlineBotWebView (flags.4, optional)

Example

go
result, err := client.Raw(&tg.SetInlineBotResultsRequest{
    gallery: false,
    private: false,
    query_id: 0,
    results: nil,
    cache_time: 0,
    next_offset: "",
    switch_pm: nil, // InlineBotSwitchPm
    switch_webview: nil, // InlineBotWebView
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.