Skip to content

blockMessageSenderFromReplies

Function · TDLib 1.8.67 · d1085f9c

Blocks an original sender of a message in the Replies chat

blockMessageSenderFromReplies(
  message_id: int53,
  delete_message: Bool,
  delete_all_messages: Bool,
  report_spam: Bool
) → Ok

message_id

int53

The identifier of an incoming message in the Replies chat

delete_message

Bool

Pass true to delete the message

delete_all_messages

Bool

Pass true to delete all messages from the same sender

report_spam

Bool

Pass true to report the sender to the Telegram moderators