Telegram-iOS
Telegram-iOS copied to clipboard
Client does not generate the emoji_status_access_requested event
Checklist
- [x] I am reporting an issue in existing functionality that does not work as intended
- [x] I've searched for existing GitHub issues
Description
Hi! The same issue was created in another Telegram repository https://github.com/Telegram-Mini-Apps/telegram-apps/issues/652 And then commented by one of the members https://github.com/Telegram-Mini-Apps/telegram-apps/issues/652#issuecomment-2780668142. Can you please take a look?
I'm getting error
Error: null is not an object (evaluating 't.status')
Expected Behavior
Being able to read access status
Actual Behavior
Throws error
Steps to Reproduce
Use this code from @telegram-apps/sdk-react package
(async () => {
if (requestEmojiStatusAccess.isAvailable()) {
try {
const status = requestEmojiStatusAccess();
console.log(status);
} catch (error) {
console.log(error);
}
}
})();
Fix issues