Skip to main content

Parameters

message
string
The text content to send. Omit or leave empty only when media_files is provided.
media_files
string[]
default:[]
Absolute file paths to send as media attachments. Optional; most messages are text-only.
recipient
string
Username or user ID of a specific connected Telegram account. Leave empty in the normal single-account case. There is no contact_name parameter.