View Source Appwrite.Types.Target (appwrite v0.2.1)
Represents a messaging target owned by a user.
A target is a specific delivery endpoint — an email address, a phone number, or a push notification token — that can be subscribed to Appwrite Messaging topics.
Fields
id(String.t()): Target ID.created_at(String.t()): Target creation date in ISO 8601 format.updated_at(String.t()): Target update date in ISO 8601 format.name(String.t()): Target display name.user_id(String.t()): ID of the user who owns this target.provider_id(String.t() | nil): ID of the associated messaging provider, ornilif unset.provider_type(String.t()): Provider type. One of"email","sms", or"push".identifier(String.t()): Delivery identifier — the email address, phone number, or device token.