telegram.ChatPhoto

class telegram.ChatPhoto(small_file_id, big_file_id, bot=None, **kwargs)

Bases: telegram.base.TelegramObject

This object represents a chat photo.

small_file_id

Unique file identifier of small (160x160) chat photo.

Type:str
big_file_id

Unique file identifier of big (640x640) chat photo.

Type:str
Parameters:
  • small_file_id (str) – Unique file identifier of small (160x160) chat photo. This file_id can be used only for photo download.
  • big_file_id (str) – Unique file identifier of big (640x640) chat photo. This file_id can be used only for photo download.
  • bot (telegram.Bot, optional) – The Bot to use for instance methods
  • **kwargs (dict) – Arbitrary keyword arguments.