Telegram Variables

The following variables are automatically added to your conversation when your chatbot is conversating on this channel:

Variable

Description

bot_channel

Set to "TelegramChannel"

profile_pic

The full url of the user profile picture

is_group_chat

TRUE if the current conversation is happening in a group, empty otherwise.

telegram_new_users_count

The number of new users joined during a group conversation. 0 if no users has joined

telegram_user_leaving

The username of the last user leaving the group

last_user

The user name of the last user that has typed something in the current group conversation

last_user_id

The user id of the last user that has typed something in the current group conversation

telegram_new_user[INDEX]

The indexed user name of each user that has joined the chat group

telegram_new_user[INDEX]_type

The indexed user type of each user that has joined the chat group. Can be either USER for a human user or BOT if a bot has joined the conversation.

referral

The referral code that is passed through the telegram bot link

keyboard_is_persisting

Indicates if the Telegram custom keyboard is persisting between messages or not. true if is persisting otherwise false or empty.

The following article fully details how to manage your Telegram group using Xenioo:

Last updated