telegram.IdDocumentData

class telegram.IdDocumentData(document_no, expiry_date, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This object represents the data of an identity document.

document_no[source]

Document number.

Type

str

expiry_date[source]

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

Type

str