두 사용자로 동시에 접속하여 실시간 메시지, 이미지 전송, 타이핑 인디케이터를 체험합니다.
코드 몇 줄이면 됩니다. SDK 설치 후 바로 시작하세요.
final oichat = OiChat(OiChatConfig(
apiUrl: 'https://api.oichatapi.com',
publicKey: 'pk_your_key',
));
await oichat.connect(userId: 'user_1');
await oichat.messages.send(
roomId: room.id,
content: '안녕하세요!',
);카드 등록 없이 1개월 무료 체험 · 3분이면 연동 완료