sendDocument
SendDocument is a term used for a function or method in messaging and bot APIs that transmits a document file to a chat or user. It is commonly exposed in software development kits and bot frameworks to automate the delivery of files such as PDFs, images, spreadsheets, or other data payloads. The function typically accepts a destination identifier, a file reference, and optional metadata to control presentation and behavior.
In the context of the Telegram Bot API, sendDocument is a dedicated method used by bots to
Across other platforms, similar functionality appears under names such as file upload or documents.send, with variations
SendDocument is often paired with related media-sending methods (for example, SendPhoto or SendAudio) to support multiple