Class: Qismo::WebhookRequests::OnMessageForBotSent::Payload

Inherits:
Object
  • Object
show all
Defined in:
lib/qismo/webhook_requests/on_message_for_bot_sent.rb

Overview

Chatbot webhook payload object

Constant Summary

Constants included from Types

Types::Bool, Types::Hash, Types::Int, Types::String

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

from_array

Instance Attribute Details

#fromFrom (readonly)

Returns:



96
97
98
99
100
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 96

class Payload < Qismo::Object
  attribute? :from, From.optional
  attribute? :message, Message.optional
  attribute? :room, Room.optional
end

#messageMessage (readonly)

Returns:



96
97
98
99
100
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 96

class Payload < Qismo::Object
  attribute? :from, From.optional
  attribute? :message, Message.optional
  attribute? :room, Room.optional
end

#roomRoom (readonly)

Returns:



96
97
98
99
100
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 96

class Payload < Qismo::Object
  attribute? :from, From.optional
  attribute? :message, Message.optional
  attribute? :room, Room.optional
end

#typeString (readonly)

Returns:



96
97
98
99
100
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 96

class Payload < Qismo::Object
  attribute? :from, From.optional
  attribute? :message, Message.optional
  attribute? :room, Room.optional
end