Skip to content

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

Open
@peng2219

Description

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

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions