Telegram APIChannels
channels.setBoostsToUnblockRestrictions
Admins with RawChatAdminRights may allow users that apply a certain number of booosts » to the group to bypass channels.RawToggleSlowModeRequest and other » supergroup restrictions, see here » for more info.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Workspace ID
accountId*string
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/channels.setBoostsToUnblockRestrictions" \ -H "Content-Type: application/json" \ -d '{ "params": { "channel": { "_": "inputChannelEmpty" }, "boosts": 0 } }'{ "result": { "_": "updatesTooLong" }}searchPosts
Globally search for posts from public [channels »](https://core.telegram.org/api/channel) (including those we aren't a member of) containing either a specific hashtag, or a full text query. Exactly one of query and hashtag must be set.
setDiscussionGroup
Associate a group to a channel as [discussion group](https://core.telegram.org/api/discussion) for that channel