public abstract class MessageEvent extends Object implements Event, Cancellable
Event.Handler, Event.Priority| Constructor and Description |
|---|
MessageEvent() |
| Modifier and Type | Method and Description |
|---|---|
Chat |
getChat()
Gets the Chat that this Message is related to
|
Message |
getMessage()
Gets the Message that was received from the Telegram Bot API that triggered this Event
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelledpublic Chat getChat()
public Message getMessage()
Copyright © 2017. All rights reserved.