|
6 | 6 | public enum Answer { |
7 | 7 |
|
8 | 8 | HELP(""" |
9 | | - Send me the media you want to convert and I will take care of the rest\\. |
| 9 | + Send me the media you want to convert and I will take care of the rest. |
10 | 10 |
|
11 | 11 | Based on what you send, I will answer the following: |
12 | | - \\- the converted media, if you sent a supported file \\(images, gifs, standard and video stickers are supported\\) |
13 | | - \\- no file, if you sent a media already suiting Telegram's requirements |
14 | | - \\- an error message, if you sent either an unsupported or a corrupted file |
15 | | - \\- an informative message for any message without a file |
| 12 | + - the converted media, if you sent a supported file (images, gifs, standard and video stickers are supported) |
| 13 | + - no file, if you sent a media already suiting Telegram's requirements |
| 14 | + - an error message, if you sent either an unsupported or a corrupted file |
| 15 | + - an informative message for any message without a file |
16 | 16 |
|
17 | | - Once the file is ready, head to [Stickers](https://t.me/Stickers) to create a new sticker\\. |
| 17 | + Once the file is ready, head to [Stickers](https://t.me/Stickers) to create a new sticker. |
18 | 18 | """), |
19 | 19 | FILE_READY(""" |
20 | 20 | Your sticker file is ready\\! |
21 | 21 | Head to [Stickers](https://t.me/Stickers) to create a new sticker\\. |
22 | 22 | """), |
23 | 23 | FILE_ALREADY_VALID(""" |
24 | | - The media you sent was already suitable to be a Telegram sticker\\. |
25 | | - Send it to [Stickers](https://t.me/Stickers) to add it as a new sticker\\. |
| 24 | + The media you sent was already suitable to be a Telegram sticker. |
| 25 | + Send it to [Stickers](https://t.me/Stickers) to add it as a new sticker. |
26 | 26 | """), |
27 | 27 | FILE_TOO_LARGE(""" |
28 | | - The file can't be converted because Telegram bots can't handle files larger than 20 MB at the moment: please send a smaller one\\. |
| 28 | + The file can't be converted because Telegram bots can't handle files larger than 20 MB at the moment: please send a smaller one. |
29 | 29 | """), |
30 | 30 | ABOUT(""" |
31 | | - This bot is open source, check it out on [Github](https://github.com/Stickerifier/Stickerify)\\. |
| 31 | + This bot is open source, check it out on [Github](https://github.com/Stickerifier/Stickerify). |
32 | 32 |
|
33 | | - Looking for sticker packs? Try [MeminiCustom](https://t.me/addstickers/MeminiCustom) and [VideoMemini](https://t.me/addstickers/VideoMemini)\\! |
| 33 | + Looking for sticker packs? Try [MeminiCustom](https://t.me/addstickers/MeminiCustom) and [VideoMemini](https://t.me/addstickers/VideoMemini)! |
34 | 34 | """), |
35 | 35 | ERROR(""" |
36 | | - The file conversion was unsuccessful: only images, gifs, standard and video stickers are supported\\. |
| 36 | + The file conversion was unsuccessful: only images, gifs, standard and video stickers are supported. |
37 | 37 |
|
38 | | - If you think it should have worked, please report the issue on [Github](https://github.com/Stickerifier/Stickerify/issues/new/choose)\\. |
39 | | - """, true), |
| 38 | + If you think it should have worked, please report the issue on [Github](https://github.com/Stickerifier/Stickerify/issues/new/choose). |
| 39 | + """), |
40 | 40 | PRIVACY_POLICY(""" |
41 | | - You can view our privacy policy by visiting [this link](https://stickerifier.github.io/Stickerify/PRIVACY_POLICY.html)\\. |
| 41 | + You can view our privacy policy by visiting [this link](https://stickerifier.github.io/Stickerify/PRIVACY_POLICY.html). |
42 | 42 |
|
43 | | - If you have any questions or concerns, feel free to reach out to us\\. |
| 43 | + If you have any questions or concerns, feel free to reach out to us. |
| 44 | + """), |
| 45 | + PROCESSING(""" |
| 46 | + <tg-thinking>Processing file...</tg-thinking> |
44 | 47 | """); |
45 | 48 |
|
46 | 49 | private final String text; |
47 | | - private final boolean disableLinkPreview; |
48 | 50 |
|
49 | 51 | Answer(String text) { |
50 | | - this(text, false); |
51 | | - } |
52 | | - |
53 | | - Answer(String text, boolean disableLinkPreview) { |
54 | 52 | this.text = text; |
55 | | - this.disableLinkPreview = disableLinkPreview; |
56 | 53 | } |
57 | 54 |
|
58 | 55 | public String getText() { |
59 | 56 | return text; |
60 | 57 | } |
61 | | - |
62 | | - public boolean isDisableLinkPreview() { |
63 | | - return disableLinkPreview; |
64 | | - } |
65 | 58 | } |
0 commit comments