I use TelegramBots Java API. I need to add like buttons to my posts in Telegram. Right now I'm unable to find information how it can be done with TelegramBots Java API. I think that InlineKeyboardMarkup or @like bot should be used for this purpose but I don't know how to use it from TelegramBots. Please show how to properly add like buttons to the posts.
You can implement your own "like" widget, instead of using 3d party bots. You have to use InlineKeyboardMarkup, handle callback queries and store this clicks in any db.
I use TelegramBots Java API. I need to add like buttons to my posts in Telegram. Right now I'm unable to find information how it can be done with TelegramBots Java API. I think that
InlineKeyboardMarkup
or@like
bot should be used for this purpose but I don't know how to use it from TelegramBots. Please show how to properly add like buttons to the posts.