SMITextMessage

Objective-C

@protocol SMITextMessage <SMIEntryPayload, SMIEntryTypeMessage>

Swift

protocol TextMessage : EntryPayload, EntryTypeMessage

Represents a single text message within an SMIConversationEntry.

  • The content of the text message.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull text;

    Swift

    var text: String { get }
  • The citation content for this text message.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMICitationContent> citationContent;

    Swift

    var citationContent: (any CitationContent)? { get }