Class: Telnyx::Models::RcsSuggestion

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs_suggestion.rb

Defined Under Namespace

Classes: Action, Reply

Instance Attribute Summary collapse

Instance Method Summary collapse

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(latitude:, longitude:) ⇒ Object

Parameters:

  • latitude (Float)

    The latitude in degrees. It must be in the range [-90.0, +90.0].

  • longitude (Float)

    The longitude in degrees. It must be in the range [-180.0, +180.0].



# File 'lib/telnyx/models/rcs_suggestion.rb', line 17

Instance Attribute Details

#actionTelnyx::Models::RcsSuggestion::Action?

When tapped, initiates the corresponding native action on the device.



10
# File 'lib/telnyx/models/rcs_suggestion.rb', line 10

optional :action, -> { Telnyx::RcsSuggestion::Action }

#replyTelnyx::Models::RcsSuggestion::Reply?



15
# File 'lib/telnyx/models/rcs_suggestion.rb', line 15

optional :reply, -> { Telnyx::RcsSuggestion::Reply }