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

system_city

Kiev

City

Kyiv

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

phone

+380998887766

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

gender

Male

  • Facebook

  • Vkontakte

country

Ukraine
  • Instagram

system_country

Сountry

Ukraine

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

  • Instagram

system_continent

Continent

Europe

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

  • Instagram

system_timezone

Timezone

Europe/Kyiv

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

timezone

3
  • Instagram

system_gender

Gender

male/female

  • Facebook

  • Vkontakte

system_language

en

Language

Facebook

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

The system_city, system_country, system_continent, system_timezone variables are updated when the user subscribes to the bot using the widget.

The remaining variables receive their values ​​when the contact is created.

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

...

image-20240221-110826.pngImage Added