Class: Qismo::WebhookRequests::OnCustomChannelMessageSent::From

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

Overview

Custom channel webhook from 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

#avatar_urlString (readonly)

Returns:



18
19
20
21
22
23
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 18

class From < Qismo::Object
  attribute? :avatar_url, Types::String.optional
  attribute? :email, Types::String.optional
  attribute? :id, Types::Int.optional
  attribute? :name, Types::String.optional
end

#emailString (readonly)

Returns:



18
19
20
21
22
23
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 18

class From < Qismo::Object
  attribute? :avatar_url, Types::String.optional
  attribute? :email, Types::String.optional
  attribute? :id, Types::Int.optional
  attribute? :name, Types::String.optional
end

#idInteger (readonly)

Returns:

  • (Integer)


18
19
20
21
22
23
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 18

class From < Qismo::Object
  attribute? :avatar_url, Types::String.optional
  attribute? :email, Types::String.optional
  attribute? :id, Types::Int.optional
  attribute? :name, Types::String.optional
end

#nameString (readonly)

Returns:



18
19
20
21
22
23
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 18

class From < Qismo::Object
  attribute? :avatar_url, Types::String.optional
  attribute? :email, Types::String.optional
  attribute? :id, Types::Int.optional
  attribute? :name, Types::String.optional
end