Command Line
New Project
Create a new project in the provided directory.
Create table
Creates the database tables needed for the framework.
This command must be executed after configuring the database in config/database.yml
.
Processes
Kogno runs a total of 3 processes, which can be started all together or separately:
http
Web server that receives the events and messages from the configured platforms, in addition to the requests in the web/
folder.
sequences
scheduled_messages
Manage All Together
Start all in Background
Other options are: kogno stop
, kogno restart
and kogno status
HTTP Server
Run in Background
Other options are: kogno http stop
, kogno http restart
and kogno http status
Run in Foreground
Sequences
Run in Background
Other options are: kogno sequences stop
, kogno sequences restart
and kogno sequences status
Run in Foreground
Scheduled Messages Daemon
Run in Background
Other options are: kogno scheduled_messages stop
, kogno scheduled_messages restart
and kogno scheduled_messages status
.
Run in Foreground
Console
The console
command starts the console that lets you interact with your Kogno application from the command line.
You can also use the alias "c" to load the console: kogno c
.
Usage example
Runner
runner
runs Ruby code in terminal.
Example
Messenger
Persistent Menu
To Remove Persistent Menu
Get Started Button
To Deactivate
Setting the Greeting Text
To Deactivate
Whitelisted Domains
Ice Breakers
To Deactivate
Telegram
Webhook
Set and activate a url and receive incoming updates via a webhook.
To Stop Receiving Webhooks
Commands
Set/Update all Scopes
Available Scopes
default
, all_private_chats
, all_group_chats
, all_chat_administrators
and all
To Deactivate Commands
Last updated
Was this helpful?