Twitch SDK (Internal)
Public Member Functions | Public Attributes | List of all members
ttv::chat::ChatChannelRestrictions Struct Reference

#include <chattypes.h>

Public Member Functions

 ChatChannelRestrictions ()
 

Public Attributes

std::string chatLanguage
 Empty string if no restriction, otherwise, value is the language users in chat must talk in. More...
 
uint32_t followersDuration
 If followersOnly is true, represents how long the user must have been following for before being able to chat. More...
 
uint32_t slowModeDuration
 0 if slow mode is off, otherwise, represents how long the user must wait between sending messsages. More...
 
bool emoteOnly
 Whether chat is in emote-only mode. More...
 
bool followersOnly
 Whether chat is in followers-only mode. More...
 
bool subscribersOnly
 Whether chat is in subscribers-only mode. More...
 
bool slowMode
 Whether chat is in slow mode. More...
 
bool r9k
 Whether chat is in r9k mode. More...
 

Constructor & Destructor Documentation

◆ ChatChannelRestrictions()

ttv::chat::ChatChannelRestrictions::ChatChannelRestrictions ( )

Member Data Documentation

◆ chatLanguage

std::string ttv::chat::ChatChannelRestrictions::chatLanguage

Empty string if no restriction, otherwise, value is the language users in chat must talk in.

◆ emoteOnly

bool ttv::chat::ChatChannelRestrictions::emoteOnly

Whether chat is in emote-only mode.

◆ followersDuration

uint32_t ttv::chat::ChatChannelRestrictions::followersDuration

If followersOnly is true, represents how long the user must have been following for before being able to chat.

◆ followersOnly

bool ttv::chat::ChatChannelRestrictions::followersOnly

Whether chat is in followers-only mode.

◆ r9k

bool ttv::chat::ChatChannelRestrictions::r9k

Whether chat is in r9k mode.

◆ slowMode

bool ttv::chat::ChatChannelRestrictions::slowMode

Whether chat is in slow mode.

◆ slowModeDuration

uint32_t ttv::chat::ChatChannelRestrictions::slowModeDuration

0 if slow mode is off, otherwise, represents how long the user must wait between sending messsages.

◆ subscribersOnly

bool ttv::chat::ChatChannelRestrictions::subscribersOnly

Whether chat is in subscribers-only mode.


The documentation for this struct was generated from the following file: