Plugins
Templates
Template Setup Guides

Telegram Login Plugin

Link to plugin page: https://zeroqode.com/plugin/telegram-login-1591688567409x470198354234493630

Introduction

The Telegram login widget is a simple way to authorize users on your website using Telegram.

Prerequisites:

To use the login plugin, you'll need a Telegram bot.

It strongly recommended that the profile picture of the bot you use for authorization corresponds with your website‘s logo, and that the bot’s name reflects that connection.

Visual Elements

The plugin comes with a visual element - Telegram Login

Plugin setup

  • Install plugin in your application in the

  • Place the visual element Telegram Login on page

  • Insert the bot name in the "Bot Name" field in the plugin element.

  • Choose the appropriate item proprieties.

  • You will find the registration button on your page

  • Users will see this message when they log into your website:

  • You must insert your phone number (By which you registered your Telegram account), then press “Confirm” in your Telegram application on the phone. After that click “Accept”.

  • You can get user info only after running “Get user's info” action. User's information (Last name, First name, User ID and photo).

Plugin Actions

Get User's Info - action used to retrieve user information .

Plugin States

First_name Last_name userID photo_url

The exposed states are type text which can used to retrieve user information.

Demo to preview the settings: