teremterem / swipe-thought-bot

MIT License
0 stars 0 forks source link

Support multiple bots #31

Closed teremterem closed 3 years ago

teremterem commented 3 years ago
teremterem commented 3 years ago

You will have to combine chat id with bot id to ensure chat uniqueness. On the image below the first JSON is chat and the second JSON is user. As you can see chat id is the same as user id and will, subsequently, be the same across bots. image

teremterem commented 3 years ago

Also, read this to decide how to form primary key for chats in DDB:

teremterem commented 3 years ago

What for? Why do we need the same environment to support multiple bots? I do not see a use case for this.