UserProfilePhoto

public struct UserProfilePhoto : Codable, Equatable, FunctionResult

Contains full information about a user profile photo

  • id

    Unique user profile photo identifier

    Declaration

    Swift

    public let id: TDInt64
  • Point in time (Unix timestamp) when the photo has been added

    Declaration

    Swift

    public let addedDate: Int32
  • Available variants of the user photo, in different sizes

    Declaration

    Swift

    public let sizes: [PhotoSize]
  • Contains full information about a user profile photo

    Declaration

    Swift

    public init(id: TDInt64, addedDate: Int32, sizes: [PhotoSize])

    Parameters

    id

    Unique user profile photo identifier

    addedDate

    Point in time (Unix timestamp) when the photo has been added

    sizes

    Available variants of the user photo, in different sizes