chatInviteUser
Invite a user to join a channel.
- void chatInviteUser(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * user );
Routine | Required Header | Distribution |
---|---|---|
chatInviteUser | <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 user is being invited.
- user
- [in] User's chat nickname.
Remarks
The chatInviteUser function may be used to invite a user to a particular chat room.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatInviteUser | chatInviteUserA | chatInviteUserW |
chatInviteUserW and chatInviteUserA are UNICODE and ANSI mapped versions of chatInviteUser. The arguments of chatInviteUserA are ANSI strings; those of chatInviteUserW are wide-character strings.
Section Reference: Gamespy Chat SDK