Instant Messaging (IM) evolved from the QQ instant messaging system. We extracted QQ’s common modules and integrated them to build the integration-friendly IM SDK and backend service.
The IM SDK can be viewed as QQ without the user interface. Integrating the IM SDK into your app is similar to integrating the QQ kernel.
You must log in to QQ before you can use it for messaging. While you log in to QQ with your QQ ID and password, you must log in to the IM SDK with the specified username (
UserID) and password (
We recommend that apps log in to IM as follows:
- The IM backend completely trusts UserSig. To avoid affecting your data and business, you must ensure the security of the private key.
- UserSigs generated by the default API of the IM backend SDK are valid for 180 days. Developers can use the API with the validity parameter to customize the validity period. Developers must obtain a new UserSig from the developer backend before the original UserSig expires.
- For more information on the IM backend SDK that is used to generate UserSig, see Generating UserSig.
Some IM services require admin permissions, for example, calling RESTful APIs, disbanding a group, and pushing to all group members. Compared with ordinary accounts, the role of app admin has the highest level of privileges:
You can only set app admins in the console. For more information on the procedure, see Configuring Account Admins.