Class: Qismo::WebhookRequests::OnCustomChannelMessageSent::Payload

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

Overview

Custom channel 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:



98
99
100
101
102
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 98

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

#messageMessage (readonly)

Returns:



98
99
100
101
102
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 98

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

#roomRoom (readonly)

Returns:



98
99
100
101
102
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 98

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

#typeString (readonly)

Returns:



98
99
100
101
102
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 98

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