How to store or create user from botman #1360
donmbelembe
started this conversation in
General
Replies: 1 comment
-
Just create a table with two fields: platform and platform_id The platform field will be filled with something like webchat, telegram and so on depending on the driver you are using Then you can user a middleware (https://botman.io/2.0/middleware) to updateOrCreate() a user from those two fields. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to know if there is best practice to create a user the first time someone text you.
looks like there is already a thread on the forum, but the forum seems down. https://botman.io/forum/d/40-how-to-store-user-information-to-mysql-database
Beta Was this translation helpful? Give feedback.
All reactions