MessageActionSuggestProfilePhoto

class pyrogram.raw.types.MessageActionSuggestProfilePhoto

A new profile picture was suggested using photos.uploadContactProfilePhoto.

Constructor of MessageAction.

Details:
  • Layer: 223

  • ID: 57DE635E

Parameters:

photo (Photo) – The photo that the user suggested we set as profile picture.

TL Schema

messageActionSuggestProfilePhoto#57de635e
photo:Photo

= MessageAction

Parameter Tree

MessageActionSuggestProfilePhoto
└── photoPhoto
├── PhotoEmpty
│ └── idlong
└── Photo
├── has_stickerstrue (optional)
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── sizesVector < PhotoSize >
│ ├── PhotoSizeEmpty
│ │ └── typestring
│ ├── PhotoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizeint
│ ├── PhotoCachedSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── bytesbytes
│ ├── PhotoStrippedSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── PhotoSizeProgressive
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizesVector < int >
│ └── PhotoPathSize
│ ├── typestring
│ └── bytesbytes
├── video_sizesVector < VideoSize > (optional)
│ ├── VideoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ ├── sizeint
│ │ └── video_start_tsdouble (optional)
│ ├── VideoSizeEmojiMarkup
│ │ ├── emoji_idlong
│ │ └── background_colorsVector < int >
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ ├── sticker_idlong
│ └── background_colorsVector < int >
└── dc_idint

Example

MessageActionSuggestProfilePhoto(
    photo=PhotoEmpty(id=0),
)