Class TdApi.ProfilePhoto

  • Enclosing class:
    TdApi

    public static class TdApi.ProfilePhoto
    extends TdApi.Object
    Describes a user profile photo.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      TdApi.File big
      A big (640x640) user profile photo.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      long id
      Photo identifier; 0 for an empty photo.
      TdApi.File small
      A small (160x160) user profile photo.
    • Field Detail

      • id

        public long id
        Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of userProfilePhotos.
      • small

        public TdApi.File small
        A small (160x160) user profile photo.
      • big

        public TdApi.File big
        A big (640x640) user profile photo.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProfilePhoto

        public ProfilePhoto()
        Default constructor.
      • ProfilePhoto

        public ProfilePhoto​(long id,
                            TdApi.File small,
                            TdApi.File big)
        Constructor for initialization of all fields.
        Parameters:
        id - Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of userProfilePhotos.
        small - A small (160x160) user profile photo.
        big - A big (640x640) user profile photo.