lib/tdlib/client_methods.rb
def delete_chat_messages_by_date(chat_id:, min_date:, max_date:, revoke:)
    broadcast('@type'    => 'deleteChatMessagesByDate',
              'chat_id'  => chat_id,
              'min_date' => min_date,
              'max_date' => max_date,
              'revoke'   => revoke)
  end
# Deletes all messages between the specified dates in a chat.
# Supported only for private chats and basic groups.
# Messages sent in the last 30 seconds will not be deleted.
#
# @param chat_id [Integer] Chat identifier.
# @param min_date [Integer] The minimum date of the messages to delete.
# @param max_date [Integer] The maximum date of the messages to delete.
# @param revoke [Boolean] Pass true to delete chat messages for all users; private chats only.
# @return [TD::Types::Ok]
Deletes all messages between the specified dates in a chat.
Supported only for private chats and basic groups.
Messages sent in the last 30 seconds will not be deleted.
Deletes all messages between the specified dates in a chat . Supported only for private chats and basic groups . Messages sent in the last 30 seconds will not be deleted .
def delete_chat_messages_by_date(chat_id:, min_date:, max_date:, revoke:)
    broadcast('@type'    => 'deleteChatMessagesByDate',
              'chat_id'  => chat_id,
              'min_date' => min_date,
              'max_date' => max_date,
              'revoke'   => revoke)
  end
def delete_chat_messages_by_date ( chat_id : , min_date : , max_date : , revoke : ) broadcast ( '@type' => 'deleteChatMessagesByDate' , 'chat_id' => chat_id , 'min_date' => min_date , 'max_date' => max_date , 'revoke' => revoke ) end
Deletes all messages between the specified dates in a chat.
Deletes all messages between the specified dates in a chat .
None
TD::Types::Ok
chat_id
None
min_date
The minimum date of the messages to delete.
The minimum date of the messages to delete .
max_date
The maximum date of the messages to delete.
The maximum date of the messages to delete .
revoke
Pass true to delete chat messages for all users; private chats only.
Pass true to delete chat messages for all users ; private chats only .