К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-op-listpublicchannels.mdиндекс документации — /llms.txt

listPublicChannels

Обновлено

GET /api/v1/tools/public-channels

List and check the public channel of each messenger

Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

ПолеЗначение
security.0.hubApiKey[]
security.1.hubBearer[]
securitySchemes.hubApiKey.in"header"
securitySchemes.hubApiKey.name"X-Api-Key"
securitySchemes.hubApiKey.type"apiKey"
securitySchemes.hubBearer.scheme"bearer"
securitySchemes.hubBearer.type"http"
x-required-scopes["public-channel:read"]

Параметры запроса

ПолеЗначение
Параметры[]

Тело запроса

ПолеЗначение
Тело запросаnull

Ответы

ПолеЗначение
200.content.application/json.schemaPublicChannelList
200.description"The bound channels"

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"INVALID_API_KEY"
403.content.application/problem+json.schemaProblemDetails
403.description"INSUFFICIENT_SCOPE: public-channel:* (a member needs the settings permission)"
429.content.application/problem+json.schemaProblemDetails
429.description"RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE"

Дополнительные условия

ПолеЗначение
description"For each bound channel: whether the business bot reads it now (`ready`) and, when not, why (`reason`). A messenger with no bound channel is absent."
operationId"listPublicChannels"
summary"List and check the public channel of each messenger"
tags["public-channels"]