EditChatPhoto

class pyrogram.raw.functions.messages.EditChatPhoto

Changes chat photo and sends a service message on it.

Details
  • Layer: 126

  • ID: 0xca4c79d8

Parameters
  • chat_id (int 32-bit) – Chat ID.

  • photo (InputChatPhoto) – Photo to be set.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.