Class: Qismo::WebhookRequests::OnMessageForBotSent::From
- Inherits:
-
Object
- Object
- Dry::Struct
- Object
- Qismo::WebhookRequests::OnMessageForBotSent::From
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
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
|
#id ⇒ 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
|
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
|