block_message_sender_from_replies

Function block_message_sender_from_replies 

Source
pub async fn block_message_sender_from_replies(
    message_id: i64,
    delete_message: bool,
    delete_all_messages: bool,
    report_spam: bool,
    client_id: i32,
) -> Result<(), Error>
Expand description

Blocks an original sender of a message in the Replies chat

ยงArguments

  • message_id - The identifier of an incoming message in the Replies chat
  • delete_message - Pass true to delete the message
  • delete_all_messages - Pass true to delete all messages from the same sender
  • report_spam - Pass true to report the sender to the Telegram moderators
  • client_id - The client id to send the request to