|
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 (use the **/supported** command to read the full list) |
| 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 bot](https://t.me/Stickers) to create a new sticker. |
18 | 18 | """), |
19 | 19 | FILE_READY(""" |
20 | | - Your sticker file is ready\\! |
21 | | - Head to [Stickers](https://t.me/Stickers) to create a new sticker\\. |
| 20 | + Your sticker file is ready! |
| 21 | +
|
| 22 | + Head to [Stickers bot](https://t.me/Stickers) to create a new sticker. |
22 | 23 | """), |
23 | 24 | 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\\. |
| 25 | + The media you sent was already suitable to be a Telegram sticker. |
| 26 | + Send it to [Stickers bot](https://t.me/Stickers) to add it as a new sticker. |
26 | 27 | """), |
27 | 28 | 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\\. |
| 29 | + 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 | 30 | """), |
30 | 31 | ABOUT(""" |
31 | | - This bot is open source, check it out on [Github](https://github.com/Stickerifier/Stickerify)\\. |
| 32 | + This bot is open source, check it out on [GitHub](https://github.com/Stickerifier/Stickerify). |
32 | 33 |
|
33 | | - Looking for sticker packs? Try [MeminiCustom](https://t.me/addstickers/MeminiCustom) and [VideoMemini](https://t.me/addstickers/VideoMemini)\\! |
| 34 | + Looking for sticker packs? Try [MeminiCustom](https://t.me/addstickers/MeminiCustom) and [VideoMemini](https://t.me/addstickers/VideoMemini)! |
34 | 35 | """), |
35 | 36 | ERROR(""" |
36 | | - The file conversion was unsuccessful: only images, gifs, standard and video stickers are supported\\. |
| 37 | + The file conversion was unsuccessful: use the **/supported** command to read the full list of supported files. |
37 | 38 |
|
38 | | - If you think it should have worked, please report the issue on [Github](https://github.com/Stickerifier/Stickerify/issues/new/choose)\\. |
39 | | - """, true), |
| 39 | + If you think it should have worked, please report the issue on [GitHub](https://github.com/Stickerifier/Stickerify/issues/new/choose). |
| 40 | + """), |
40 | 41 | PRIVACY_POLICY(""" |
41 | | - You can view our privacy policy by visiting [this link](https://stickerifier.github.io/Stickerify/PRIVACY_POLICY.html)\\. |
| 42 | + You can view our privacy policy by visiting [this link](https://stickerifier.github.io/Stickerify/PRIVACY_POLICY.html). |
| 43 | +
|
| 44 | + If you have any questions or concerns, feel free to reach out to us at [stickerifier@gmail.com](mailto:stickerifier@gmail.com). |
| 45 | + """), |
| 46 | + PROCESSING(""" |
| 47 | + <tg-thinking>Processing file...</tg-thinking> |
| 48 | + """), |
| 49 | + SUPPORTED_FORMATS(""" |
| 50 | + | Type | Supported formats | |
| 51 | + |:---------|:------------------------------------------------| |
| 52 | + | images | png, jpg, static webp, tiff, ico, svg, psd | |
| 53 | + | videos | gif, mov, avi, mp4, webm, m4v, mkv, live photos | |
| 54 | + | stickers | static, video, animated | |
42 | 55 |
|
43 | | - If you have any questions or concerns, feel free to reach out to us\\. |
| 56 | + --- |
| 57 | +
|
| 58 | + If you want to see a format added, please let us know by creating an issue on [GitHub](https://github.com/Stickerifier/Stickerify/issues/new). |
44 | 59 | """); |
45 | 60 |
|
46 | 61 | private final String text; |
47 | | - private final boolean disableLinkPreview; |
48 | 62 |
|
49 | 63 | Answer(String text) { |
50 | | - this(text, false); |
51 | | - } |
52 | | - |
53 | | - Answer(String text, boolean disableLinkPreview) { |
54 | 64 | this.text = text; |
55 | | - this.disableLinkPreview = disableLinkPreview; |
56 | 65 | } |
57 | 66 |
|
58 | 67 | public String getText() { |
59 | 68 | return text; |
60 | 69 | } |
61 | | - |
62 | | - public boolean isDisableLinkPreview() { |
63 | | - return disableLinkPreview; |
64 | | - } |
65 | 70 | } |
0 commit comments