Terrance / SkPy

An unofficial Python library for interacting with the Skype HTTP API.
https://skpy.t.allofti.me
BSD 3-Clause "New" or "Revised" License
263 stars 66 forks source link

Question: How to accept when someone added to a group? #256

Open un-hongly opened 7 months ago

un-hongly commented 7 months ago

I use event loop to receive message from groups. When someone added my account to the group, in Skype UI I can see an invitation prompt and the event loop only receive messages if I accept the invitation.

My question Is How can I programmatically accept/reject the invitation?

Screenshot 2024-02-08 at 10 46 45 in the morning
Terrance commented 7 months ago

Guessing this is a more recent addition too, groups never used to have a confirmation step. Take a look at the requests Skype for Web makes on accept or block -- you may be able to just send a message to auto-accept the invitation, or delete the chat to block. It would be useful to know what the message markup looks like for such an invite.

un-hongly commented 7 months ago

Guessing this is a more recent addition too, groups never used to have a confirmation step. Take a look at the requests Skype for Web makes on accept or block -- you may be able to just send a message to auto-accept the invitation, or delete the chat to block. It would be useful to know what the message markup looks like for such an invite.

I don't receive any event in event loop.