Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.16 KB

File metadata and controls

46 lines (33 loc) · 1.16 KB

TweetCardLegacyBindingValueData

Properties

Name Type
booleanValue boolean
imageColorValue { [key: string]: any; }
imageValue TweetCardLegacyBindingValueDataImage
scribeKey string
stringValue string
type string
userValue UserValue

Example

import type { TweetCardLegacyBindingValueData } from 'twitter-openapi-typescript-generated'

// TODO: Update the object below with actual values
const example = {
  "booleanValue": null,
  "imageColorValue": null,
  "imageValue": null,
  "scribeKey": null,
  "stringValue": null,
  "type": null,
  "userValue": null,
} satisfies TweetCardLegacyBindingValueData

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as TweetCardLegacyBindingValueData
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]