java-telegram-bot-api
java-telegram-bot-api copied to clipboard
How to top a piece of information
How to top a piece of information
Can you solve this problem? I am willing to pay 100 USDT cryptocurrency to solve it
Do you mean pin a message in a group / channel?
In that case:
PinChatMessage request = new PinChatMessage(chatId, messageId).disableNotification(false);
BaseResponse pinResponse = bot.bot().execute(request);