Replies: 1 comment 3 replies
-
What is openShare? Where did you find this method? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to use openShare to test sending a message from Mini App to other chat rooms. I used the @telegram-apps/sdk library . Is openShare available in it or do I need to use another library?
mainButton.on('click', async () => {
try {
await miniApp.openShare({
text: 'Test',
});
console.log('The chat selection window is open to send a message.');
} catch (error) {
console.error('Error when opening the chat selection window:', error);
}
});
Beta Was this translation helpful? Give feedback.
All reactions