GetTopChats
public struct GetTopChats : Codable, Equatable, TDFunction
Returns a list of frequently used chats. Supported only if the chat info database is enabled
-
Undocumented
Declaration
Swift
public typealias Result = Chats -
Category of chats to be returned
Declaration
Swift
public let category: TopChatCategory -
The maximum number of chats to be returned; up to 30
Declaration
Swift
public let limit: Int32 -
Returns a list of frequently used chats. Supported only if the chat info database is enabled
Declaration
Swift
public init(category: TopChatCategory, limit: Int32)Parameters
categoryCategory of chats to be returned
limitThe maximum number of chats to be returned; up to 30
View on GitHub
Install in Dash
GetTopChats Structure Reference