On this page

MessageDraft object

MessageDraft represents a message that has not been published yet.

Properties

The MessageDraft object has no properties.

Methods

The MessageDraft object uses instances of these classes:

  • UPubnubMentionTarget to include specific mention targets (user mentions, channel references, or URLs) within these elements.
  • UPubnubMessageElement to compose message draft content.
  • UPubnubMessageDraft to manage these components, enabling the drafting, editing, and eventual sending of a complete message.

Click on each method for more details.

Use case

MessageDraft methods enable users to prepare draft messages with:

Last updated on