TeamTalk 5 C-API DLL  Version 5.11A
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...
 
TTBOOL bMore
 Whether this text message is to be merged with next text message. 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 2394 of file TeamTalk.h.

Member Data Documentation

◆ nMsgType

TextMsgType TextMessage::nMsgType

The type of text message.

Definition at line 2397 of file TeamTalk.h.

◆ nFromUserID

INT32 TextMessage::nFromUserID

Will be set automatically on outgoing message.

Definition at line 2399 of file TeamTalk.h.

◆ szFromUsername

TTCHAR TextMessage::szFromUsername[TT_STRLEN]

The originators username.

Definition at line 2401 of file TeamTalk.h.

◆ nToUserID

INT32 TextMessage::nToUserID

Set to zero if channel message.

Definition at line 2403 of file TeamTalk.h.

◆ nChannelID

INT32 TextMessage::nChannelID

Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.

Definition at line 2406 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 2409 of file TeamTalk.h.

◆ bMore

TTBOOL TextMessage::bMore

Whether this text message is to be merged with next text message.

Definition at line 2412 of file TeamTalk.h.