peyk.platforms.bale.methods.set_chat_photo

async peyk.platforms.bale.methods.set_chat_photo(self, chat_id: int | str, photo: str | bytes | FilePayload) bool[source]

Updates chat photo through the Bale API.

Parameters:
  • chat_id – Identifier of the target chat.

  • photo – Photo input supplied to the operation.

Returns:

Result produced by the Bale operation.