Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Create voice and text channels
    • Messaging
      • Channel messages
      • Message metadata
      • Chat history
      • Edit and delete messages
      • Directed messages
      • Offline direct messages
      • Anti-flooding
      • Large text channel setting
      • Retrieve Conversations list
      • Set Chat Markers
    • Player management
    • Device management
    • Audio management
    • Mobile development
    • Text-to-speech
    • Speech-to-text
    • Real-time recording
    • Server-side-recording
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unity SDK documentation

Edit and delete messages

Edit and delete messages in channels.
Read time 1 minute
Last updated 8 months ago

Vivox provides ways to edit and delete messages already sent to channels.

Edit channel messages

Vivox allows users to edit the text of messages they have sent into a channel using
VivoxService.Instance.EditChannelTextMessageAsync(string channelName, string messageId, string newMessage)
. channelName being the name of the channel that the message was sent to, the messageId being the id of the message to change, and newMessage being the updated text of the message.
When a message has been successfully edited by anyone in a channel, everyone in the channel will receive a
VivoxService.Instance.ChannelMessageEdited
Action containing the VivoxMessage that was edited, with the updated MessageText.
public async void UpdateChannelMessageAsync(VivoxMessage messageToUpdate, string updatedMessageText){ await VivoxService.Instance.EditChannelTextMessageAsync(messageToUpdate.ChannelName, messageToUpdate.MessageId, updatedMessageText);}

Delete channel messages

Vivox allows for users to delete messages they have sent into a channel using
VivoxService.Instance.DeleteChannelTextMessageAsync(string channelName, string messageId)
. channelName being the name of the channel that the message was sent to, and the messageId being the id of the message to delete.
When a message has been successfully deleted by anyone in a channel, everyone in the channel will receive a
VivoxService.Instance.ChannelMessageDeleted
Action containing the VivoxMessage that was deleted.
public async void DeleteChannelMessageAsync(VivoxMessage messageToDelete){ await VivoxService.Instance.DeleteChannelTextMessageAsync(messageToDelete.ChannelName, messageToDelete.MessageId)}

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Edit channel messages

    • Delete channel messages


Report a problem with this page