Package com.jtelegram.api.events.chat
Class PinnedMessageEvent
- java.lang.Object
-
- com.jtelegram.api.events.Event
-
- com.jtelegram.api.events.message.MessageEvent<T>
-
- com.jtelegram.api.events.message.ServiceMessageEvent<PinnedMessageMessage>
-
- com.jtelegram.api.events.chat.PinnedMessageEvent
-
public class PinnedMessageEvent extends ServiceMessageEvent<PinnedMessageMessage>
-
-
Constructor Summary
Constructors Constructor Description PinnedMessageEvent(TelegramBot bot, PinnedMessageMessage originMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
getPinnedMessage()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.events.message.MessageEvent
getMessage
-
-
-
-
Constructor Detail
-
PinnedMessageEvent
public PinnedMessageEvent(TelegramBot bot, PinnedMessageMessage originMessage)
-
-
Method Detail
-
getPinnedMessage
public Message getPinnedMessage()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceMessageEvent<PinnedMessageMessage>
-
-