lib/tdlib/client_methods.rb
# Blocks an original sender of a message in the Replies chat.
#
# @param message_id [Integer] The identifier of an incoming message in the Replies chat.
# @param delete_message [Boolean] Pass true if the message must be deleted.
# @param delete_all_messages [Boolean] Pass true if all messages from the same sender must be deleted.
# @param report_spam [Boolean] Pass true if the sender must be reported to the Telegram moderators.
# @return [TD::Types::Ok]
Blocks an original sender of a message in the Replies chat.
Blocks an original sender of a message in the Replies chat .
def block_message_sender_from_replies(message_id:, delete_message:, delete_all_messages:, report_spam:)
    broadcast('@type'               => 'blockMessageSenderFromReplies',
              'message_id'          => message_id,
              'delete_message'      => delete_message,
              'delete_all_messages' => delete_all_messages,
              'report_spam'         => report_spam)
  end
def block_message_sender_from_replies ( message_id : , delete_message : , delete_all_messages : , report_spam : ) broadcast ( '@type' => 'blockMessageSenderFromReplies' , 'message_id' => message_id , 'delete_message' => delete_message , 'delete_all_messages' => delete_all_messages , 'report_spam' => report_spam ) end
Blocks an original sender of a message in the Replies chat.
Blocks an original sender of a message in the Replies chat .
None
TD::Types::Ok
message_id
The identifier of an incoming message in the Replies chat.
The identifier of an incoming message in the Replies chat .
delete_message
Pass true if the message must be deleted.
Pass true if the message must be deleted .
delete_all_messages
Pass true if all messages from the same sender must be deleted.
Pass true if all messages from the same sender must be deleted .
report_spam
Pass true if the sender must be reported to the Telegram moderators.
Pass true if the sender must be reported to the Telegram moderators .