File tree 13 files changed +40
-16
lines changed
plugin/src/main/groovy/org/bot4j
13 files changed +40
-16
lines changed Original file line number Diff line number Diff line change 3
3
import kong .unirest .HttpResponse ;
4
4
import kong .unirest .JsonNode ;
5
5
import kong .unirest .Unirest ;
6
- import org .bot4j .slack .model .onlyrd .AbstractSlackClass ;
6
+ import org .bot4j .slack .model .rd .AbstractSlackClass ;
7
7
import org .unify4j .common .*;
8
8
import org .unify4j .model .builder .HttpStatusBuilder ;
9
9
import org .unify4j .model .builder .HttpWrapBuilder ;
Original file line number Diff line number Diff line change 1
1
package org .bot4j .slack .model .builder ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
- import org .bot4j .slack .model .options .SlackConnections ;
4
+ import org .bot4j .slack .model .request .SlackConnections ;
5
5
6
6
import java .io .Serializable ;
7
7
Original file line number Diff line number Diff line change 1
1
package org .bot4j .slack .model .builder ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
- import org .bot4j .slack .model .options .SlackOptions ;
4
+ import org .bot4j .slack .model .request .SlackOptions ;
5
5
import org .unify4j .common .UniqueId4j ;
6
6
7
7
import java .io .Serializable ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .slack .model .onlyrd ;
1
+ package org .bot4j .slack .model .rd ;
2
2
3
3
import org .bot4j .slack .model .builder .SlackConnectionBuilder ;
4
4
import org .bot4j .slack .model .builder .SlackOptionBuilder ;
5
- import org .bot4j .slack .model .options .SlackConnections ;
6
- import org .bot4j .slack .model .options .SlackOptions ;
5
+ import org .bot4j .slack .model .request .SlackConnections ;
6
+ import org .bot4j .slack .model .request .SlackOptions ;
7
7
import org .slf4j .Logger ;
8
8
import org .slf4j .LoggerFactory ;
9
9
import org .unify4j .model .response .WrapResponse ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .slack .model .options ;
1
+ package org .bot4j .slack .model .request ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
4
import com .fasterxml .jackson .annotation .JsonInclude ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .slack .model .options ;
1
+ package org .bot4j .slack .model .request ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
4
import com .fasterxml .jackson .annotation .JsonInclude ;
Original file line number Diff line number Diff line change 3
3
import kong .unirest .HttpResponse ;
4
4
import kong .unirest .JsonNode ;
5
5
import kong .unirest .Unirest ;
6
- import org .bot4j .telegram .model .onlyrd .AbstractTelegramClass ;
6
+ import org .bot4j .telegram .model .rd .AbstractTelegramClass ;
7
7
import org .unify4j .common .Json4j ;
8
8
import org .unify4j .common .Object4j ;
9
9
import org .unify4j .common .String4j ;
Original file line number Diff line number Diff line change 1
1
package org .bot4j .telegram .model .builder ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
- import org .bot4j .telegram .model .options .TelegramConnections ;
4
+ import org .bot4j .telegram .model .request .TelegramConnections ;
5
5
6
6
import java .io .Serializable ;
7
7
Original file line number Diff line number Diff line change 1
1
package org .bot4j .telegram .model .builder ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
- import org .bot4j .telegram .model .options .TelegramOptions ;
4
+ import org .bot4j .telegram .model .request .TelegramOptions ;
5
5
import org .unify4j .common .UniqueId4j ;
6
6
7
7
import java .io .Serializable ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .telegram .model .onlyrd ;
1
+ package org .bot4j .telegram .model .rd ;
2
2
3
3
import org .bot4j .telegram .model .builder .TelegramConnectionBuilder ;
4
4
import org .bot4j .telegram .model .builder .TelegramOptionBuilder ;
5
5
import org .bot4j .telegram .model .enums .TelegramTextMode ;
6
- import org .bot4j .telegram .model .options .TelegramConnections ;
7
- import org .bot4j .telegram .model .options .TelegramOptions ;
6
+ import org .bot4j .telegram .model .request .TelegramConnections ;
7
+ import org .bot4j .telegram .model .request .TelegramOptions ;
8
8
import org .slf4j .Logger ;
9
9
import org .slf4j .LoggerFactory ;
10
10
import org .unify4j .common .Class4j ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .telegram .model .options ;
1
+ package org .bot4j .telegram .model .request ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
4
import com .fasterxml .jackson .annotation .JsonInclude ;
Original file line number Diff line number Diff line change 1
- package org .bot4j .telegram .model .options ;
1
+ package org .bot4j .telegram .model .request ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
4
import com .fasterxml .jackson .annotation .JsonInclude ;
Original file line number Diff line number Diff line change
1
+ package org .bot4j .viber .model .enums ;
2
+
3
+ public enum ViberTextMode {
4
+ TEXT ("text" ),
5
+ PICTURE ("picture" ),
6
+ VIDEO ("video" ),
7
+ FILE ("file" ),
8
+ LOCATION ("location" ),
9
+ CONTACT ("contact" ),
10
+ STICKER ("sticker" ),
11
+ CAROUSEL ("carousel" ),
12
+ CONTENT ("content" ),
13
+ URL ("url" );
14
+
15
+ ViberTextMode (String value ) {
16
+ this .value = value ;
17
+ }
18
+
19
+ private final String value ;
20
+
21
+ public String getValue () {
22
+ return value ;
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments