Preparing search index...

    Class SnapchatUser

    Represents a Snapchat user in order to pass to other APIs or to retrieve certain details about the user like display name.

    Hierarchy (View Summary)

    Index

    Properties

    User's birth month and day. The month and day will start with the index of 1.

    Lens Scripting Version 252

    displayName: string

    Name a Snapchat user has chosen to be shown as. Note that not all users set their display name, so you should treat this value as such.

    Lens Scripting Version 252

    Information about friendship between this friend and the active user like start date and streak.

    Lens Scripting Version 252

    hasBitmoji: boolean

    Whether this user has a bitmoji that can be retrieved via BitmojiModule.

    userName: string

    Snapchat user's unique userName. Should not be relied on as a key because it can be changed.

    Lens Scripting Version 252

    zodiac: Zodiac

    This user's zodiac.

    Lens Scripting Version 252

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean