chatSendChannelMessage
Send a message to all members of the specified channel.
- void chatSendChannelMessage(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * message,
- int type );
Routine | Required Header | Distribution |
---|---|---|
chatSendChannelMessage | <chat.h> | SDKZIP |
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- channel
- [in] Name of the chat channel to which the message is being sent.
- message
- [in] Message.
- type
- [in] One of the predefined chat types. Used to send chat, hidden messages, notices, and other types.
Remarks
The chatSendChannelMessage function is used to send a message to all users of a specified channel. The type of message that may be sent can be chat, UTM, notices or actions.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatSendChannelMessage | chatSendChannelMessageA | chatSendChannelMessageW |
chatSendChannelMessageW and chatSendChannelMessageA are UNICODE and ANSI mapped versions of chatSendChannelMessage. The arguments of chatSendChannelMessageA are ANSI strings; those of chatSendChannelMessageW are wide-character strings.
Section Reference: Gamespy Chat SDK