GetChats
public struct GetChats : Codable, Equatable, TDFunction
Returns an ordered list of chats in a chat list. Chats are sorted by the pair (order, chat_id) in decreasing order. (For example, to get a list of chats from the beginning, the offset_order should be equal to a biggest signed 64-bit number 9223372036854775807 == 2^63 - 1). -For optimal performance the number of returned chats is chosen by the library
-
Undocumented
Declaration
Swift
public typealias Result = Chats
-
The chat list in which to return chats
Declaration
Swift
public let chatList: ChatList
-
Chat order to return chats from
Declaration
Swift
public let offsetOrder: TDInt64
-
Chat identifier to return chats from
Declaration
Swift
public let offsetChatId: Int53
-
The maximum number of chats to be returned. It is possible that fewer chats than the limit are returned even if the end of the list is not reached
Declaration
Swift
public let limit: Int32
-
Returns an ordered list of chats in a chat list. Chats are sorted by the pair (order, chat_id) in decreasing order. (For example, to get a list of chats from the beginning, the offset_order should be equal to a biggest signed 64-bit number 9223372036854775807 == 2^63 - 1). -For optimal performance the number of returned chats is chosen by the library
Declaration
Parameters
chatList
The chat list in which to return chats
offsetOrder
Chat order to return chats from
offsetChatId
Chat identifier to return chats from
limit
The maximum number of chats to be returned. It is possible that fewer chats than the limit are returned even if the end of the list is not reached