Channels

post/api/v1/channels/telegram/connect

Request body

botTokenstring required

Response

Connected telegram channel

idstring required
botIdstring required
channelType'slack' | 'discord' | 'feishu' | 'dingtalk' | 'wecom' | 'wechat' | 'telegram' | 'whatsapp' | 'qqbot' required
accountIdstring required
status'pending' | 'connected' | 'disconnected' | 'error' required
teamNamestring nullable required
appIdstring nullable
botUserIdstring nullable
createdAtstring required
updatedAtstring required

Changes

Changed in 4 of the 31 revisions of this API.136

    • added the non-success response with the status 422

      response-non-success-status-added

    • added the non-success response with the status 502

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the non-success response with the status 504

      response-non-success-status-added

    • removed the non-success response with the status 409

      response-non-success-status-removed

    • added the new dingtalk enum value to the channelType response property for the response status 200

      response-property-enum-value-added

    • added the new qqbot enum value to the channelType response property for the response status 200

      response-property-enum-value-added

    • added the new wecom enum value to the channelType response property for the response status 200

      response-property-enum-value-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation