get_replied_message

Function get_replied_message 

Source
pub async fn get_replied_message(
    chat_id: i64,
    message_id: i64,
    client_id: i32,
) -> Result<Message, Error>
Expand description

Returns information about a non-bundled message that is replied by a given message. Also, returns the pinned message, the game message, the invoice message, the message with a previously set same background, the giveaway message, and the topic creation message for messages of the types messagePinMessage, messageGameScore, messagePaymentSuccessful, messageChatSetBackground, messagePremiumGiveawayCompleted and topic messages without non-bundled replied message respectively

ยงArguments

  • chat_id - Identifier of the chat the message belongs to
  • message_id - Identifier of the reply message
  • client_id - The client id to send the request to