Interface ChatMessageTexts.PartWriter

Enclosing class:
ChatMessageTexts

public static interface ChatMessageTexts.PartWriter
Receives the parts of a message in their order: its text, and the contents that are not text, such as images.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    media(Content content)
    Receives a content that is not text, such as an image, at its position in the message.
    void
    text(String text)
    Receives a part of the text of the message.
  • Method Details

    • text

      void text(String text)
      Receives a part of the text of the message.
    • media

      void media(Content content)
      Receives a content that is not text, such as an image, at its position in the message.