Package com.jtelegram.api.update
Class Update.TimeSensitiveUpdate
- java.lang.Object
-
- com.jtelegram.api.update.Update
-
- com.jtelegram.api.update.Update.TimeSensitiveUpdate
-
- Direct Known Subclasses:
Update.ChannelPostUpdate
,Update.EditedChannelPostUpdate
,Update.EditedMessageUpdate
,Update.MessageUpdate
- Enclosing class:
- Update
public abstract static class Update.TimeSensitiveUpdate extends Update
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jtelegram.api.update.Update
Update.CallbackQueryUpdate, Update.ChannelPostUpdate, Update.ChosenInlineResultUpdate, Update.Deserializer, Update.EditedChannelPostUpdate, Update.EditedMessageUpdate, Update.InlineQueryUpdate, Update.MessageUpdate, Update.PreCheckoutQueryUpdate, Update.ShippingQueryUpdate, Update.TimeSensitiveUpdate
-
-
Constructor Summary
Constructors Constructor Description TimeSensitiveUpdate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected long
getDateFromMessage(Message message)
abstract long
getEventTime()
-
Methods inherited from class com.jtelegram.api.update.Update
getUpdateId, toString
-
-
-
-
Method Detail
-
getEventTime
public abstract long getEventTime()
- Returns:
- The relevant unix time when the update should be compared to.
-
getDateFromMessage
protected long getDateFromMessage(Message message)
-
-