Type alias Message

Message: Override<yup.InferType<typeof messageSchema>, {
    attachments: Attachment[];
    authorEndUserIdentity: EndUserIdentity | null;
    authorNameRemoved: ContentRemoved;
    authorUser: User | null;
    contactNumber: ContactNumber;
    contentRemoved: ContentRemoved;
    createdAtWithMilliseconds?: string;
    delivered: MessageDelivered[];
    direction: MessageDirection;
    forward?: ForwardedMessageReference;
    id: MessageId;
    idOnExternalPlatform: MessageIdOnExternalPlatform;
    messageContent: MessageContent;
    postId: PostId;
    recipients: Recipient[];
    replyChannel: Channel | null;
    seen: MessageSeen[];
    sentiment: Sentiment;
    tags: Tag[];
    threadId: ThreadId;
    threadIdOnExternalPlatform: ThreadIdOnExternalPlatform;
    user?: User;
    userStatistics: UserStatistics;
}>

Type declaration

  • attachments: Attachment[]
  • authorEndUserIdentity: EndUserIdentity | null
  • authorNameRemoved: ContentRemoved
  • authorUser: User | null
  • contactNumber: ContactNumber
  • contentRemoved: ContentRemoved
  • Optional createdAtWithMilliseconds?: string
  • delivered: MessageDelivered[]
  • direction: MessageDirection
  • Optional forward?: ForwardedMessageReference
  • id: MessageId
  • idOnExternalPlatform: MessageIdOnExternalPlatform
  • messageContent: MessageContent
  • postId: PostId
  • recipients: Recipient[]
  • replyChannel: Channel | null
  • seen: MessageSeen[]
  • sentiment: Sentiment
  • tags: Tag[]
  • threadId: ThreadId
  • threadIdOnExternalPlatform: ThreadIdOnExternalPlatform
  • Optional user?: User
  • userStatistics: UserStatistics

Generated using TypeDoc