TDLib v0.0.2 TDLib.Object.InputMessageDocument View Source

A document message (general file).

NameTypeDescription
documentInputFileDocument to be sent.
thumbnailinputThumbnailDocument thumbnail, if available.
captionformattedTextDocument caption; 0-200 characters.

More details on telegram’s documentation.