GetUserProfilePhotos

public struct GetUserProfilePhotos : Codable, Equatable, TDFunction

Returns the profile photos of a user. The result of this query may be outdated: some photos might have been deleted already

  • Undocumented

    Declaration

    Swift

    public typealias Result = UserProfilePhotos
  • User identifier

    Declaration

    Swift

    public let userId: Int32
  • The number of photos to skip; must be non-negative

    Declaration

    Swift

    public let offset: Int32
  • The maximum number of photos to be returned; up to 100

    Declaration

    Swift

    public let limit: Int32
  • Returns the profile photos of a user. The result of this query may be outdated: some photos might have been deleted already

    Declaration

    Swift

    public init(userId: Int32, offset: Int32, limit: Int32)

    Parameters

    userId

    User identifier

    offset

    The number of photos to skip; must be non-negative

    limit

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