Kogno
Search
K

text

Simple text message.

text(text=String, params=Hash)

Platforms

Platform
Supported
Messenger
WhatsApp
Telegram

Usage

Reply

@reply.text "Hello World!"

On-Demand

user.notification.text "Hello World"
user.notification.send()

Params

Each platform has different parameters, in Kogno we have unified preview_url available for Telegram and WhatsApp.
@reply.text "Kogno docs are awesome http://docs.kogno.io", {preview_url: true}

Check extra params in each platform