Status - HedariKun/DonJS GitHub Wiki

Properties

Property Type Nullable
id string false
uri string false
url string true
account Account false
inReplyTo string true
inReplyToAccount string true
reblog Status true
content string false
createdAt string false
emojis [Emojis] false
repliesCount number false
reblogsCount number false
favouritesCount number false
reblogged boolean true
favourited boolean true
muted boolean true
sensetive boolean true
visibility string(enum) false
mediaAttachments [Attachment] false
mentions [Mention] false
tags [Tag] false
card Card true
application Application false
language string true
pinned boolean true

visibilityTypes

  • public
  • unlisted
  • private
  • direct

Methods

  • reply

Parameters Default Type Description
status string a string that represent the status content
sensetive string false to set the status to sensetive
spoiler string false to set the status to spoiler
  • delete

  • reblogStatus

  • unreblogStatus

  • favouriteStatus

  • unfavouriteStatus

  • pinStatus

  • unpinStatus

  • muteAccount

  • unmuteAccount

  • report

Parameters Default Type Description
comment string a string that represent the content of the report
  • getContext

  • getCard