Layer 220
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 MessagesPreparedInlineMessage constructor
obj := &tg.MessagesPreparedInlineMessage{
    QueryId: int64(0),
    Result: &tg.BotInlineResult{},
    PeerTypes: []tg.InlineQueryPeerType{&tg.InlineQueryPeerType{}},
    CacheTime: 0,
    Users: []tg.User{&tg.User{}},
}