@my-swu/simulator-client / MatchHistoryFeedEntry1
Type Alias: MatchHistoryFeedEntry1
MatchHistoryFeedEntry1 = {
kind:"chat";payload:MatchChatMessage; } | {kind:"gameEvent";payload:GameEvent; } | {kind:"playerPresence";payload: {name?:string|null;seat:Seat;status:PlayerPresenceStatus; }; }
Defined in: packages/ts-sdk/src/generated/types/common.ts:4041
Example:
ts
import type { MatchHistoryFeedEntry1 } from '@my-swu/simulator-client'
const matchHistoryFeedPayload: MatchHistoryFeedEntry1 = {
kind: 'playerPresence',
payload: { seat: 'one', status: 'joined' },
}
console.log(matchHistoryFeedPayload)