\ SocialiteProviders\ Telegram\ TelegramExtendSocialite::class. \ SocialiteProviders\ Manager\ SocialiteWasCalled::class => [ See the Base Installation Guide for detailed instructions. 'redirect' => env( 'TELEGRAM_REDIRECT_URI'),Ĭonfigure the package's listener to listen for SocialiteWasCalled events.Īdd the event to your listen array in app/Providers/EventServiceProvider. 'client_secret' => env( 'TELEGRAM_TOKEN'), For example, Write to us on Telegram for communication via Telegram, etc. 'bot' => env( 'TELEGRAM_BOT_NAME'), // The bot's username 'client_id' => null, In your ChatApp Dashboard, select Widgets in the left side menu, and then. Step 1: Connect the website chat widget as a respond.io channel. A popup named Connecting Website Chat will appear. Then, click on Add Channel and choose Website Chat. From the Settings Module, navigate to Channels. The provider will also ask permission for the bot to write to the user. Add Telegram to Website Step 1: Connect Website Chat Widget. The bot username is required, client_id must be null. Then, you need to add your bot's configuration to config/services.php. Configurationįirst of all, you must create a bot by contacting ( )ĭon't forget to set your website URL using /setdomain Please see the Base Installation Guide, then follow the provider specific instructions below. README composer require socialiteproviders/telegram Installation
0 Comments
Leave a Reply. |