messages.getDefaultHistoryTTL
Gets the default value of the Time-To-Live setting, applied to all new chats.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Gets the default value of the Time-To-Live setting, applied to all new chats.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/messages.getDefaultHistoryTTL" \ -H "Content-Type: application/json" \ -d '{ "params": {} }'{ "result": { "_": "defaultHistoryTTL", "period": 0 }}getCustomEmojiDocuments
Fetch [custom emoji stickers »](https://core.telegram.org/api/custom-emoji). Returns a list of `RawDocument` with the animated custom emoji in TGS format, and a `RawDocumentAttributeCustomEmoji` attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.
getDefaultTagReactions
Fetch a default recommended list of [saved message tag reactions](https://core.telegram.org/api/saved-messages#tags).