Account - HedariKun/DonJS GitHub Wiki

Properties

Property Type Nullable
id string false
username string false
acct string false
displayName string false
locked string false
createdAt string false
followerCount number false
followingCount number false
statusesCount number false
note string false
url string false
avatar string false
avatarStatic string false
header string false
headerStatic string false
emojis [Emoji] true
fields [Field] true
bot boolean true

Methods

  • getFollowers

Parameters Default type Description
limit 40 number the number of accounts you want to get.
  • getFollowing

Parameters Default type Description
limit 40 number the number of accounts you want to get.
  • getStatuses

Parameters Default type Description
limit 20 number the number of statuses you will get from that account.
  • followAccount

Parameters Default type Description
showReblogs false boolean if you want to follow the reblogs of that user.
  • unfollowAccount

  • blockAccount

  • unblockAccount

  • endorsingAccount

  • unendorsingAccount

  • muteAccount

  • unmuteAccount

  • getRelationship