Twitch SDK (Internal)
Namespaces | Functions
chatjson.h File Reference
#include "twitchsdk/core/task/task.h"
#include "twitchsdk/chat/chattypes.h"
#include "twitchsdk/core/json/value.h"

Go to the source code of this file.

Namespaces

 ttv
 JSON (JavaScript Object Notation).
 
 ttv::chat
 

Functions

bool ttv::chat::ParseParticipantJson (const ttv::json::Value &jParticipant, ChatUserInfo &user)
 
bool ttv::chat::ParseThreadJson (const ttv::json::Value &jThread, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, ThreadData &result)
 
bool ttv::chat::ParseRaidStatusJson (const ttv::json::Value &jRaid, RaidStatus &status)
 
bool ttv::chat::ParseMessageJson (const ttv::json::Value &jMessage, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, WhisperMessage &result)
 
bool ttv::chat::ParseChatReplayMessageJson (const ttv::json::Value &jMessage, const TokenizationOptions &tokenizationOptions, const std::shared_ptr< BitsConfiguration > &bitsConfig, const std::vector< std::string > &localUserNames, ReplayMessage &result)
 
bool ttv::chat::ParseMillisecondTimestampChatReplayMessageJson (const ttv::json::Value &jMessage, uint64_t &result)
 
bool ttv::chat::ParseGraphQLErrorCode (const ttv::json::Value &jVal, const std::string &mutationName, GraphQLErrorCode &code)
 
bool ttv::chat::ParseEditRoomMessage (const ttv::json::Value &jVal, ChatRoomMessage &result)
 
bool ttv::chat::ParseSendRoomMessage (const ttv::json::Value &jVal, ChatRoomMessage &result, SendRoomMessageError &error)
 
bool ttv::chat::ParseRoomMessages (const ttv::json::Value &jVal, std::vector< ChatRoomMessage > &result, std::string &resultCursor, bool &resultMoreMessages)
 
bool ttv::chat::ParseCreateRoom (const ttv::json::Value &jVal, ChatRoomInfo &result, CreateRoomError &error)
 
bool ttv::chat::ParseUpdateRoom (const ttv::json::Value &jVal, ChatRoomInfo &result, UpdateRoomError &error)
 
bool ttv::chat::ParseUpdateRoomModes (const ttv::json::Value &jVal, ChatRoomInfo &result, UpdateRoomModesError &error)
 
bool ttv::chat::ParseRoomInfo (const ttv::json::Value &jVal, ChatRoomInfo &result)
 
bool ttv::chat::ParseGraphQLChatRooms (const ttv::json::Value &jVal, std::vector< ChatRoomInfo > &result)
 
bool ttv::chat::ParseGraphQLChatRoomView (const ttv::json::Value &jVal, const std::string &mutationName, ChatRoomInfo &result)
 
bool ttv::chat::ParseGraphQLUserMods (const ttv::json::Value &jVal, std::vector< std::string > &result, std::string &cursor)
 
bool ttv::chat::ParseBanUser (const ttv::json::Value &jVal, BanUserError &error)
 
bool ttv::chat::ParseUnbanUser (const ttv::json::Value &jVal, UnbanUserError &error)
 
bool ttv::chat::ParseUserEmoticonSets (const ttv::json::Value &jVal, std::vector< EmoticonSet > &result)