TwitchGetRewardUserCounter

Returns reward count of the given reward for a specified Twitch user

Signature

public TwitchRewardCounter TwitchGetRewardUserCounter(string userLogin, string rewardId, bool persisted = true)

Parameters

userLogin
string required

No description provided.

rewardId
string required

No description provided.

persisted
bool
Default:
True

No description provided.

Return Type

Streamer.bot.Plugin.Interface.Model.TwitchRewardCounter

Example

CPH.TwitchGetRewardUserCounter(userLogin, rewardId);
CPH.TwitchGetRewardUserCounter(userLogin, rewardId, persisted);