Class: WhopSDK::Models::ChatMessageCreatedWebhookEvent::Data::Channel
- 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
Modules: Type
Instance Attribute 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(id:, type:, experience_id: nil) ⇒ Object
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 131
|
Instance Attribute Details
#experience_id ⇒ String?
129
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 129
optional :experience_id, String, nil?: true
|
#id ⇒ String
119
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 119
required :id, String
|
124
|
# File 'lib/whop_sdk/models/chat_message_created_webhook_event.rb', line 124
required :type, enum: -> { WhopSDK::ChatMessageCreatedWebhookEvent::Data::Channel::Type }
|
Instance Method Details
#to_hash ⇒ {
128
|
# File 'sig/whop_sdk/models/chat_message_created_webhook_event.rbs', line 128
def to_hash: -> {
|