Package blue.starry.penicillin.endpoints.directmessages

Functions

Link copied to clipboard
fun DirectMessages.create(    text: String,     userId: Long? = null,     screenName: String? = null,     vararg options: Option): JsonObjectApiAction<DirectMessage>

Abolished endpoint.

Link copied to clipboard
fun DirectMessages.delete(    id: Long,     includeEntities: Boolean? = null,     vararg options: Option): JsonObjectApiAction<DirectMessage>

Abolished endpoint.

Link copied to clipboard
fun DirectMessages.indicateTyping(recipientId: Long, vararg options: Option): EmptyApiAction

Displays a visual typing indicator in the recipient’s Direct Message conversation view with the sender. Each request triggers a typing indicator animation with a duration of ~3 seconds.

Link copied to clipboard
fun DirectMessages.list(    sinceId: Long? = null,     maxId: Long? = null,     count: Int? = null,     includeEntities: Boolean? = null,     skipStatus: Boolean? = null,     vararg options: Option): JsonArrayApiAction<DirectMessage>

Abolished endpoint.

Link copied to clipboard
fun DirectMessages.markRead(    lastReadEventId: Long,     recipientId: Long,     vararg options: Option): ApiRequest

Marks a message as read in the recipient’s Direct Message conversation view with the sender.

Link copied to clipboard
fun DirectMessages.sentMessages(    sinceId: Long? = null,     maxId: Long? = null,     count: Int? = null,     page: Int? = null,     includeEntities: Boolean? = null,     vararg options: Option): JsonArrayApiAction<DirectMessage>

Abolished endpoint.

Link copied to clipboard
fun DirectMessages.show(id: Long, vararg options: Option): JsonObjectApiAction<DirectMessage>

Abolished endpoint.