converted to maven, added API and issue fix
This commit is contained in:
7
src/main/java/de/Linus122/TelegramComponents/Chat.java
Executable file
7
src/main/java/de/Linus122/TelegramComponents/Chat.java
Executable file
@@ -0,0 +1,7 @@
|
||||
package de.Linus122.TelegramComponents;
|
||||
|
||||
public class Chat {
|
||||
public String text;
|
||||
public int chat_id;
|
||||
public String parse_mode;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user