converted to maven, added API and issue fix

This commit is contained in:
mastercake10
2018-01-01 23:22:51 +01:00
parent 63fd5207ee
commit 6199a119e0
13 changed files with 142 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
package de.Linus122.TelegramComponents;
public class Chat {
public String text;
public int chat_id;
public String parse_mode;
}

View File

@@ -0,0 +1,39 @@
package de.Linus122.TelegramComponents;
import java.util.UUID;
public class ChatMessageToMc {
UUID uuid_sender;
String content;
int chatID_sender;
public ChatMessageToMc(UUID uuid_sender, String content, int chatID_sender){
this.uuid_sender = uuid_sender;
this.content = content;
this.chatID_sender = chatID_sender;
}
public UUID getUuid_sender() {
return uuid_sender;
}
public void setUuid_sender(UUID uuid_sender) {
this.uuid_sender = uuid_sender;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public int getChatID_sender() {
return chatID_sender;
}
public void setChatID_sender(int chatID_sender) {
this.chatID_sender = chatID_sender;
}
}