Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tweet

Represents A tweet

param -

tweets.ts client

param apiData

Raw api data from the api

Hierarchy

  • Tweet

Index

Constructors

constructor

Properties

client

client: Client

content

content: string

createdAt

createdAt: Date

id

id: string

raw

raw: any

url

url: string

user

user: null | User

Methods

reply

  • reply(message: string, options?: { body: {} }): Promise<Tweet>
  • Reply to this tweet

    Parameters

    • message: string

      Message to be tweeted

    • options: { body: {} } = ...

      Options to be passed to reply()

      • body: {}

      Returns Promise<Tweet>

    retweet

    • retweet(): Promise<Tweet>

    Generated using TypeDoc