Package com.jtelegram.api.update
Class Update.ChannelPostUpdate
- java.lang.Object
-
- com.jtelegram.api.update.Update
-
- com.jtelegram.api.update.Update.TimeSensitiveUpdate
-
- com.jtelegram.api.update.Update.ChannelPostUpdate
-
- Enclosing class:
- Update
public static class Update.ChannelPostUpdate extends Update.TimeSensitiveUpdate
-
-
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 ChannelPostUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
getChannelPost()
long
getEventTime()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.update.Update.TimeSensitiveUpdate
getDateFromMessage
-
Methods inherited from class com.jtelegram.api.update.Update
getUpdateId
-
-
-
-
Method Detail
-
getEventTime
public long getEventTime()
- Specified by:
getEventTime
in classUpdate.TimeSensitiveUpdate
- Returns:
- The relevant unix time when the update should be compared to.
-
getChannelPost
public Message getChannelPost()
-
-