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

Document number.

Type

str

expiry_date

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

Type

str