View Source ExTDLib.Method.GetChats (ExTDLib v0.0.4)

Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats and updates processing instead to maintain chat lists in a consistent state. Returns object_ptr<Chats>.

NameTypeDescription
chat_listChatListThe chat list in which to return chats; pass null to get chats from the main chat list.
limitnumberThe maximum number of chats to be returned.

More details on telegram's documentation.