Class: Qismo::WebhookRequests::OnMessageForBotSent::Payload
- Inherits:
-
Object
- Object
- Dry::Struct
- Object
- Qismo::WebhookRequests::OnMessageForBotSent::Payload
- 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
- #from ⇒ From readonly
- #message ⇒ Message readonly
- #room ⇒ Room readonly
- #type ⇒ String readonly
Method Summary
Methods inherited from Object
Instance Attribute Details
#from ⇒ From (readonly)
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 |
#message ⇒ Message (readonly)
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 |