Class TdApi.IdentityDocument

  • Enclosing class:
    TdApi

    public static class TdApi.IdentityDocument
    extends TdApi.Object
    An identity document.
    • Field Detail

      • number

        public String number
        Document number; 1-24 characters.
      • expiryDate

        public TdApi.Date expiryDate
        Document expiry date; may be null if not applicable.
      • reverseSide

        public TdApi.DatedFile reverseSide
        Reverse side of the document; only for driver license and identity card; may be null.
      • selfie

        public TdApi.DatedFile selfie
        Selfie with the document; may be null.
      • translation

        public TdApi.DatedFile[] translation
        List of files containing a certified English translation of the document.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IdentityDocument

        public IdentityDocument()
        An identity document.
      • IdentityDocument

        public IdentityDocument​(String number,
                                TdApi.Date expiryDate,
                                TdApi.DatedFile frontSide,
                                TdApi.DatedFile reverseSide,
                                TdApi.DatedFile selfie,
                                TdApi.DatedFile[] translation)
        An identity document.
        Parameters:
        number - Document number; 1-24 characters.
        expiryDate - Document expiry date; may be null if not applicable.
        frontSide - Front side of the document.
        reverseSide - Reverse side of the document; only for driver license and identity card; may be null.
        selfie - Selfie with the document; may be null.
        translation - List of files containing a certified English translation of the document.