Skip to main content

Parameters

string
The text content to send. Omit or leave empty only when media_files is provided.
string[]
default:[]
Absolute file paths to send as media attachments. Optional; most messages are text-only.
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.