java-telegram-bot-api icon indicating copy to clipboard operation
java-telegram-bot-api copied to clipboard

How to top a piece of information

Open fast8888 opened this issue 2 years ago • 2 comments

How to top a piece of information

fast8888 avatar Nov 21 '23 07:11 fast8888

Can you solve this problem? I am willing to pay 100 USDT cryptocurrency to solve it

fast8888 avatar Nov 21 '23 11:11 fast8888

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);

mircoianese avatar Nov 24 '23 08:11 mircoianese