Class: WhopSDK::Models::ChatChannelUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::ChatChannelUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/chat_channel_update_params.rb
Overview
Instance Attribute Summary collapse
-
#ban_media ⇒ Boolean?
Whether media uploads are banned in this chat.
-
#ban_urls ⇒ Boolean?
Whether URLs are banned in this chat.
-
#banned_words ⇒ Array<String>?
List of banned words for this chat.
-
#user_posts_cooldown_seconds ⇒ Integer?
The cooldown period in seconds between user posts.
-
#who_can_post ⇒ Symbol, ...
Who can post on a chat feed.
-
#who_can_react ⇒ Symbol, ...
Who can react on a chat feed.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(ban_media: nil, ban_urls: nil, banned_words: nil, user_posts_cooldown_seconds: nil, who_can_post: nil, who_can_react: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 46
|
Instance Attribute Details
#ban_media ⇒ Boolean?
Whether media uploads are banned in this chat
14 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 14 optional :ban_media, WhopSDK::Internal::Type::Boolean, nil?: true |
#ban_urls ⇒ Boolean?
Whether URLs are banned in this chat
20 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 20 optional :ban_urls, WhopSDK::Internal::Type::Boolean, nil?: true |
#banned_words ⇒ Array<String>?
List of banned words for this chat
26 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 26 optional :banned_words, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |
#user_posts_cooldown_seconds ⇒ Integer?
The cooldown period in seconds between user posts
32 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 32 optional :user_posts_cooldown_seconds, Integer, nil?: true |
#who_can_post ⇒ Symbol, ...
Who can post on a chat feed
38 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 38 optional :who_can_post, enum: -> { WhopSDK::WhoCanPost }, nil?: true |
#who_can_react ⇒ Symbol, ...
Who can react on a chat feed
44 |
# File 'lib/whop_sdk/models/chat_channel_update_params.rb', line 44 optional :who_can_react, enum: -> { WhopSDK::WhoCanReact }, nil?: true |