Conflict telegram.php config file
sghadery opened this issue · 1 comments
sghadery commented
Hi,
i use a telegram-bot-sdk library in our project.
this library publish telegram.php file in app/config and this conflict with your vendor:publish command. how can i solve that?
setiawanhu commented
Hi @sghadery!
I think there will be no issue with it, just combine the config arrays from the telegram-bot-sdk
library and the laravel-madeline-proto
one.
after the combining, the telegram.php
file should be look like this:
// config/telegram.php
return [
'telegram-bot-sdk-key' => [
'other-telegram-bot-sdk-key' => 'value'
],
'sessions' => [ // laravel-madeline-proto's
// ...
],
'settings' => [ // laravel-madeline-proto's
// ...
],
];