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

City

Kyiv

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

  • Instagram

Filled and updated automatically when moving from the widget

system_country

Сountry

Ukraine

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

  • Instagram

    Filled and updated automatically when moving from the widget

    system_continent

    Continent

    Europe

    Filled and updated automatically when moving from the widget

    system_continenttimezone

    ContinentTimezone

    Europe

    Telegram

    /Kyiv

    Filled and updated automatically when moving from the widget

    Or using the following messengers:

    • Facebook

    • Viber

    • Vkontakte

    • Instagram

    system_os

    Operating system

    Max OS X

    Filled and updated automatically when moving from the widget

    system_timezonebrowser

    TimezoneBrowser

    Europe/Kyiv

  • Telegram

  • Facebook

  • Viber

  • Vkontakte

  • Instagram

    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

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

    ...

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

    ...