TeamTalk 5 C-API DLL  Version 5.8B
TextMessage Struct Reference

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

#include <TeamTalk.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
CLIENTEVENT_CMD_USER_TEXTMSG
TT_DoTextMessage

Definition at line 2319 of file TeamTalk.h.

Member Data Documentation

◆ nMsgType

TextMsgType TextMessage::nMsgType

The type of text message.

Definition at line 2322 of file TeamTalk.h.

◆ nFromUserID

INT32 TextMessage::nFromUserID

Will be set automatically on outgoing message.

Definition at line 2324 of file TeamTalk.h.

◆ szFromUsername

TTCHAR TextMessage::szFromUsername[TT_STRLEN]

The originators username.

Definition at line 2326 of file TeamTalk.h.

◆ nToUserID

INT32 TextMessage::nToUserID

Set to zero if channel message.

Definition at line 2328 of file TeamTalk.h.

◆ nChannelID

INT32 TextMessage::nChannelID

Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.

Definition at line 2331 of file TeamTalk.h.

◆ szMessage

TTCHAR TextMessage::szMessage[TT_STRLEN]

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

Definition at line 2334 of file TeamTalk.h.