Hierarchy

  • IMessage

Properties

attachedFiles?: IFile[]
authorId: number
chatId: string
externalAuthorId?: string
externalLine?: string | IExternalLine
id: string
isFirstUnread?: boolean
mentioned: number[]
message: string
meta?: {
    accountImage: string;
    accountName: string;
    body: {
        attachedFiles: {
            type: string;
            url: string;
        }[];
        text: string;
        url: string;
    };
    entity: EMetaEntity;
    type: EMetaType;
}

Type declaration

  • accountImage: string
  • accountName: string
  • body: {
        attachedFiles: {
            type: string;
            url: string;
        }[];
        text: string;
        url: string;
    }
    • attachedFiles: {
          type: string;
          url: string;
      }[]
    • text: string
    • url: string
  • entity: EMetaEntity
  • type: EMetaType
parentMessage?: IMessage
readBy: number[]
ref?: {
    authorId: number;
    chatId: string;
    refMessageId: string;
}

Type declaration

  • authorId: number
  • chatId: string
  • refMessageId: string
refrenceId?: string
relations?: IRelations[]
showTime?: boolean
statusText?: string
timestamp: number
updateTimestamp?: number

Generated using TypeDoc