TwitchGetRewardUserCounterById

Returns reward count of the given reward for a specified Twitch user, by id

Signature

public TwitchRewardCounter TwitchGetRewardUserCounterById(string userId, string rewardId, bool persisted = true)

Parameters

userId
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.TwitchGetRewardUserCounterById(userId, rewardId);
CPH.TwitchGetRewardUserCounterById(userId, rewardId, persisted);