TeamTalk 5 C-API DLL Version 5.19A

Public Attributes | List of all members
TextMessage Struct Reference
User Properties

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

## Member Data Documentation

## ◆ nMsgType

TextMsgType TextMessage::nMsgType

The type of text message.

Definition at line 2396 of file TeamTalk.h.

## ◆ nFromUserID

INT32 TextMessage::nFromUserID

Will be set automatically on outgoing message.

Definition at line 2398 of file TeamTalk.h.

## ◆ szFromUsername

TTCHAR TextMessage::szFromUsername[TT_STRLEN]

The originators username.

Definition at line 2400 of file TeamTalk.h.

## ◆ nToUserID

INT32 TextMessage::nToUserID

Set to zero if channel message.

Definition at line 2402 of file TeamTalk.h.

## ◆ nChannelID

INT32 TextMessage::nChannelID

Set to zero if nMsgType is MSGTYPE_USER or MSGTYPE_BROADCAST.

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

## ◆ bMore

TTBOOL TextMessage::bMore

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

Definition at line 2411 of file TeamTalk.h.