Class: Qismo::WebhookRequests::OnMessageForBotSent::Message
- Inherits:
-
Object
- Object
- Dry::Struct
- Object
- Qismo::WebhookRequests::OnMessageForBotSent::Message
show all
- Defined in:
- lib/qismo/webhook_requests/on_message_for_bot_sent.rb
Overview
Chatbot webhook message 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
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#created_at ⇒ String
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#id ⇒ Integer
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#payload ⇒ Hash
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#timestamp ⇒ String
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#unique_temp_id ⇒ String
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#unix_nano_timestamp ⇒ String
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|
#unix_timestamp ⇒ String
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/qismo/webhook_requests/on_message_for_bot_sent.rb', line 45
class Message < Qismo::Object
attribute? :comment_before_id, Types::Int.optional
attribute? :created_at, Types::String.optional
attribute? :id, Types::Int.optional
attribute? :payload, Types::Hash.optional
attribute? :text, Types::String.optional
attribute? :timestamp, Types::String.optional
attribute? :type, Types::String.optional
attribute? :unique_temp_id, Types::String.optional
attribute? :unix_nano_timestamp, Types::String.optional
attribute? :unix_timestamp, Types::String.optional
end
|