MadelineProtoDocs/docs/TD_docs/methods/getTopChats.md

755 B

title description image
getTopChats Returns a list of frequently used chats. Supported only if chat info database is enabled https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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 Description Required
category TopChatCategory Category of chats to return Yes
limit int Maximum number of chats to be returned, at most 30 Yes

Return type: Chats