save Prepared Inline Message
inline fun savePreparedInlineMessage(userId: Long, result: InlineQueryResult): SavePreparedInlineMessageAction
Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object.
Parameters
user Id
Unique identifier of the target user that can use the prepared message
result
A JSON-serialized object describing the message to be sent
allow User Chats
Pass True if the message can be sent to private chats with users
allow Bot Chats
Pass True if the message can be sent to private chats with bots
allow Group Chats
Pass True if the message can be sent to group and supergroup chats
allow Channel Chats
Pass True if the message can be sent to channel chats
inline fun savePreparedInlineMessage(userId: Long, result: () -> InlineQueryResult): SavePreparedInlineMessageAction