forked from voidbar/forwardgram
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathconfig.yml-sample
38 lines (29 loc) · 1.83 KB
/
config.yml-sample
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
# This has to be an integer. Read more [here](https://core.telegram.org/api/obtaining_api_id) | No quotes
api_id: *******
# Long 32 characters hash identifier. Read more [here](https://core.telegram.org/api/obtaining_api_id) | With quotes
api_hash: '********************************'
# Session name. Only one session (with a unique session name) can run at a time | With quotes
session_name: 'forwardgram'
# Discord Bot Token. Go create a bot on discord. | No quotes
discord_bot_token: '*****************************************************'
# Discord Channels | No quotes
discord_1_channel: ************************
discord_2_channel: ************************
discord_3_channel: ************************
discord_4_channel: ************************
# The channel names that you'd like to forward messages from. Just add input telegram channel names here.
# The user running the client must have these channels present on it's dialogs.
input_channel_names:
- 'channel_send'
# The output channel names that the messages will be forwarded to.
# The user running the client must have a write access to those channels, and have the channels present on theirs dialogs.
output_channel_names:
- 'channel_recieve'
# The channel IDs that you'd like to forward messages from. Just get channel id from channels you put as input_channel_names above (You can get a channel ID by forwarding any message from it to @userinfobot , and removing the -100 from the start )
input_channel_ids:
- **********
# The output channel IDs that the messages will be forwarded to. Just get channel id from channels you put as output_channel_names above (You can get a channel ID by forwarding any message from it to @userinfobot , and removing the -100 from the start )
output_channel_ids:
- **********
# Do not touch this:
input_channel_ids: []