lgg / vk-to-telegram-bot

Bot for auto-reposting posts from VK to Telegram channel
129 stars 21 forks source link

Add to docs how to setup multisources-multidest config. #32

Closed D4rk4 closed 6 years ago

lgg commented 7 years ago

@D4rk4 you mean (few VK sources =>(to) few telegram sources) in one config section?

D4rk4 commented 7 years ago

Yes, i think you must add some examples to documentation

lgg commented 7 years ago

This feature is not fully implemented yet. Watch #7 and #8 for updates

Badiboy commented 6 years ago

I simply add TWO config records first from group A to channel and second from groub B to channel and it works. I don't know if it's defined bahaviour or a lifehack... :)

private static $configs = [
   [
       //VK
       "vk" => "-xxx1",
       ....
       "t_chat" => "BadiX",
       ....
   ],
   [
       //VK
       "vk" => "-xxx2",
       ....
       "t_chat" => "BadiX",
       ....
       ],
];
lgg commented 6 years ago

@Badiboy it's ok, it is how this script should work.

lgg commented 6 years ago

Will fix with 2.0, check #38