Class SendMessageParams.Message.Delay
-
- All Implemented Interfaces:
public final class SendMessageParams.Message.Delay
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.Message.Delay.BuilderA builder for Delay.
-
Method Summary
Modifier and Type Method Description final Optional<Long>duration()The duration of the delay in milliseconds. final Optional<String>timezone()IANA timezone identifier (e.g., "America/Los_Angeles", "UTC"). final Optional<String>until()ISO 8601 timestamp or opening_hours-like format. final JsonField<Long>_duration()Returns the raw JSON value of duration. final JsonField<String>_timezone()Returns the raw JSON value of timezone. final JsonField<String>_until()Returns the raw JSON value of until. final Map<String, JsonValue>_additionalProperties()final SendMessageParams.Message.Delay.BuildertoBuilder()final SendMessageParams.Message.Delayvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Message.Delay.Builderbuilder()Returns a mutable builder for constructing an instance of Delay. -
-
Method Detail
-
timezone
final Optional<String> timezone()
IANA timezone identifier (e.g., "America/Los_Angeles", "UTC"). Used when resolving opening hours expressions. Takes precedence over user profile timezone settings.
-
_duration
final JsonField<Long> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_timezone
final JsonField<String> _timezone()
Returns the raw JSON value of timezone.
Unlike timezone, this method doesn't throw if the JSON field has an unexpected type.
-
_until
final JsonField<String> _until()
Returns the raw JSON value of until.
Unlike until, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendMessageParams.Message.Delay.Builder toBuilder()
-
validate
final SendMessageParams.Message.Delay validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SendMessageParams.Message.Delay.Builder builder()
Returns a mutable builder for constructing an instance of Delay.
-
-
-
-