File size: 1,281 Bytes
861d763
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
WelcomeText = \
"""

Hi **%(first_name)s**, send me a file or add me as an admin to any channel to instantly generate file links.



Add me to your channel to instantly generate links for any downloadable media. Once received, I will automatically attach appropriate buttons to the post containing the URL. If you want me to ignore a given post, you can insert `#pass` in the post.



- /start to get this message.

- /info to get user info.

- /log to get bot logs. (admin only!)

"""

UserInfoText = \
"""

**First Name:**

`{sender.first_name}`



**Last Name:**

`{sender.last_name}`



**User ID:**

`{sender.id}`



**Username:**

`@{sender.username}`

"""

FileLinksText = \
"""

**Download Link:**

`%(dl_link)s`

**Telegram File:**

`%(tg_link)s`

"""

MediaLinksText = \
"""

**Download Link:**

`%(dl_link)s`

**Stream Link:**

`%(stream_link)s`

**Telegram File:**

`%(tg_link)s`

"""

InvalidQueryText = \
"""

Query data mismatched.

"""

MessageNotExist = \
"""

File revoked or not exist.

"""

LinkRevokedText = \
"""

The link has been revoked. It may take some time for the changes to take effect.

"""

InvalidPayloadText = \
"""

Invalid payload.

"""

MediaTypeNotSupportedText = \
"""

Sorry, this media type is not supported.

"""