Class TdApi.MessageDocument

  • Enclosing class:
    TdApi

    public static class TdApi.MessageDocument
    extends TdApi.MessageContent
    A document message (general file).
    • Constructor Detail

      • MessageDocument

        public MessageDocument()
        Default constructor.
      • MessageDocument

        public MessageDocument​(TdApi.Document document,
                               TdApi.FormattedText caption)
        Constructor for initialization of all fields.
        Parameters:
        document - Message content.
        caption - Document caption.