Telegram APIAccount
account.getGlobalPrivacySettings
Get global privacy settings
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*
Get global privacy settings
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/account.getGlobalPrivacySettings" \ -H "Content-Type: application/json" \ -d '{ "params": {} }'{ "result": { "_": "globalPrivacySettings", "archiveAndMuteNewNoncontactPeers": true, "keepArchivedUnmuted": true, "keepArchivedFolders": true, "hideReadMarks": true, "newNoncontactPeersRequirePremium": true, "displayGiftsButton": true, "noncontactPeersPaidStars": "string", "disallowedGifts": { "_": "disallowedGiftsSettings", "disallowUnlimitedStargifts": true, "disallowLimitedStargifts": true, "disallowUniqueStargifts": true, "disallowPremiumGifts": true, "disallowStargiftsFromChannels": true } }}getDefaultProfilePhotoEmojis
Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/custom-emoji) that can be [used as profile picture](https://core.telegram.org/api/files#sticker-profile-pictures)
getMultiWallPapers
Get info about multiple [wallpapers](https://core.telegram.org/api/wallpapers)