postTweet(__) - daneden/Twift GitHub Wiki

postTweet(_:)

Creates a Tweet on behalf of an authenticated user.

@discardableResult
  public func postTweet(_ tweet: MutableTweet)

Parameters

  • tweet: The payload of the post Tweet request

Returns

A data object with the newly-created Tweet's ID and text