TeamTalk 4 C-API DLL  Version 4.5A
TextMessage Struct Reference

A struct containing the properties of a text message sent by a user. More...

#include <TeamTalk4.h>

Public Attributes

TextMsgType nMsgType
 The type of text message. More...
 
INT32 nFromUserID
 Will be set automatically on outgoing message. More...
 
TTCHAR szFromUsername [TT_STRLEN]
 The originators username. More...
 
INT32 nToUserID
 Set to zero if channel message. More...
 
INT32 nChannelID
 Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST. More...
 
TTCHAR szMessage [TT_STRLEN]
 The actual text message. The message can be multi-line (include EOL). More...
 

Detailed Description

A struct containing the properties of a text message sent by a user.

See Also
WM_TEAMTALK_CMD_USER_TEXTMSG
TT_DoTextMessage
TT_GetTextMessage

Member Data Documentation

TextMsgType TextMessage::nMsgType

The type of text message.

INT32 TextMessage::nFromUserID

Will be set automatically on outgoing message.

TTCHAR TextMessage::szFromUsername[TT_STRLEN]

The originators username.

INT32 TextMessage::nToUserID

Set to zero if channel message.

INT32 TextMessage::nChannelID

Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.

TTCHAR TextMessage::szMessage[TT_STRLEN]

The actual text message. The message can be multi-line (include EOL).