lib/tdlib/client_methods.rb
def remove_top_chat(category:, chat_id:)
    broadcast('@type'    => 'removeTopChat',
              'category' => category,
              'chat_id'  => chat_id)
  end
# Removes a chat from the list of frequently used chats.
# Supported only if the chat info database is enabled.
#
# @param category [TD::Types::TopChatCategory] Category of frequently used chats.
# @param chat_id [Integer] Chat identifier.
# @return [TD::Types::Ok]
Removes a chat from the list of frequently used chats.
Supported only if the chat info database is enabled.
Removes a chat from the list of frequently used chats . Supported only if the chat info database is enabled .
def remove_top_chat(category:, chat_id:)
    broadcast('@type'    => 'removeTopChat',
              'category' => category,
              'chat_id'  => chat_id)
  end
def remove_top_chat ( category : , chat_id : ) broadcast ( '@type' => 'removeTopChat' , 'category' => category , 'chat_id' => chat_id ) end
Removes a chat from the list of frequently used chats.
Removes a chat from the list of frequently used chats .
None
TD::Types::Ok
category
Category of frequently used chats.
Category of frequently used chats .
chat_id
None