Kogno
  • Introduction
  • Getting Started
    • Configuration
    • Starting the Server
    • Messenger Configuration
    • Telegram Configuration
    • WhatsApp Configuration
    • NLP Configuration
  • Conversation Class
  • Contexts
    • Blocks
      • before_anything
      • postback
      • deep_link
      • command
      • any_attachment
      • regular_expression
      • keyword
      • any_number
      • any_text
      • intent
      • entity
      • membership
      • recurring_notification
      • everything_else
      • after_all
    • Sub Contexts
    • Routing
    • Sequences
    • Conversational Forms
  • Replies / Notifications
    • text
    • button
    • quick_reply
    • raw
    • list
    • carousel
    • url
    • typing
    • image
    • video
    • html
    • markdown
    • contact
    • location
    • recurring_notification_request
    • messenger_generic_template
    • whatsapp_template
  • Templates
  • Models
    • User model
  • Scheduled Messages
  • Telegram Inline Query
  • Command Line
  • Global Methods
  • Internationalization
Powered by GitBook
On this page
  • text(text=String, params=Hash)
  • Platforms
  • Usage
  • Reply
  • On-Demand
  • Params
  • Check extra params in each platform

Was this helpful?

  1. Replies / Notifications

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

PreviousReplies / NotificationsNextbutton

Last updated 2 years ago

Was this helpful?

WhatsApp
Messenger
Telegram