TeamTalk 5 C-API DLL Version 5.15A
Loading...
Searching...
No Matches
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.
 
INT32 nFromUserID
 Will be set automatically on outgoing message.
 
TTCHAR szFromUsername [TT_STRLEN]
 The originators username.
 
INT32 nToUserID
 Set to zero if channel message.
 
INT32 nChannelID
 Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.
 
TTCHAR szMessage [TT_STRLEN]
 The actual text message. The message can be multi-line (include EOL).

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

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 2409 of file TeamTalk.h.

Member Data Documentation

◆ nMsgType

TextMsgType TextMessage::nMsgType

The type of text message.

Definition at line 2412 of file TeamTalk.h.

◆ nFromUserID

INT32 TextMessage::nFromUserID

Will be set automatically on outgoing message.

Definition at line 2414 of file TeamTalk.h.

◆ szFromUsername

TTCHAR TextMessage::szFromUsername[TT_STRLEN]

The originators username.

Definition at line 2416 of file TeamTalk.h.

◆ nToUserID

INT32 TextMessage::nToUserID

Set to zero if channel message.

Definition at line 2418 of file TeamTalk.h.

◆ nChannelID

INT32 TextMessage::nChannelID

Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.

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

◆ bMore

TTBOOL TextMessage::bMore

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

Definition at line 2427 of file TeamTalk.h.