Sha256: 6130274166cf47f324c2d86c386649f267970e41645a681f61608269fd05f7cf
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
#Set your home URL, so Telegram callbacks work #For production, just use your URL (e.g. https://myapp.com) #You MUST NOT include a trailing slash and it MUST be https! #INVALID URLS: e.g. http://myapp.com or https://myapp.com/ TeleNotify::TelegramUser.configure_home_url("YOUR PRODUCTION URL") #For development, download ngrok from https://ngrok.com/. #Extract it and run "./ngrok http 3000" #Then copy the URL you get from the console window. #Remember to use the HTTPS URL! TeleNotify::TelegramUser.configure_dev_url("YOUR NGROK DEVELOPMENT URL") #Set your Telegram Bot API token here #Don't have your token yet? Create your bot using https://telegram.me/botfather TeleNotify::TelegramUser.configure_token("YOUR TOKEN")
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
TelegemBot-0.1.1 | lib/generators/tele_notify/migration/templates/active_record/tele_notify.rb |
tele_notify-0.1.1 | lib/generators/tele_notify/migration/templates/active_record/tele_notify.rb |