-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathAnswer.java
More file actions
70 lines (57 loc) · 2.66 KB
/
Copy pathAnswer.java
File metadata and controls
70 lines (57 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package com.github.stickerifier.stickerify.telegram;
/**
* Enum class containing the text replies the bot can use.
*/
public enum Answer {
HELP("""
Send me the media you want to convert and I will take care of the rest.
Based on what you send, I will answer the following:
- the converted media, if you sent a supported file (use the **/supported** command to read the full list)
- no file, if you sent a media already suiting Telegram's requirements
- an error message, if you sent either an unsupported or a corrupted file
- an informative message for any message without a file
Once the file is ready, head to [Stickers bot](https://t.me/Stickers) to create a new sticker.
"""),
FILE_READY("""
Your sticker file is ready!
Head to [Stickers bot](https://t.me/Stickers) to create a new sticker.
"""),
FILE_ALREADY_VALID("""
The media you sent was already suitable to be a Telegram sticker.
Send it to [Stickers bot](https://t.me/Stickers) to add it as a new sticker.
"""),
FILE_TOO_LARGE("""
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.
"""),
ABOUT("""
This bot is open source, check it out on [GitHub](https://github.com/Stickerifier/Stickerify).
Looking for sticker packs? Try [MeminiCustom](https://t.me/addstickers/MeminiCustom) and [VideoMemini](https://t.me/addstickers/VideoMemini)!
"""),
ERROR("""
The file conversion was unsuccessful: use the **/supported** command to read the full list of supported files.
If you think it should have worked, please report the issue on [GitHub](https://github.com/Stickerifier/Stickerify/issues/new/choose).
"""),
PRIVACY_POLICY("""
You can view our privacy policy by visiting [this link](https://stickerifier.github.io/Stickerify/PRIVACY_POLICY.html).
If you have any questions or concerns, feel free to reach out to us at [stickerifier@gmail.com](mailto:stickerifier@gmail.com).
"""),
PROCESSING("""
<tg-thinking>Processing file...</tg-thinking>
"""),
SUPPORTED_FORMATS("""
| Type | Supported formats |
|:---------|:------------------------------------------------|
| images | png, jpg, static webp, tiff, ico, svg, psd |
| videos | gif, mov, avi, mp4, webm, m4v, mkv, live photos |
| stickers | static, video, animated |
---
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).
""");
private final String text;
Answer(String text) {
this.text = text;
}
public String getText() {
return text;
}
}