telegram.IdDocumentData

class telegram.IdDocumentData(document_no, expiry_date, bot=None, **kwargs)

Bases: telegram.base.TelegramObject

This object represents the data of an identity document.

document_no

str – Document number.

expiry_date

str – Optional. Date of expiry, in DD.MM.YYYY format.