latestOpenAPI 3.1.02026-08-18893023.3 MB

c78a716de420

Conversation

Get Telegram Bot channel information

Returns the information for a Telegram Bot channel linked to a Conversation API App.
get/v1/projects/{projectId}/conversation/apps/{conversationAppId}/telegram

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

conversationAppIdstring required

The unique ID of the app. You can find this on the <a href="https://dashboard.sinch.com/convapi/apps">Sinch Dashboard</a>.

Response

Telegram Bot information.

status'ACTIVE' | 'ERROR' | 'FAILING' | 'PENDING' | 'UNRECOGNIZED' required

Channel integration status.

statusDescriptionstring

Channel integration description if status is ERROR or FAILED.

namestring

Name of the bot.

usernamestring

Username of the bot.

canJoinGroupsboolean

If the bot can be invited to groups.

canReadAllGroupMessagesboolean

If <a href="https://core.telegram.org/bots#privacy-mode">privacy mode</a> is disabled for the bot.

supportsInlineQueriesboolean

If the bot supports inline queries.