Class: Qismo::WebhookRequests::OnCustomChannelMessageSent::Message

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

Overview

Custom channel 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)


47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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)


47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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:



47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/qismo/webhook_requests/on_custom_channel_message_sent.rb', line 47

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