Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Each messenger has its own set of variables that it can pass about users interacting with the bot. Below is this list of variables and messengers that transmit this information:

Name

Example

Messengers

Source

system_city

Kiev

  • Vkontakte

phone

+380998887766

  • Vkontakte: if a phone number is specified and it is not hidden

gender

Male

  • Facebook

  • Vkontakte

country

Ukraine

  • Viber

  • Vkontakte

timezone

3

  • Facebook

  • Vkontakte

language

en

  • Facebook

  • Telegram

  • Viber

City

Kyiv

Filled and updated automatically when moving from the widget

system_country

Сountry

Ukraine

Filled and updated automatically when moving from the widget

system_continent

Continent

Europe

Filled and updated automatically when moving from the widget

system_timezone

Timezone

Europe/Kyiv

Filled and updated automatically when moving from the widget

Or using the following messengers:

  • Facebook

system_os

Operating system

Max OS X

Filled and updated automatically when moving from the widget

system_browser

Browser

Safari

Filled and updated automatically when moving from the widget

system_device_type

User device

Iphone11

Filled and updated automatically when moving from the widget

system_gender

Gender

male/female

  • Facebook

  • Vkontakte

system_language

Language

uk

  • Telegram

  • Facebook

  • Viber

system_date_of_birth

Date of birth

01.01.1990

  • Vkontakte

system_telegram_username

Username

smartsender

  • Telegram

system_instagram_username

Username

smartsender_official

  • Instagram

...

system_device_mcc

Mobile country code

65535

  • Viber

system_device_mnc

Mobile network code

255

  • Viber

You can view these variables in the Console in the contact card

...

image-20240221-110826.pngImage Added