Telegram APIMessages
messages.clickSponsoredMessage
Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».
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.
params*
Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/messages.clickSponsoredMessage" \ -H "Content-Type: application/json" \ -d '{ "params": { "randomId": "string" } }'{ "result": true}clearRecentStickers
Clear recent stickers
composeMessageWithAI
Invokes telegram's AI Editor that can translate, transform, fixup and/or emojify your message in a number of different ways, privately powered by [Cocoon](https://cocoon.org/), see [here »](https://core.telegram.org/api/ai#compose-messages) for more info! All of the modes specified below can be combined.