class TeakReward

A reward attached to a Teak campaign.

Methods

ToString

Returns a string that represents the current object.

override string ToString();

Return

A string that represents the current object.

Properties

Name Type Description Access

Status

The status of this TeakReward.

Get/Set

Reward

Dictionary<string, object>

The contents of the reward, if the status is GrantReward.

Get/Set

ScheduleName

string

The name of the schedule for the notification on the Teak Dashboard, or null if it was not a scheduled notification.

Get/Set

ScheduleId

ulong

The id of the schedule in the Teak CMS, or null if it was not a scheduled notification.

Get/Set

CreativeName

string

The name of the link or notification on the Teak Dashboard.

Get/Set

CreativeId

ulong

The id of the link or notification in the Teak CMS.

Get/Set

ChannelName

string

The name of the Teak 'channel', one of: ios_push, android_push, fb_a2u, email, generic_link.

Get/Set

Incentivized

bool

Always true.

Get/Set

RewardId

string

Opaque reward identifier.

Get/Set

Enums

RewardStatus

Status constants for reward claims.

Name Description

GrantReward

The user has been issued this reward by Teak.

SelfClick

The user has attempted to claim a reward from their own social post.

AlreadyClicked

The user has already been issued this reward.

TooManyClicks

The reward has already been claimed its maximum number of times globally.

ExceedMaxClicksForDay

The user has already claimed their maximum number of rewards of this type for the day.

Expired

This reward has expired and is no longer valid.

InvalidPost

Teak does not recognize this reward id.

InternalError

Another error occurred that prevented the Reward from being processed.