core icon indicating copy to clipboard operation
core copied to clipboard

/chats * with multiple bots

Open sascha-hendel opened this issue 2 years ago • 1 comments

I run two different bots on my machine with php-telegram-bot. I noticed, that on invoking /chats * the list of users is always summarized from both bots :( I had a look on the mysql tables. It looks like all of the data does not have any reference to the specific bot. Is that true or do I miss something? If data is not bot specific, is it possible to use separate databases for every bot (or another way to make data bot specific)?

sascha-hendel avatar Dec 23 '23 14:12 sascha-hendel

i think its recommended to use a separate database for each bot. you just need to create a second database and import the structure into the 2nd database.

Hitmare avatar Jan 02 '24 21:01 Hitmare