Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I send chat message in Swift like chat.ts and sendmessge on web side? #546

Open
peng2219 opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@peng2219
Copy link

Is your feature request related to a problem? Please describe.

hi, team, on agent side, I use chat and message_received to handle message as below. How can I send message on iOS with Swift sdk? I tried localParticipant.publish, but failed. In web client sdk, there is chat.ts and sendmessge, but I can't find similar one in Swift sdk. Thanks!
chat = rtc.ChatManager(ctx.room)
@chat.on("message_received")
def on_chat_received(msg: rtc.ChatMessage):
# handle msg

Describe the solution you'd like
offer an chat and sendmessage in Swift please

@peng2219 peng2219 added the enhancement New feature or request label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants