共用方式為


ReadReceiptsBySenderId type

索引鍵值組的陣列,可儲存每個寄件者的顯示名稱和上次讀取訊息

type ReadReceiptsBySenderId = {
  [key: string]: { displayName: string; lastReadMessage: string }
}