G
G
Gikerven2022-03-18 10:16:29
css
Gikerven, 2022-03-18 10:16:29

How to implement a pre-prepared dialogue bot script?

Hello!
Tell me how you can implement the following Telegram bot response function: It is
necessary that the bot respond to the same request from the user in order from a pre-prepared array of responses. To produce keyboards with tracking the user level in the database, as I understand it, is not the best option.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Rublev, 2016-06-10
@FaloSun

Angles can be done through svg, but I don't know if it's friendly with old IE, most likely not.
Everything else is elementary, like ordinary bg, on which svg is superimposed in the form of white corners.
As for adaptability, you need to look at each size and carefully edit the styles.

H
HamSter, 2016-06-10
@HamSter007

If only to suggest, then svg is not needed here, everything is done backgroundby + pseudo-elements :before, :after!
The rest is a freelance job!!!

A
Alexey Verkhovtsev, 2016-06-10
@seftomsk

Yeah, thanks of course, but the options with svg and pseudo-elements are understandable, but how can I cram something from the content into this block without positioning, roughly speaking such a block, I make a bg with a picture where the girl’s hand is square, after that or svg or pseudo I make this triangle for him or that it is not clear, but how will I have to cram a block with tablets and text without positioning into this "triangle"5dfabb0d2c2143489dbb40fb26d5339c.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question