Telegram Bots - How to Create Reply Menus With Icons Like Mypokerbot

Telegram Bots - How Can I create Reply Menus with icons like mypokerbot?

You should use emoji, taking from here:

Clicking on Unicode column you can get values in different encodings.

Concatenate emoji string with your message to build your keyboard text.

For Java it will be:

String s = new String(new byte[]{(byte) 0xF0, (byte) 0x9F, (byte) 0x98, (byte) 0x81}, "UTF-8");


String s = "\uD83D\uDE4C" + "myKeyboardTest";

For PHP I think something like this:

"\xF0\x9F\x98\x81" . "your super keyboard"

Find two consecutive rows

Assuming the rows have sequential IDs, something like this may be what you're looking for:

select top 1 * 
Bills b1
inner join Bills b2 on = - 1
b1.IsEstimate = 1 and b2.IsEstimate = 1
order by
b1.BillDate desc

Related Topics

Leave a reply