export type TMessage = {
  message: string,
  replyMessage: string,
  forwardMessage: string,
  name: string,
  replyName: string,
  lastName: string,
  replyLastName: string,
  forwardName: string,
  forwardLastName: string,
  avatarUrl:string,
  color: string,
  number:string,
  _id: string,
  type: string,
  fullType:string,
  companionId: string,
  companionIdFlow: string,
  companionIdForwardToAndFrom: string,
  caption: string,
  replyCaption: string,
  forwardCaption: string,
  emoji: string,
  emojiCompanion: string,
  pinned: boolean,
  edited: boolean,
  deleted: boolean,
  initiator: boolean,
  reject: boolean,
  duration: number,
  idTime: string,
  oldId: string,
  owner: any,
  createdAt: string,
  updatedAt: string,
  __v: number
}

export type TAllMessages = TMessage[] | []

