send_quick_reply_shortcut_messages

Function send_quick_reply_shortcut_messages 

Source
pub async fn send_quick_reply_shortcut_messages(
    chat_id: i64,
    shortcut_id: i32,
    sending_id: i32,
    client_id: i32,
) -> Result<Messages, Error>
Expand description

Sends messages from a quick reply shortcut. Requires Telegram Business subscription

ยงArguments

  • chat_id - Identifier of the chat to which to send messages. The chat must be a private chat with a regular user
  • shortcut_id - Unique identifier of the quick reply shortcut
  • sending_id - Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates
  • client_id - The client id to send the request to