chatAddChannelBan
Ban a nickname from the specified channel. Local client must have moderator privileges.
- void chatAddChannelBan(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * ban );
Routine | Required Header | Distribution |
---|---|---|
chatAddChannelBan | <chat.h> | SDKZIP |
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- channel
- [in] Name of chat channel from which user is being banned.
- ban
- [in] Chat nickname of user being banned.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatAddChannelBan | chatAddChannelBanA | chatAddChannelBanW |
chatAddChannelBanW and chatAddChannelBanA are UNICODE and ANSI mapped versions of chatAddChannelBan. The arguments of chatAddChannelBanA are ANSI strings; those of chatAddChannelBanW are wide-character strings.
Section Reference: Gamespy Chat SDK