Twitch SDK (Internal)
ichatroomnotificationslistener.h
Go to the documentation of this file.
1 /********************************************************************************************
2  * Twitch Broadcasting SDK
3  *
4  * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5  * may not be copied or used except in accordance with the terms of that agreement
6  * Copyright (c) 2012-2017 Twitch Interactive, Inc.
7  *********************************************************************************************/
8 
9 #pragma once
10 
12 
13 namespace ttv
14 {
15  namespace chat
16  {
17  class IChatRoomNotificationsListener;
18  }
19 }
20 
25 {
26 public:
34  virtual void UserTimedOut(UserId userId, ChannelId channelId, Timestamp expiresAt) = 0;
35 
42  virtual void UserBanned(UserId userId, ChannelId channelId) = 0;
43 
50  virtual void UserUnbanned(UserId userId, ChannelId channelId) = 0;
51 
60  virtual void RoomViewUpdated(UserId userId, ChannelId roomOwnerId, const std::string& roomId, ChatRoomView&& roomViewInfo) = 0;
61 
68  virtual void RoomMentionReceived(UserId userId, RoomMentionInfo&& mentionInfo) = 0;
69 };
uint32_t UserId
Definition: coretypes.h:22
virtual void UserUnbanned(UserId userId, ChannelId channelId)=0
uint32_t Timestamp
Definition: coretypes.h:27
Definition: chattypes.h:800
virtual void RoomMentionReceived(UserId userId, RoomMentionInfo &&mentionInfo)=0
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
virtual void RoomViewUpdated(UserId userId, ChannelId roomOwnerId, const std::string &roomId, ChatRoomView &&roomViewInfo)=0
Definition: ichatroomnotificationslistener.h:24
uint32_t ChannelId
Definition: coretypes.h:23
virtual void UserBanned(UserId userId, ChannelId channelId)=0
virtual void UserTimedOut(UserId userId, ChannelId channelId, Timestamp expiresAt)=0
Definition: chattypes.h:834