Class: Qismo::WebhookRequests::OnMessageForBotSent::From

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

Overview

Chatbot 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:



16
17
18
19
20
21
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 16

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:



16
17
18
19
20
21
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 16

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)


16
17
18
19
20
21
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 16

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:



16
17
18
19
20
21
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 16

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