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

#include <chattypes.h>

Public Member Functions

 RestrictionReason ()
 
bool operator== (const RestrictionReason &rhs) const
 
bool operator!= (const RestrictionReason &rhs) const
 

Public Attributes

bool anonymous:1
 Logged in anonymously so can't chat. More...
 
bool subscribersOnly:1
 The channel is in subscribers only mode. More...
 
bool slowMode:1
 The channel is in slow mode and messages are being paced. Expect TTV_CHAT_RESTRICTION_REASON_NONE when the timeout is up. More...
 
bool timeout:1
 The user has been temporarily banned for an amount of time. Expect TTV_CHAT_RESTRICTION_REASON_NONE when the timeout is up. More...
 
bool banned:1
 The user has been permanently banned. Expect TTV_CHAT_RESTRICTION_REASON_NONE if a moderator ever unbans. More...
 
bool language:1
 The user does not speak the active broadcaster language and has not opted in yet. More...
 

Constructor & Destructor Documentation

◆ RestrictionReason()

ttv::chat::RestrictionReason::RestrictionReason ( )

Member Function Documentation

◆ operator!=()

bool ttv::chat::RestrictionReason::operator!= ( const RestrictionReason rhs) const

◆ operator==()

bool ttv::chat::RestrictionReason::operator== ( const RestrictionReason rhs) const

Member Data Documentation

◆ anonymous

bool ttv::chat::RestrictionReason::anonymous

Logged in anonymously so can't chat.

◆ banned

bool ttv::chat::RestrictionReason::banned

The user has been permanently banned. Expect TTV_CHAT_RESTRICTION_REASON_NONE if a moderator ever unbans.

◆ language

bool ttv::chat::RestrictionReason::language

The user does not speak the active broadcaster language and has not opted in yet.

◆ slowMode

bool ttv::chat::RestrictionReason::slowMode

The channel is in slow mode and messages are being paced. Expect TTV_CHAT_RESTRICTION_REASON_NONE when the timeout is up.

◆ subscribersOnly

bool ttv::chat::RestrictionReason::subscribersOnly

The channel is in subscribers only mode.

◆ timeout

bool ttv::chat::RestrictionReason::timeout

The user has been temporarily banned for an amount of time. Expect TTV_CHAT_RESTRICTION_REASON_NONE when the timeout is up.


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