CRMchat APIBeta

updateChannelViewForumAsMessages

Users may also choose to display messages from all topics as if they were sent to a normal group, using a "View as messages" setting in the local client. This setting only affects the current account, and is synced to other logged in sessions using the channels.RawToggleViewForumAsMessagesRequest method; invoking this method will update the value of the view_forum_as_messages flag of RawChannelFull or RawDialog and emit an RawUpdateChannelViewForumAsMessages.

Header Parameters

X-Webhook-Signature*string

HMAC-SHA256 hex digest of the raw request body

X-Webhook-Event*string

The delivered Telegram event type

X-Webhook-Id*string

Unique event ID for idempotency

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

eventId*string

Unique event identifier

eventType*"telegram.updateChannelViewForumAsMessages"

Value in

  • "telegram.updateChannelViewForumAsMessages"
eventDate*string
Formatdate-time
workspaceId*string
data*

Response Body

Example Requests

POST/telegram.updateChannelViewForumAsMessages