Module: Knockapi::Models::Recipients::RecipientsChannelData::Data

Extended by:
Internal::Type::Union
Defined in:
lib/knockapi/models/recipients/channel_data.rb

Overview

Channel data for a given channel type.

See Also:

Defined Under Namespace

Classes: AwssnsPushChannelDataFull, PushChannelDataFull

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(token:, locale: nil, timezone: nil) ⇒ Object

Some parameter documentations has been truncated, see Knockapi::Models::Recipients::RecipientsChannelData::Data::PushChannelDataFull::Device for more details.

Parameters:

  • token (String)

    The device token to send the push notification to.

  • locale (String, nil) (defaults to: nil)

    The locale of the object. Used for [message localization](/concepts/translations

  • timezone (String, nil) (defaults to: nil)

    The timezone of the object. Must be a valid [tz database time zone string](https



# File 'lib/knockapi/models/recipients/channel_data.rb', line 115