Skip to content

User model

Field Type Description
_id string Database ID
name string User's name
email string Optional. User's email
facebookId string Optional. User's facebook ID
telegramId string Optional. User's Telegram ID
appleSubId string Optional. User's Apple ID
token int Optional. Access token used to authenticate requests
settings object Optional. User's settings
timezone int Optional. User's timezone UTC+{timezone}
telegramZen bool Optional. Whether Telegram Zen mode is on
telegramLanguage string Optional. Language selected in Telegram bot
subscriptionStatus string Optional. Status of subscription
subscriptionId string Optional. ID of stripe subscription
appleReceipt string Optional. Apple purchase receipt
googleReceipt string Optional. Google purchase receipt
createdOnApple bool Optional. Whether the account was created on Apple device