tock / ai.tock.bot.connector.twitter.model

Package ai.tock.bot.connector.twitter.model

Twitter connector base model classes

Types

AbstractOption

abstract class AbstractOption

Application

data class Application

Attachment

data class Attachment

AttachmentData

data class AttachmentData

AttachmentMedia

data class AttachmentMedia

Command

enum class Command

Coordinates

data class Coordinates

CTA

abstract class CTA

DirectMessage

data class DirectMessage

DirectMessageIndicateTyping

data class DirectMessageIndicateTyping

Entities

data class Entities

Entity

abstract class Entity

Hashtag

data class Hashtag : Entity

Image

data class Image : Media

Media

abstract class Media

MediaCategory

enum class MediaCategory

MediaEntities

data class MediaEntities

MediaUpload

data class MediaUpload

Mention

data class Mention : Entity

MessageCreate

data class MessageCreate

MessageData

data class MessageData

Option

data class Option : AbstractOption

Options

data class Options : QuickReply

OptionsResponse

data class OptionsResponse : QuickReplyResponse

OptionWithoutDescription

data class OptionWithoutDescription : AbstractOption

Poll

data class Poll

PollOption

data class PollOption

QuickReply

abstract class QuickReply

QuickReplyResponse

abstract class QuickReplyResponse

Recipient

data class Recipient

Symbol

data class Symbol : Entity

Text

data class Text

Tweet

data class Tweet

TwitterConnectorMessage

abstract class TwitterConnectorMessage : ConnectorMessage

TwitterPublicConnectorMessage

abstract class TwitterPublicConnectorMessage : ConnectorMessage

Url

data class Url : Entity

User

data class User

Video

data class Video : Media

WebUrl

data class WebUrl : CTA

Functions

toMediaCategory

fun MediaFile.toMediaCategory(): MediaCategory?