Class: Qismo::WebhookRequests::OnMessageForBotSent::Message

Inherits:
Object
  • Object
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

#comment_before_idInteger (readonly)

Returns:

  • (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

#created_atString (readonly)

Returns:



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

#idInteger (readonly)

Returns:

  • (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

#payloadHash (readonly)

Returns:



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

#textString (readonly)

Returns:



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

#timestampString (readonly)

Returns:



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

#typeString (readonly)

Returns:



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_idString (readonly)

Returns:



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_timestampString (readonly)

Returns:



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_timestampString (readonly)

Returns:



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