lib/tdlib/client_methods.rb
def toggle_chat_is_marked_as_unread(chat_id:, is_marked_as_unread:)
    broadcast('@type'               => 'toggleChatIsMarkedAsUnread',
              'chat_id'             => chat_id,
              'is_marked_as_unread' => is_marked_as_unread)
  end
# Changes the marked as unread state of a chat.
#
# @param chat_id [Integer] Chat identifier.
# @param is_marked_as_unread [Boolean] New value of is_marked_as_unread.
# @return [TD::Types::Ok]
Changes the marked as unread state of a chat.
Changes the marked as unread state of a chat .
def toggle_chat_is_marked_as_unread(chat_id:, is_marked_as_unread:)
    broadcast('@type'               => 'toggleChatIsMarkedAsUnread',
              'chat_id'             => chat_id,
              'is_marked_as_unread' => is_marked_as_unread)
  end
def toggle_chat_is_marked_as_unread ( chat_id : , is_marked_as_unread : ) broadcast ( '@type' => 'toggleChatIsMarkedAsUnread' , 'chat_id' => chat_id , 'is_marked_as_unread' => is_marked_as_unread ) end
Changes the marked as unread state of a chat.
Changes the marked as unread state of a chat .
None
TD::Types::Ok
chat_id
None
is_marked_as_unread
New value of is_marked_as_unread.
New value of is_marked_as_unread .