Skip to content

UserLocation

This docs was updated at: 2026-03-21

com.paragon.responses.spec.UserLocation  ยท  Class


The approximate location of the user.

Methods

UserLocation

public UserLocation(
      @Nullable String city,
      @Nullable String country,
      @Nullable String region,
      @Nullable String timezone)

Parameters

Name Description
city Free text input for the city of the user, e.g. San Francisco.
country The two-letter ISO country code of the user, e.g. US. See https://en.wikipedia.org/wiki/ISO_3166-1
region Free text input for the region of the user, e.g. California.
timezone The IANA timezone of the user, e.g. America/Los_Angeles. See https://timeapi.io/documentation/iana-timezones