messages.clearAllDrafts
Clear all drafts.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Clear all drafts.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/messages.clearAllDrafts" \ -H "Content-Type: application/json" \ -d '{ "params": {} }'{ "result": true}checkUrlAuthMatchCode
Validate the match code selected by the user against the code shown on the login page, as part of the [OAuth authorization flow »](https://core.telegram.org/api/url-authorization#oauth-authorization). Only usable when both match_codes and match_codes_first are set in the `RawUrlAuthResultRequest` returned by `messages.RawRequestUrlAuthRequest`. If true is returned, proceed with the login flow and pass the verified code to `messages.RawAcceptUrlAuthRequest`.match_code.
clearRecentReactions
Clear recently used [message reactions](https://core.telegram.org/api/reactions)