• Hi your plugin is amazing, great job.
    I wanted to know how i can add the icons in button keyboard?

    i have create a command like /address and bot should suggest which of the 4 branches of the company u need to know the address, in keyboard standard template i have added something like that:

    1f600 Location1, Location2; Location3, Location4

    but aside the location1 i continue to see 1f600 and not the emoji where is my mistake?

    Regards

    Jack

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marco Milesi

    (@milmor)

    Hi,
    Did you try to use your phone keyboard?

    You could also copy/paste the char directly in the text field:
    https://unicode.org/emoji/charts/full-emoji-list.html.

    Thread Starter gnappo

    (@gnappo)

    of course i have tried but appears always the code and not the emoji, i have tried also to paste ?? into keyboard standard template but when you save it the emoji disappear in the keyboard standard template field.

    How i can do?

    Thread Starter gnappo

    (@gnappo)

    if i put the emoji in the message text field when i save it i obtain the text + 😀 and this is encoded perfectly as an emoji.

    but if i put in the standard keyboard template is not encoded.

    Plugin Author Marco Milesi

    (@milmor)

    Strange… Are you using the latest WP version? Are your DB tables encoded as “utf8mb4”?

    Well, i’ll check it as soon as possible

    Thread Starter gnappo

    (@gnappo)

    Hi the wp config is set in this way

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    on phpymyadmin in general settings i have this:
    Server connection collation = UTF8_general_ci

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert icon in button keyboard’ is closed to new replies.