InputChatPhoto

class pyrogram.raw.base.InputChatPhoto

Defines a new group profile photo.

Constructors:

This base type has 3 constructors available.

InputChatPhoto

Existing photo to be set as a chat profile photo.

InputChatPhotoEmpty

Empty constructor, remove group photo.

InputChatUploadedPhoto

New photo to be set as group profile photo.

TL Schema

inputChatPhoto#8953ad37
id:InputPhoto

= InputChatPhoto

Parameter Tree

InputChatPhoto
└── id → InputPhoto
├── InputPhotoEmpty
└── InputPhoto
├── id → long
├── access_hash → long
└── file_reference → bytes

Example

InputChatPhoto(
    id=InputPhotoEmpty(),
)