io.github.doocs.im-server-sdk-java 0.3.13 Latest version
Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.3.13</version>
</dependency>
Install 2/2: Run via command line
$ mvn install
About this package
The Tencent Cloud IM Server SDK for Java enables Java developers to easily work with Tencent Cloud IM.
Note: Tencent Cloud IM Server SDK requires JDK 1.8 or later.
If you're using Maven, just add the following dependency in pom.xml
.
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.3.13</version>
</dependency>
If not, you can download JAR in Maven Center Repository.
Here is a quick teaser of an application using Tencent Cloud IM Server SDK in Java:
// sdk appId
long appId = 1400554812;
// admin userId
String userId = "test";
// application key
String key = "60c6c5925f3ae52c7325ac5a8ec78e44c056d1dd84d54e12ffa39911267a2a70";
// create ImClient instance
ImClient client = ImClient.getInstance(appId, userId, key);
// import account
AccountImportRequest request = new AccountImportRequest("doocs");
request.setFaceUrl("https://avatars.githubusercontent.com/u/43716716?s=200&v=4");
request.setNick("Doocs Community");
try {
AccountImportResult result = client.account.accountImport(request);
// handle result
} catch (IOException e) {
// handle exception
}
Contributions are always welcomed!
We use the dev
branch as the development branch, which indicates that this is a unstable branch.
Here are the workflow for contributors:
- Fork to your own
- Clone fork to local repository
- Create a new branch and work on it
- Keep your branch in sync
- Commit your changes (make sure your commit message concise)
- Push your commits to your forked repository
- Create a pull request
Please refer to CONTRIBUTING for detailed guidelines.
Apache-2.0 License.
Details
- doocs
- March 18, 2022
- 4 dependencies
- Apache License 2.0
Assets
- im-server-sdk-java-0.3.13-javadoc.jar.md5
- im-server-sdk-java-0.3.13-javadoc.jar.sha1
- im-server-sdk-java-0.3.13-javadoc.jar
- im-server-sdk-java-0.3.13-sources.jar.md5
- im-server-sdk-java-0.3.13-sources.jar.sha1
- im-server-sdk-java-0.3.13-sources.jar
- im-server-sdk-java-0.3.13.pom.md5
- im-server-sdk-java-0.3.13.pom.sha1
- im-server-sdk-java-0.3.13.pom
- im-server-sdk-java-0.3.13.jar.md5
- im-server-sdk-java-0.3.13.jar.sha1
- im-server-sdk-java-0.3.13.jar
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0
Topics
Recent versions
-
0.3.13
Mar 18, 2022