Skip to content

Telegram [parse_mode] and <a> tag question #1402

Closed Answered by filippotoso
kirchevsky asked this question in Q&A
Discussion options

You must be logged in to vote

Just tested and it works correctly:

class TelegramController extends Controller
{
    public function index(Request $request)
    {
        DriverManager::loadDriver(TelegramDriver::class);
        DriverManager::loadDriver(TelegramPhotoDriver::class);
        DriverManager::loadDriver(TelegramLocationDriver::class);
        DriverManager::loadDriver(TelegramContactDriver::class);

        $config = array_merge([
            'config' => config('botman.config')
        ], [
            'telegram' => config('botman.telegram', [])
        ]);

        $botman = BotManFactory::create($config, new LaravelCache);

        $botman->hears('Hi', function (BotMan $bot) {
            $url = 'https:/…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kirchevsky
Comment options

@kirchevsky
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kirchevsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants