Package blue. starry. penicillin. extensions. endpoints
Types
Link copied to clipboard
class TweetstormHandler(val client: ApiClient, val listener: TweetstormListener) : StreamHandler<TweetstormListener>
Content copied to clipboard
Default TweetStorm StreamHandler. Accepts listener of TweetstormListener.
Link copied to clipboard
An event model interface for TweetstormHandler.
Functions
Link copied to clipboard
Awaits until media processing is done, and returns Media response. This operation is suspendable.
Link copied to clipboard
fun Lists.clone(sourceId: Long): ApiAction<JsonObjectResponse<TwitterList>>
Content copied to clipboard
Clones this list. The name, description and mode are copied to new list.
Link copied to clipboard
Link copied to clipboard
fun Statuses.createWithMedia( status: String, media: List<MediaComponent>, vararg options: Option): ApiAction<JsonObjectResponse<Status>>
Content copied to clipboard
Creates new tweet with media.
Link copied to clipboard
fun Lists.hasMember( listId: Long, userId: Long, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
fun Lists.hasMember( listId: Long, screenName: String, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
fun Lists.hasMember( slug: String, ownerId: Long, userId: Long, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
fun Lists.hasMember( slug: String, ownerId: Long, screenName: String, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
fun Lists.hasMember( slug: String, ownerScreenName: String, userId: Long, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
fun Lists.hasMember( slug: String, ownerScreenName: String, screenName: String, vararg options: Option): ApiAction<Boolean>
Content copied to clipboard
Returns true if the specified user is a member of the specified list.
Link copied to clipboard
fun Stream.tweetstorm( customHost: EndpointHost = EndpointHost.UserStream, delimited: StreamDelimitedBy = StreamDelimitedBy.Default, stringifyFriendIds: Boolean? = null, vararg options: Option): StreamApiAction<TweetstormListener, TweetstormHandler>
Content copied to clipboard
Connects to Tweetstorm with custom EndpointHost.
fun Stream.tweetstorm( customHost: String, delimited: StreamDelimitedBy = StreamDelimitedBy.Default, stringifyFriendIds: Boolean? = null, vararg options: Option): StreamApiAction<TweetstormListener, TweetstormHandler>
Content copied to clipboard
Connects to Tweetstorm with custom host.
Link copied to clipboard
fun Account.updateProfileBackgroundImage( media: MediaComponent, tile: Boolean? = null, includeEntities: Boolean? = null, skipStatus: Boolean? = null, vararg options: Option): ApiAction<JsonObjectApiAction<User>>
Content copied to clipboard
Update profile background image.
Properties
Link copied to clipboard
val Stream.tweetstorm: StreamApiAction<TweetstormListener, TweetstormHandler>
Content copied to clipboard
Shorthand property to Stream.tweetstorm.