Layer 224
constructor
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;

Parameters

Name Type Description
QueryId long The query_id to pass to messages. send Inline Bot Result
Result BotInlineResult The contents of the message, to be shown in a preview
PeerTypes Vector<InlineQueryPeerType> Types of chats where this message can be sent
CacheTime int Caching validity of the results
Users Vector<User> Users mentioned in the results

Gogram Example

// Creating MessagesPreparedInlineMessageObj constructor
obj := &tg.MessagesPreparedInlineMessageObj{
    QueryId: int64(1234567890),
    Result: &tg.BotInlineResult{},
    PeerTypes: []tg.InlineQueryPeerType{&tg.InlineQueryPeerType{}},
    CacheTime: 42,
    Users: []tg.User{&tg.User{}},
}