
me.niccolomattei.api.telegram.events.defaults.ModifyMessageEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram Show documentation
Show all versions of telegram Show documentation
Simple yet powerful telegram bot api.
package me.niccolomattei.api.telegram.events.defaults;
import me.niccolomattei.api.telegram.Message;
import me.niccolomattei.api.telegram.events.Event;
public class ModifyMessageEvent extends Event {
private Message edited_message;
private String name;
public ModifyMessageEvent(Message edited_message) {
this.edited_message = edited_message;
}
public Message getEditedMessage() {
return edited_message;
}
@Override
public String getEventName() {
if (name == null)
super.getEventName();
return super.getEventName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy