Package com.jtelegram.api.events
Class Event
- java.lang.Object
-
- com.jtelegram.api.events.Event
-
- Direct Known Subclasses:
CallbackQueryEvent
,CaptionEditEvent
,ChannelPostEditEvent
,ChannelPostEvent
,ChosenInlineResultEvent
,InlineQueryEvent
,LocationUpdateEvent
,MessageEvent
,PreCheckoutQueryEvent
,ShippingQueryEvent
,TextMessageEditEvent
public abstract class Event extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Event(TelegramBot bot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TelegramBot
getBot()
java.lang.Class<? extends Event>
getType()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Event
protected Event(TelegramBot bot)
-
-
Method Detail
-
getType
public java.lang.Class<? extends Event> getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getBot
public TelegramBot getBot()
-
-