chat_idinteger | string · requiredsend_file
Send a file to a chat. Args: chat_id: The chat ID or username. file_path: Absolute or relative path to the file under allowed roots. Pass a list of 2-10 paths to send them as one Telegram media group. caption: Optional caption for the file or media group.
Can change or delete data
Parameters
file_pathstring | array · requiredcaptionstring · default nullaccountstring · default null