custom keyboard Radio Button Telegram JAVA -
i don't know how make object in java can provide idea on how that. show in keyboard, json should send this:
... ... 'reply_markup': json.stringify({ keyboard: [ [ {'text': 'radio button #1'} ], [ {'text': 'radio button #2'} ], [ {'text': 'radio button #3'} ], [ {'text': 'unlock'}, {'text': 'mute'} ] ], one_time_keyboard: true, resize_keyboard: true ...
you need send keyboard json show keyboard image. search what's equivalent of json.stringify in java , how make request , how construct object in language.
to put emoji in keyboard message, need search unicode code of emoji , write in keyboard text, this:
... {'text': '\u{270b} radio button #1'}, ...
wiki
Comments
Post a Comment