GoogleInternalCommunicationsInstantmessagingV1Id

GoogleApi.ContentWarehouse.V1.Model.GoogleInternalCommunicationsInstantmessagingV1Id


Table of Contents ▼

Jump to a specific part of the page:

Description

Id for message recipients, e.g. users, groups etc.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. app (type: String.t, default: nil)
    - app is the tachyon client application that generated or is to receive a message.
  2. countryCode (type: String.t, default: nil)
    - country_code is the E164_COUNTRY_CODE format country code for this id, used as a hint for its region. E.g, "+1" will be used for North America, "+86" will be used for China, etc. Should be filled only for RCS group id.
  3. id (type: String.t, default: nil)
    - id is a unique (for this type and app) identifier of a message source or recipient.
  4. locationHint (type: GoogleApi.ContentWarehouse.V1.Model.GoogleInternalCommunicationsInstantmessagingV1LocationHint, default: nil)
    - location_hint is used as a hint for the user's region.
  5. routingInfoToken (type: String.t, default: nil)
    - Raw byte array containing encoded routing information. Clients of Tachyon are expected to include the most recent routing_info_cookie that they have received from the server in the requests that they make. Its format is purposely opaque so that clients do not need to concern themselves with the content of this field. This field is expected to be used primarily by Tachygram clients for go/tachygram-groups to simplify the API contract for group operations while reducing the need for unnecessary lookups.
  6. type (type: String.t, default: nil)
    - type defines what the id field contains, e.g. phone number, Fi-number, Gaia ID etc.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleInternalCommunicationsInstantmessagingV1Id{
app: String.t() | nil,
countryCode: String.t() | nil,
id: String.t() | nil,
locationHint: GoogleApi.ContentWarehouse.V1.Model.GoogleInternalCommunicationsInstantmessagingV1LocationHint.t() | nil,
routingInfoToken: String.t() | nil,
type: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleInternalCommunicationsInstantmessagingV1Id