forked from ShivangKakkar/InstagramBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathData.py
More file actions
55 lines (41 loc) · 1.45 KB
/
Data.py
File metadata and controls
55 lines (41 loc) · 1.45 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
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hii {},
I am instagram Downloader bot i can download profile pictures, videos, images and reels from instagram with caption.
You can also authorize me to download private posts.
"""
# Home Button
home_buttons = [
[InlineKeyboardButton(text="Return Home", callback_data="home")]
]
# Rest Buttons
buttons = [
[InlineKeyboardButton("YouTube", url="https://youtube.com/channel/UC2anvk7MNeNzJ6B4c0SZepw")],
[
InlineKeyboardButton("Help", callback_data="help"),
InlineKeyboardButton("Support Group", url="https://t.me/+7ScFy39Vckk5MWQ1")
],
[InlineKeyboardButton("Updates Channel", url="https://t.me/pyrogrammers")],
]
# Help Message
HELP = """
1) **Images, Videos and Reels**
Send the link here to get the post contents including caption.
2) **Profile Pictures**
Use the command `/profile_pic` or `/dp` along with instagram username to get its profile picture.
Example : `/dp StarkProgrammer`
3) **Private Posts**
Authorize the bot to download private posts. Use /auth
**Note** : Stories and IGTV are not supported.
Use /auth to authorize and /unauth to unauthorize.
"""
# About Message
ABOUT = """
**About This Bot**
A telegram bot to download instagram
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @pyrogrammers
"""