MetaPlatformSDK_Challenge

Inherits: RefCounted

Represents a challenge.

Description

Represents a challenge.

Properties

ChallengeCreationType

creation_type

0

String

description

""

int

end_date

0

int

id

0

MetaPlatformSDK_UserArray

invited_users

MetaPlatformSDK_Leaderboard

leaderboard

MetaPlatformSDK_UserArray

participants

int

start_date

0

String

title

""

ChallengeVisibility

visibility

0


Property Descriptions

ChallengeCreationType creation_type = 0

Was this challenge created by a user or the app developer.


String description = ""

  • String get_description ( )

A displayable string of the challenge's description.


int end_date = 0

  • int get_end_date ( )

The timestamp when this challenge ends. You can retrieve this field from the response of the challenge creation request.


int id = 0

  • int get_id ( )

The ID of the challenge. This is an unique string that the application will refer to this challenge in your app.


MetaPlatformSDK_UserArray invited_users

This may be null, which indicates that the value is not present or that the curent app or user is not permitted to access it.


MetaPlatformSDK_Leaderboard leaderboard

The leaderboard associated with this challenge.


MetaPlatformSDK_UserArray participants

This may be null, which indicates that the value is not present or that the curent app or user is not permitted to access it.


int start_date = 0

  • int get_start_date ( )

The timestamp when this challenge begins. You can retrieve this field from the response of the challenge creation request.


String title = ""

  • String get_title ( )

A displayable string of the challenge's title.


ChallengeVisibility visibility = 0

An enum that specifies who can see this challenge.