Protected
constructorExposes User Data
Retrieve the Snapchatter's friends list in order to access details like display name, birthdate, or Bitmoji
Exposes User Data
Retrieve the Snapchatter's best friends in order to access details like display name, birthdate, or Bitmoji.
Exposes User Data
Retrieve a SnapchatUser representing the current user.
Exposes User Data
Retrieve a SnapchatUser object for MyAI which you can use to access the MyAI Bitmoji or other details.
Returns the name of this object's type.
Exposes User Data
Gets the list of friends in the current context, such as 1:1 chats, 1:many chats, and group chats.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Provides the user's current altitude as a localized string.
Provides the user's current altitude in meters.
Exposes User Data
Provides the user's birth date as a Date object.
Exposes User Data
Provides the user's birth date as localized string.
Exposes User Data
Provides the name of the city the user is currently located in.
Provides the user's display name.
Provides the user's current temperature in celsius.
Provides the user's current temperature in fahrenheit.
Provides the user's current temperature as a localized string.
Exposes User Data
Provides the user's username.
Provides the user's current weather condition.
Provides the user's current weather condition as a localized string.
Provides information about the user such as display name, birthday, and current weather. Accessible through
global.userContextSystem
.All callbacks will execute as soon as the requested information is available. In some rare cases, the requested information may be completely unavailable, and the callback will never occur.
Note that formatted or localized strings may appear differently to users depending on their region.
Example