chatSetChannelTopic
Set the topic (description) of a chat channel.
- void chatSetChannelTopic(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * topic );
Routine | Required Header | Distribution |
---|---|---|
chatSetChannelTopic | <chat.h> | SDKZIP |
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- channel
- [in] Name of the chat channel whose topic is being set.
- topic
- [in] Description of new topic.
Remarks
The chatSetChannelTopic function is used to set the topic (description) of a chat channel. Some channels, such as the title and group rooms, will not allow users to set the topic.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatSetChannelTopic | chatSetChannelTopicA | chatSetChannelTopicW |
chatSetChannelTopicW and chatSetChannelTopicA are UNICODE and ANSI mapped versions of chatSetChannelTopic. The arguments of chatSetChannelTopicA are ANSI strings; those of chatSetChannelTopicW are wide-character strings.
Section Reference: Gamespy Chat SDK
See Also: chatGetChannelTopic