Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to top a piece of information #348

Open
fast8888 opened this issue Nov 21, 2023 · 2 comments
Open

How to top a piece of information #348

fast8888 opened this issue Nov 21, 2023 · 2 comments

Comments

@fast8888
Copy link

How to top a piece of information

@fast8888
Copy link
Author

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

@mircoianese
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants