InputChatPhoto

class pyrogram.raw.types.InputChatPhoto

Existing photo to be set as a chat profile photo.

Constructor of InputChatPhoto.

Details:
  • Layer: 227

  • ID: 8953AD37

Parameters:

id (InputPhoto) – Existing 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(),
)