2018-03-27 14:41:50 +02:00

678 B

title description
getTopChats Returns a list of frequently used chats. Supported only if chat info database is enabled

Method: getTopChats

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Returns a list of frequently used chats. Supported only if chat info database is enabled

Parameters:

Name Type Required Description
category TopChatCategory Yes Category of chats to return
limit int Yes Maximum number of chats to be returned, at most 30

Return type: Chats