Class TdApi.InputMessageDocument

    • Constructor Detail

      • InputMessageDocument

        public InputMessageDocument()
        Default constructor.
      • InputMessageDocument

        public InputMessageDocument​(TdApi.InputFile document,
                                    TdApi.InputThumbnail thumbnail,
                                    TdApi.FormattedText caption)
        Constructor for initialization of all fields.
        Parameters:
        document - Document to be sent.
        thumbnail - Document thumbnail, if available.
        caption - Document caption; 0-200 characters.