Module: Zavudev::Models::InvitationCreateParams::ConnectionType

Extended by:
Internal::Type::Enum
Defined in:
lib/zavudev/models/invitation_create_params.rb,
sig/zavudev/models/invitation_create_params.rbs

Overview

Which Meta channel the client connects, and how.

  • whatsapp_waba (default): Meta's embedded signup links an official WhatsApp Business Account. Accepts phoneNumberId and allowedPhoneCountries.
  • messenger: the client authorizes with Facebook and picks a Facebook Page they administer. The Page's Messenger inbox — including Marketplace chats — is routed to Zavu. They must be an admin of at least one Page. A Page can only be connected to one Zavu project at a time: if the client picks a Page that another project already connected, the newer connection wins and the older one is disconnected.

One invitation connects one channel. To onboard a client on several channels, create one invitation per channel; each completes into its own sender.

Constant Summary collapse

WHATSAPP_WABA =

Returns:

  • (:whatsapp_waba)
:whatsapp_waba
MESSENGER =

Returns:

  • (:messenger)
:messenger

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/zavudev/models/invitation_create_params.rb', line 111

Instance Method Details

#self?.values::Array[Zavudev::Models::InvitationCreateParams::connection_type]

Returns:

  • (::Array[Zavudev::Models::InvitationCreateParams::connection_type])


79
# File 'sig/zavudev/models/invitation_create_params.rbs', line 79

def self?.values: -> ::Array[Zavudev::Models::InvitationCreateParams::connection_type]