chatGetChannelNumUsers
Returns the number of users in the already joined channel. This is a cached value, and not a server query.
- int chatGetChannelNumUsers(
- CHAT chat,
- const gsi_char * channel );
Routine | Required Header | Distribution |
---|---|---|
chatGetChannelNumUsers | <chat.h> | SDKZIP |
Return Value
Returns the number of users in the channel. If the local client has not joined the channel, -1 will be returned.
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- channel
- [in] Name of the chat channel whose user count is being retrieved.
Section Reference: Gamespy Chat SDK