post https://api.amio.io/v1/channels
Response Body Params
Parameter | Type | Description |
---|---|---|
id | string | Id of the channel. |
type | string | Channel type specifying the underlying platform: telegram . |
name | string | Name of the channel. |
mode | string | Mode of the channel. |
webhook | object | Webhook object specifies the entry point to which all events are delivered. It is null if there is no webhook set. See Webhooks for more details. |
webhook.id | string | Id of the webhook. |
webhook.url | string | Webhook url. |
webhook.secret | string | Secret token for securing received webhook calls, see Webhook Security for more details. |
webhook.ssl_verification | string | Specifies whether to verify SSL certificates or not. Setting this option to false is not recommended. |
telegram | object | Represents a Telegram Bot connected to the channel. |
telegram.name | string | Name of the Telegram Bot. |
telegram.username | string | Username of the Telegram Bot. |
telegram.access_token | string | Telegram Bot access token. |