Class: BotMob::Networks::Roaming::InboundMessage

Inherits:
InboundMessage show all
Defined in:
lib/bot_mob/networks/roaming/inbound_message.rb

Overview

# BotMob::InboundMessage

Structured data provided to a bot without a connected network

Instance Attribute Summary

Attributes inherited from InboundMessage

#body, #network, #user_name

Instance Method Summary collapse

Methods inherited from InboundMessage

default_network, default_user_name, #human?, message_attributes, message_attrs, #params, prepare

Constructor Details

#initialize(**options) ⇒ InboundMessage

Returns a new instance of InboundMessage.



8
9
10
11
# File 'lib/bot_mob/networks/roaming/inbound_message.rb', line 8

def initialize(**options)
  @network = :roaming
  super
end