Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Moving the models/types to an independent package
Browse files Browse the repository at this point in the history
  • Loading branch information
shibme committed Feb 12, 2016
1 parent 0a9a748 commit 136ab5a
Show file tree
Hide file tree
Showing 31 changed files with 8 additions and 1,400 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add to your `pom.xml`
<dependency>
<groupId>me.shib.java.lib</groupId>
<artifactId>jtelebot</artifactId>
<version>0.9.1</version>
<version>1.0</version>
</dependency>
```

Expand Down
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>me.shib.java.lib</groupId>
<artifactId>jtelebot</artifactId>
<version>0.9.1</version>
<version>1.0</version>
<name>JTeleBot</name>
<description>A Java library for Telegram Bot API</description>
<url>https://github.com/shibme/jtelebot</url>
Expand Down Expand Up @@ -56,7 +56,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<version>3.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
Expand Down Expand Up @@ -145,6 +145,11 @@
</build>

<dependencies>
<dependency>
<groupId>me.shib.java.lib</groupId>
<artifactId>jtelebot-models</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>me.shib.java.lib</groupId>
<artifactId>rest-client-java</artifactId>
Expand Down
7 changes: 0 additions & 7 deletions src/me/shib/java/lib/jtelebot/service/TelegramBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -678,11 +678,4 @@ public Update[] getUpdatesImmediately() throws IOException {
public File downloadFile(String file_id) throws IOException {
return downloadFile(file_id, null);
}

/**
* The types of chat actions available
*/
public enum ChatAction {
typing, upload_photo, record_video, upload_video, record_audio, upload_audio, upload_document, find_location
}
}
42 changes: 0 additions & 42 deletions src/me/shib/java/lib/jtelebot/types/Audio.java

This file was deleted.

57 changes: 0 additions & 57 deletions src/me/shib/java/lib/jtelebot/types/Chat.java

This file was deleted.

39 changes: 0 additions & 39 deletions src/me/shib/java/lib/jtelebot/types/ChatId.java

This file was deleted.

26 changes: 0 additions & 26 deletions src/me/shib/java/lib/jtelebot/types/ChosenInlineResult.java

This file was deleted.

32 changes: 0 additions & 32 deletions src/me/shib/java/lib/jtelebot/types/Contact.java

This file was deleted.

37 changes: 0 additions & 37 deletions src/me/shib/java/lib/jtelebot/types/Document.java

This file was deleted.

29 changes: 0 additions & 29 deletions src/me/shib/java/lib/jtelebot/types/ForceReply.java

This file was deleted.

31 changes: 0 additions & 31 deletions src/me/shib/java/lib/jtelebot/types/InlineQuery.java

This file was deleted.

25 changes: 0 additions & 25 deletions src/me/shib/java/lib/jtelebot/types/InlineQueryResult.java

This file was deleted.

Loading

0 comments on commit 136ab5a

Please sign in to comment.