GetGroupsInCommon

public struct GetGroupsInCommon : Codable, Equatable, TDFunction

Returns a list of common group chats with a given user. Chats are sorted by their type and creation date

  • Undocumented

    Declaration

    Swift

    public typealias Result = Chats
  • User identifier

    Declaration

    Swift

    public let userId: Int32
  • Chat identifier starting from which to return chats; use 0 for the first request

    Declaration

    Swift

    public let offsetChatId: Int53
  • The maximum number of chats to be returned; up to 100

    Declaration

    Swift

    public let limit: Int32
  • Returns a list of common group chats with a given user. Chats are sorted by their type and creation date

    Declaration

    Swift

    public init(userId: Int32, offsetChatId: Int53, limit: Int32)

    Parameters

    userId

    User identifier

    offsetChatId

    Chat identifier starting from which to return chats; use 0 for the first request

    limit

    The maximum number of chats to be returned; up to 100