@my-swu/simulator-client / MatchHistoryFeedEntry
Type Alias: MatchHistoryFeedEntry
MatchHistoryFeedEntry =
object&MatchHistoryFeedEntry1
Defined in: packages/ts-sdk/src/generated/types/common.ts:4035
Example:
ts
import type { MatchHistoryFeedEntry } from '@my-swu/simulator-client'
const matchHistoryFeedEntry: MatchHistoryFeedEntry = {
"id": 'example',
"seq": 0,
"createdAtMs": 0,
"kind": "chat",
"payload": {
"seat": "one",
"name": 'example',
"message": 'example',
},
}
console.log(matchHistoryFeedEntry)Type Declaration
createdAtMs
Example:
ts
import type { MatchHistoryFeedEntry } from '@my-swu/simulator-client'
const matchHistoryFeedEntry: MatchHistoryFeedEntry = {
"id": 'example',
"seq": 0,
"createdAtMs": 0,
"kind": "chat",
"payload": {
"seat": "one",
"name": 'example',
"message": 'example',
},
}
const { createdAtMs } = matchHistoryFeedEntry
console.log(createdAtMs)createdAtMs:
number
historyGroupId?
Example:
ts
import type { MatchHistoryFeedEntry } from '@my-swu/simulator-client'
const matchHistoryFeedEntry: MatchHistoryFeedEntry = {
"id": 'example',
"seq": 0,
"createdAtMs": 0,
"kind": "chat",
"payload": {
"seat": "one",
"name": 'example',
"message": 'example',
},
}
const { historyGroupId } = matchHistoryFeedEntry
console.log(historyGroupId)
optionalhistoryGroupId?:string|null
id
Example:
ts
import type { MatchHistoryFeedEntry } from '@my-swu/simulator-client'
const matchHistoryFeedEntry: MatchHistoryFeedEntry = {
"id": 'example',
"seq": 0,
"createdAtMs": 0,
"kind": "chat",
"payload": {
"seat": "one",
"name": 'example',
"message": 'example',
},
}
const { id } = matchHistoryFeedEntry
console.log(id)id:
string
seq
Example:
ts
import type { MatchHistoryFeedEntry } from '@my-swu/simulator-client'
const matchHistoryFeedEntry: MatchHistoryFeedEntry = {
"id": 'example',
"seq": 0,
"createdAtMs": 0,
"kind": "chat",
"payload": {
"seat": "one",
"name": 'example',
"message": 'example',
},
}
const { seq } = matchHistoryFeedEntry
console.log(seq)seq:
number
