it.netgrid.got.telegram.events.ErrorEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram-connector Show documentation
Show all versions of telegram-connector Show documentation
Bauer's stand-alone connector to the Telegram API
package it.netgrid.got.telegram.events;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class ErrorEvent {
private String sender;
private String content;
public ErrorEvent(String sender, String content) {
setSender(sender);
setContent(content);
}
public String getSender() {
return sender;
}
public void setSender(String sender) {
this.sender = sender;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}