Class: WhopSDK::Models::ChatMessageCreatedWebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/whop_sdk/models/chat_message_created_webhook_event.rb,
sig/whop_sdk/models/chat_message_created_webhook_event.rbs
Overview
Defined Under Namespace
Classes: Audience, Channel
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(audience:, channel:, message:, reason:) ⇒ Object
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 77
|
Instance Attribute Details
59
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 59
required :audience, -> { WhopSDK::ChatMessageCreatedWebhookEvent::Data::Audience }
|
64
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 64
required :channel, -> { WhopSDK::ChatMessageCreatedWebhookEvent::Data::Channel }
|
A message sent within an experience chat, direct message, or group chat.
70
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 70
required :message, -> { WhopSDK::Message }
|
#reason ⇒ String
75
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 75
required :reason, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 109
|
Instance Method Details
#to_hash ⇒ {
68
|
# File 'sig/whop_sdk/models/chat_message_created_webhook_event.rbs', line 68
def to_hash: -> {
|