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

# IncomingEvent

`abstract class IncomingEvent : TwitterConnectorMessage` (source)

IncomingEvent object

### Constructors

#### <init> | IncomingEvent object `IncomingEvent()`

### Properties

#### forUserId | `abstract val forUserId: String`
#### ignored | `abstract val ignored: Boolean`
#### users | `abstract val users: Map<String, User>`

### Functions

#### playerId | `open fun playerId(playerType: PlayerType): PlayerId`
#### recipientId | `open fun recipientId(playerType: PlayerType): PlayerId`
#### toEvent | `abstract fun toEvent(applicationId: String): Event?`

### Extension Functions

#### asGenericMessage | `fun ConnectorMessage.asGenericMessage(assertionCreator: Assert<GenericMessage>.() -> Unit): Unit`
#### findTransactionDecisionValueV3 | Return a GATransactionDecisionValueV3 if available. `fun ConnectorMessage.findTransactionDecisionValueV3(): GATransactionDecisionValueV3?`
#### findTransactionRequirementsCheckResultV3 | Return a GATransactionRequirementsCheckResultV3 if available. `fun ConnectorMessage.findTransactionRequirementsCheckResultV3(): GATransactionRequirementsCheckResultV3?`

### Inheritors

#### DirectMessageIncomingEvent | Direct Message IncomingEvent `data class DirectMessageIncomingEvent : IncomingEvent`
#### DirectMessageIndicateTypingIncomingEvent | Direct Message Indicate Typing IncomingEvent `data class DirectMessageIndicateTypingIncomingEvent : IncomingEvent`
#### TweetIncomingEvent | Tweet (Status) IncomingEvent `data class TweetIncomingEvent : IncomingEvent`