Event class

Constructors

Event({bool sync: false })

Properties

me User
User object of bot.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

emitUpdate(Update update) → void
Emits update events
onCallbackQuery() → Stream<CallbackQuery>
Listens to callback query events
onChannelPost() → Stream<Message>
Listens to channel post events
onChosenInlineResult() → Stream<ChosenInlineResult>
Listens to chosen inline query events
onEditedChannelPost() → Stream<Message>
Listens to edited channel post events
onEditedMessage() → Stream<Message>
Listens to edited message events
onInlineQuery() → Stream<InlineQuery>
Listens to inline query events
onMessage({String entityType, String keyword }) → Stream<Message>
Listens to message events
onPreCheckoutQuery() → Stream<PreCheckoutQuery>
Listens to pre checkout query events
onShippingQuery() → Stream<ShippingQuery>
Listens to shipping query events
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited