haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ProfilePhoto

Documentation

data ProfilePhoto Source #

Constructors

ProfilePhoto

Describes a user profile photo

Fields

  • _id :: Maybe Int

    Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos

  • small :: Maybe File

    A small (160x160) user profile photo. The file can be downloaded only before the photo is changed

  • big :: Maybe File

    A big (640x640) user profile photo. The file can be downloaded only before the photo is changed

  • minithumbnail :: Maybe Minithumbnail

    User profile photo minithumbnail; may be null

  • has_animation :: Maybe Bool

    True, if the photo has animated variant

  • is_personal :: Maybe Bool

    True, if the photo is visible only for the current user