savePreparedInlineMessage

Stores a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object.

Api reference

Parameters

userId

Unique identifier of the target user that can use the prepared message

result

A JSON-serialized object describing the message to be sent

allowUserChats

Pass True if the message can be sent to private chats with users

allowBotChats

Pass True if the message can be sent to private chats with bots

allowGroupChats

Pass True if the message can be sent to group and supergroup chats

allowChannelChats

Pass True if the message can be sent to channel chats