Class: Telnyx::Models::RcsSuggestion::Action::ViewLocationAction

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

Overview

Defined Under Namespace

Classes: LatLong

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(label: nil, lat_long: nil, query: nil) ⇒ Object

Opens the user’s default map app and selects the agent-specified location.

Parameters:



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

Instance Attribute Details

#labelString?

The label of the pin dropped

Returns:

  • (String, nil)


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

optional :label, String

#lat_longTelnyx::Models::RcsSuggestion::Action::ViewLocationAction::LatLong?



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

optional :lat_long, -> { Telnyx::RcsSuggestion::Action::ViewLocationAction::LatLong }

#queryString?

query string (Android only)

Returns:

  • (String, nil)


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

optional :query, String