🌐 Quantum Coin
Google permitted and registered channel http://t.me/xn_cr8h/google54b53eee98d01f02.html
https://news.1rj.ru/str/joinchat/GSxRSlkeN90gAMeICFU6-g armin ∆ @ $$ @botcoin bitcoin $$:
https://news.1rj.ru/str/c/1296567843/720
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3640226293222132&output=html&h=90&w=912&bih=433&biw=962&adx=25&ady=3760&ga_vid=655737417.1590747521&ga_sid=1590747868&ga_hid=18735883&slotname=7003225889&adk=930998818&url=https://www.ipaddress.
https://news.1rj.ru/str/eshghboy
https://news.1rj.ru/str/c/1296567843/720
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-3640226293222132&output=html&h=90&w=912&bih=433&biw=962&adx=25&ady=3760&ga_vid=655737417.1590747521&ga_sid=1590747868&ga_hid=18735883&slotname=7003225889&adk=930998818&url=https://www.ipaddress.
https://news.1rj.ru/str/eshghboy
Forwarded from 5G @Botman
https://news.1rj.ru/str/c/1296567843/720
My birth. 👼
My birth. 👼
The official Telegram on Telegram. Much recursion. Very Telegram. Wow.
https://news.1rj.ru/str/telegram
https://news.1rj.ru/str/telegram
Telegram
Telegram News
The official Telegram on Telegram. Much recursion. Very Telegram. Wow.
https://news.1rj.ru/str/joinchat/GSxRSlkeN90gAMeICFU6-g armin ∆ @ $$ @botcoin bitcoin $$
Forwarded from Dr. BOTMAN (Armin)
Botman Telegram
bots telegram-bot
they could help me I do not know how to put buttons in telegram, only in facebook messenger, where the error can be ?
$botman->hears('1', function ($bot) { $bot->reply("• Android versión 4.4.2 (KitKat) o superior • Espacio en memoria de almacenamiento • Memoria RAM superior a 1 GB • Duración de batería superior a 12 horas de uso continuo • Conexión a red celular 3G o superior • Conexión a Internet");
$bot->reply('¿ Algo más en lo que pueda ayudarte ?') ->addButton(Button::create('Tell a joke') ) ->addButton(Button::create('Give me a fancy quote') )
});
Share Improve this question Follow
askedOct 30 '18 at 20:02

Andrea Hernández
43●66 bronze badges
You need isolate the problem and debug from there. If you're stuck provide a clear explanation of what isn't working with a Minimal, Complete, and Verifiable example. I suggest reading How to Ask a good question. Also, be sure to take the tour– André DS Oct 30 '18 at 20:07
Add a comment
1 Answer
order by
active oldest votes
Up vote0Down voteAccepted
This is solved using the classes of app / Conversations.php
<?php namespace App\Conversations; use Illuminate\Foundation\Inspiring; use BotMan\BotMan\Messages\Incoming\Answer; use BotMan\BotMan\Messages\Outgoing\Question; use BotMan\BotMan\Messages\Outgoing\Actions\Button; use BotMan\BotMan\Messages\Conversations\Conversation; class ExampleConversation extends Conversation { /** * First question */ public function askReason() { $question = Question::create("Huh - you woke me up. What do you need?") ->fallback('Unable to ask question') ->callbackId('ask_reason') ->addButtons([ Button::create('Tell a joke')->value('joke'), Button::create('Give me a fancy quote')->value('quote'), ]); return $this->ask($question, function (Answer $answer) { if ($answer->isInteractiveMessageReply()) { if ($answer->getValue() === 'joke') { $joke = json_decode(file_get_contents('http://api.icndb.com/jokes/random')); $this->say($joke->value->joke); } else { $this->say(Inspiring::quote()); } } }); } //clases dinamicas, cambiar estructura de base de datos :v /** * Start the conversation */ public function run() { $this->askReason(); } }
and in your botman.php :
$botman->hears('/start', function (BotMan $bot) { $bot->startConversation(new ExampleConversation()); });
Share Improve this answer Follow
answeredMar 8 '19 at 21:23

Andrea Hernández
43●66 bronze badges
Your Answer
Body
Add picture
Log in
OR
Name
Email
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Post Your Answermeta chat tour help blog privacy policy legal contact uscookie settings full site
2021 Stack Exchange, Inc. user contributions under cc by-sa
allyearquartermonthweek

ArminFreising, Bavaria, Germany
0
.net, google-chrome, process

Armin
0
string, intellij-idea, java

arminVienna, Austria
0
c, pointers, three.js

Armin
0
mysql, highcharts, highstock

ArminMunich, Germany
0
c#

ArminCologne, Germany
0
php, javanoscript, composer-php

ArminRemote, Europe or USA
0
css

Armin
0
postgresql

ArminAmsterdam, Netherlands
0
php, macos, mamp

arminShiraz, Iran
0
c#, java, multithreading

Armin
0
flash, arabic, tlf

armin
0
iphone, cursor, cursor-position

ArminBerlin, Germany
0
sonarqube

ArminSan Francisco, CA, United States
0
ios, objective-c, iphone

Armin
0
jquery

arminSydney NSW, Australia
0
java, ide, security

Armin
0
c#, ldap, directoryentry

Armin
0
linux, c, ruby

ArminCologne, Germany
0
javanoscript, macos, xcode

Armin
0

Armin
0
android, android-support-library, android-fileprovider

ArminMontenegro
0
java, maven-2, maven

Armin
0

Armin
0

Armin
0
c#, arrays, multithreading

ArminNorth America
0
amazon-cognito, c#, .net-core

ArminGermany
0
java, reactive-programming, rx-java

Armin
0

arminGermany
0
bots telegram-bot
they could help me I do not know how to put buttons in telegram, only in facebook messenger, where the error can be ?
$botman->hears('1', function ($bot) { $bot->reply("• Android versión 4.4.2 (KitKat) o superior • Espacio en memoria de almacenamiento • Memoria RAM superior a 1 GB • Duración de batería superior a 12 horas de uso continuo • Conexión a red celular 3G o superior • Conexión a Internet");
$bot->reply('¿ Algo más en lo que pueda ayudarte ?') ->addButton(Button::create('Tell a joke') ) ->addButton(Button::create('Give me a fancy quote') )
});
Share Improve this question Follow
askedOct 30 '18 at 20:02

Andrea Hernández
43●66 bronze badges
You need isolate the problem and debug from there. If you're stuck provide a clear explanation of what isn't working with a Minimal, Complete, and Verifiable example. I suggest reading How to Ask a good question. Also, be sure to take the tour– André DS Oct 30 '18 at 20:07
Add a comment
1 Answer
order by
active oldest votes
Up vote0Down voteAccepted
This is solved using the classes of app / Conversations.php
<?php namespace App\Conversations; use Illuminate\Foundation\Inspiring; use BotMan\BotMan\Messages\Incoming\Answer; use BotMan\BotMan\Messages\Outgoing\Question; use BotMan\BotMan\Messages\Outgoing\Actions\Button; use BotMan\BotMan\Messages\Conversations\Conversation; class ExampleConversation extends Conversation { /** * First question */ public function askReason() { $question = Question::create("Huh - you woke me up. What do you need?") ->fallback('Unable to ask question') ->callbackId('ask_reason') ->addButtons([ Button::create('Tell a joke')->value('joke'), Button::create('Give me a fancy quote')->value('quote'), ]); return $this->ask($question, function (Answer $answer) { if ($answer->isInteractiveMessageReply()) { if ($answer->getValue() === 'joke') { $joke = json_decode(file_get_contents('http://api.icndb.com/jokes/random')); $this->say($joke->value->joke); } else { $this->say(Inspiring::quote()); } } }); } //clases dinamicas, cambiar estructura de base de datos :v /** * Start the conversation */ public function run() { $this->askReason(); } }
and in your botman.php :
$botman->hears('/start', function (BotMan $bot) { $bot->startConversation(new ExampleConversation()); });
Share Improve this answer Follow
answeredMar 8 '19 at 21:23

Andrea Hernández
43●66 bronze badges
Your Answer
Body
Add picture
Log in
OR
Name
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Post Your Answermeta chat tour help blog privacy policy legal contact uscookie settings full site
2021 Stack Exchange, Inc. user contributions under cc by-sa
allyearquartermonthweek

ArminFreising, Bavaria, Germany
0
.net, google-chrome, process

Armin
0
string, intellij-idea, java

arminVienna, Austria
0
c, pointers, three.js

Armin
0
mysql, highcharts, highstock

ArminMunich, Germany
0
c#

ArminCologne, Germany
0
php, javanoscript, composer-php

ArminRemote, Europe or USA
0
css

Armin
0
postgresql

ArminAmsterdam, Netherlands
0
php, macos, mamp

arminShiraz, Iran
0
c#, java, multithreading

Armin
0
flash, arabic, tlf

armin
0
iphone, cursor, cursor-position

ArminBerlin, Germany
0
sonarqube

ArminSan Francisco, CA, United States
0
ios, objective-c, iphone

Armin
0
jquery

arminSydney NSW, Australia
0
java, ide, security

Armin
0
c#, ldap, directoryentry

Armin
0
linux, c, ruby

ArminCologne, Germany
0
javanoscript, macos, xcode

Armin
0

Armin
0
android, android-support-library, android-fileprovider

ArminMontenegro
0
java, maven-2, maven

Armin
0

Armin
0

Armin
0
c#, arrays, multithreading

ArminNorth America
0
amazon-cognito, c#, .net-core

ArminGermany
0
java, reactive-programming, rx-java

Armin
0

arminGermany
0
Forwarded from Dr. BOTMAN (Armin)
documentation, phpdoc, phpdocumentor2

ArminMunich, Germany
0
css, height, sticky-footer

Armin
0
google-chrome, spartacus-storefront, pdf

ArminAustria
0
android, java, android-theme

ArminStuttgart, Germany
0
css, html, javanoscript

ArminFreiburg, Germany
0
noscripting, adobe, extendnoscript

ArminAustin, TX
0
jquery, css, iframe

armin
0
string, input, string-comparison
1
2345
…
72Next
weekly / monthly / quarterly reputation leagues
php, apache, authentication

Armin
0

ArminCanada
0
r, vector, r-faq

ArminAarhus, Denmark
0
matlab, algorithm, vector

Armin
0
android, android-image, searchview

Armin
0
css, mobile, twitter-bootstrap

Armin
0

Armin
0
c++, singleton, variadic-functions

Armin
0
key-bindings, event-handling, python-3.x

Armin
0

Armin
0
browser, analytics, matomo

Armin
0
android, string, compare

ArminToronto, Canada
0
git

Armin
0
iphone, ios, avaudiosession

Armin
0
evaluation, nlp, ontology

armin
0
javanoscript, google-maps, google-maps-api-3

arminIran
0
prestashop

Armin
0

Armin
0

ArminBavaria, Germany
0
delphi, rest, indy

Armin
0
c, system-calls

Armin
0
python, transpose, matplotlib

armin
0

Armin
0
apache, path, require-once

ArminIran
0
python, pandas, scikit-learn

Armin
0
ios, jbchartview, swift

Armin
0

Armin
0
python, homebrew, macports

armin
0
c++, windows, mingw

Armin
0

Armin
0
ios, swift, xcode

Armin
0
objective-c, cocoa, cocoa-touch

Armin
0
html, javanoscript, php

Armin
0
r, dataframe, dplyr

ArminTuzla, Bosnia and Herzegovina
0
swift, ios, segue

Armin
0
javanoscript, dom, c#
Prev1
2
345
…
72

ArminMunich, Germany
0
css, height, sticky-footer

Armin
0
google-chrome, spartacus-storefront, pdf

ArminAustria
0
android, java, android-theme

ArminStuttgart, Germany
0
css, html, javanoscript

ArminFreiburg, Germany
0
noscripting, adobe, extendnoscript

ArminAustin, TX
0
jquery, css, iframe

armin
0
string, input, string-comparison
1
2345
…
72Next
weekly / monthly / quarterly reputation leagues
php, apache, authentication

Armin
0

ArminCanada
0
r, vector, r-faq

ArminAarhus, Denmark
0
matlab, algorithm, vector

Armin
0
android, android-image, searchview

Armin
0
css, mobile, twitter-bootstrap

Armin
0

Armin
0
c++, singleton, variadic-functions

Armin
0
key-bindings, event-handling, python-3.x

Armin
0

Armin
0
browser, analytics, matomo

Armin
0
android, string, compare

ArminToronto, Canada
0
git

Armin
0
iphone, ios, avaudiosession

Armin
0
evaluation, nlp, ontology

armin
0
javanoscript, google-maps, google-maps-api-3

arminIran
0
prestashop

Armin
0

Armin
0

ArminBavaria, Germany
0
delphi, rest, indy

Armin
0
c, system-calls

Armin
0
python, transpose, matplotlib

armin
0

Armin
0
apache, path, require-once

ArminIran
0
python, pandas, scikit-learn

Armin
0
ios, jbchartview, swift

Armin
0

Armin
0
python, homebrew, macports

armin
0
c++, windows, mingw

Armin
0

Armin
0
ios, swift, xcode

Armin
0
objective-c, cocoa, cocoa-touch

Armin
0
html, javanoscript, php

Armin
0
r, dataframe, dplyr

ArminTuzla, Bosnia and Herzegovina
0
swift, ios, segue

Armin
0
javanoscript, dom, c#
Prev1
2
345
…
72