Class: WhopSDK::Models::NotificationCreateParams::Body::SendNotificationV2InputWithExperienceID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::NotificationCreateParams::Body::SendNotificationV2InputWithExperienceID
- Defined in:
- lib/whop_sdk/models/notification_create_params.rb
Instance Attribute Summary collapse
-
#content ⇒ String
The main body text of the notification displayed to the user.
-
#experience_id ⇒ String
The unique identifier of the experience to target.
-
#icon_user_id ⇒ String?
The unique identifier of a user whose profile picture will be used as the notification icon.
-
#rest_path ⇒ String?
A path segment appended to the generated deep link that opens your app.
-
#subtitle ⇒ String?
An optional secondary line of text displayed below the title in the notification.
-
#title ⇒ String
The headline text of the notification, displayed prominently to the user.
-
#user_ids ⇒ Array<String>?
An optional list of user IDs to narrow the audience.
Instance Method Summary collapse
-
#initialize(content:, experience_id:, title:, icon_user_id: nil, rest_path: nil, subtitle: nil, user_ids: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SendNotificationV2InputWithExperienceID for more details.
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(content:, experience_id:, title:, icon_user_id: nil, rest_path: nil, subtitle: nil, user_ids: nil) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::NotificationCreateParams::Body::SendNotificationV2InputWithExperienceID for more details.
Autogenerated input type of SendNotificationV2
|
|
# File 'lib/whop_sdk/models/notification_create_params.rb', line 157
|
Instance Attribute Details
#content ⇒ String
The main body text of the notification displayed to the user.
110 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 110 required :content, String |
#experience_id ⇒ String
The unique identifier of the experience to target. All users with access to this experience will receive the notification. Clicking the notification opens the experience view.
118 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 118 required :experience_id, String |
#icon_user_id ⇒ String?
The unique identifier of a user whose profile picture will be used as the notification icon. Defaults to the experience or company avatar when not provided.
132 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 132 optional :icon_user_id, String, nil?: true |
#rest_path ⇒ String?
A path segment appended to the generated deep link that opens your app. Use
- restPath
-
in your app path configuration to read this parameter. For example,
‘/settings/billing’.
140 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 140 optional :rest_path, String, nil?: true |
#subtitle ⇒ String?
An optional secondary line of text displayed below the title in the notification.
147 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 147 optional :subtitle, String, nil?: true |
#title ⇒ String
The headline text of the notification, displayed prominently to the user.
124 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 124 required :title, String |
#user_ids ⇒ Array<String>?
An optional list of user IDs to narrow the audience. When provided, only these users receive the notification, provided they are in the targeted experience or company.
155 |
# File 'lib/whop_sdk/models/notification_create_params.rb', line 155 optional :user_ids, WhopSDK::Internal::Type::ArrayOf[String], nil?: true |