Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

Client does not generate the emoji_status_access_requested event

Open iliapnmrv opened this issue 7 months ago • 1 comments

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

iliapnmrv avatar May 15 '25 19:05 iliapnmrv

Fix issues

AlySheeM avatar Jun 05 '25 09:06 AlySheeM