一站式出海解決方案,依托環(huán)信預(yù)構(gòu)建的聊天UI組件和示例應(yīng)用,
只需10分鐘,即可構(gòu)建美觀、可靠且功能齊全的聊天體驗(yàn)。
import com.hyphenate.chat.EMClient;
EMClient.getInstance().init(mContext, mEMOptions);
EMClient.getInstance().login(username, password, null);
EMMessage message = EMMessage.createTxtSendMessage(content, toChatUsername);
EMClient.getInstance().chatManager().sendMessage(message);
EMClient.getInstance().logout(true); #import <HyphenateChat/HyphenateChat.h>
[[EMClient sharedClient] initializeSDKWithOptions:[EMOptions optionsWithAppkey:@"appkey"]];
[[EMClient sharedClient] loginWithUsername:@"username" password:@"password" completion:nil];
EMMessage *message = [[EMMessage alloc]initWithConversationID:@"conversationId" from:@"from" to:@"
to" body:[[EMTextMessageBody alloc]initWithText:@"text"] ext:nil];
[[EMClient sharedClient].chatManager sendMessage:message progress:nil completion:nil];
[[EMClient sharedClient] logout:YES]; import 'package:im_flutter_sdk/im_flutter_sdk.dart';
await EMClient.getInstance.init(EMOptions(appKey: Appkey));
await EMClient.getInstance.login('username','password');
EMMessage msg = EMMessage.createTxtSendMessage(username: toUsername, content: 'hello Hyphenate');
await EMClient.getInstance.chatManager.sendMessage(msg);
await EMClient.getInstance.logout(true); let websdk = require("./wxsdk")
let connection = new websdk.connection({appKey: 'appkey'})
connection.open({user: 'username', pwd: 'password', appKey: 'appkey'});
let id = connection.getUniqueId();
let msg = new websdk.message('txt', id);
msg.set({ msg: 'message content', to: 'userId',)
connection.send(msg.body);
connection.close(); import websdk from 'easemob-websdk'
let connection = new websdk.connection({appKey: 'appkey'})
connection.open({user: 'username', pwd: 'password', appKey: 'appkey'});
let id = connection.getUniqueId();
let msg = new websdk.message('txt', id);
msg.set({ msg: 'message content', to: 'userId',)
connection.send(msg.body);
connection.close();
單聊
群聊
聊天室
超大群聊(成員人數(shù)無(wú)上限)
超級(jí)社區(qū)
AI陪聊
彈幕
點(diǎn)贊
打賞
榜單
直播間管理(禁言、踢人、麥位)
音視頻
圖片
GIFs
文件
自定義
禁言
拉黑
踢人
免打擾
好友托管
文本
圖片
視頻
廠商審核
配置控制臺(tái)
消息存儲(chǔ)
已讀回執(zhí)
已送達(dá)回執(zhí)
未讀消息數(shù)
正在輸入狀態(tài)
消息搜索
全局廣播
離線消息
Reactions
Threads
多端多設(shè)備登錄
引用
撤回
編輯
轉(zhuǎn)發(fā)
多選
翻譯
舉報(bào)
@提及
環(huán)信即時(shí)通訊云——100注冊(cè)用戶永久免費(fèi)
環(huán)信MQTT——免費(fèi)開通 每月贈(zèng)送超高額度
環(huán)信PUSH——1000個(gè)DAU免費(fèi)
注冊(cè)享福利、贏好禮
現(xiàn)在注冊(cè)即時(shí)通訊云使用者請(qǐng)?jiān)趹?yīng)用詳情頁(yè)面咨詢
客服云使用者請(qǐng)進(jìn)入管理員模式咨詢