-
Notifications
You must be signed in to change notification settings - Fork 66
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
Card messages not rendering #51
Comments
Your version of OpenSSL is probably missing subject alt name support -- see this Requests FAQ. |
Thanks, I fix it. Can you help me for create a Skype Cards ? |
Until there's a proper way to send message objects, you can try shoehorning it into msg = SkypeCardMsg(title="A card!", body="Some accompanying text.",
buttons=[SkypeCardMsg.Button(title="Make a test call",
type="call", value="echo123")])
sk.chats[...].sendRaw(content=msg.html, contenttype="text", messagetype="RichText/Media_Card") It may require some tinkering with the content/message type fields, looks like some of the clients have stricter requirements than others (Android seems fairly liberal and should render the above). |
Firsty thanks for you fast reply, |
Err, try (Not in a position to test right now, but the |
Nice, it works, thanks for your help |
I think it's not possible to make it work on Skype Web or Windows Client, but work correctly on Android |
It works oddly, i'm still searching how to get it work on Windows client, when I try on Web I got: |
Timestamp is currently unimplemented, but can be done provided we either add a (redundant?) second time field, or be dynamic when reading the The recipient is an interesting one, no idea what it should be in a group conversation given the only cards I've seen are in one-to-ones with the support bot -- maybe the group's thread ID, |
Latest commit adds the missing fields, does that have any effect on the message showing in other clients? |
Hi, sorry for the long time, It still doesn't work :/ |
I think this is ultimately down to some client-side check we're tripping in some of the clients -- they likely all perform their own (different) tests for the message being valid, which may well be restricting the sender. I've successfully rendered cards in Skype for Android (stable and preview releases) and Skype for Windows (UWP on Windows 10), but not Skype for Desktop (Windows) or Skype for Web1. 1 Apart from when I somehow copied a message from the Skype Support bot, but now I can't seem to reproduce that. 😞 |
Hi, I got this error when I try to run:
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'login.live.com' doesn't match u'gateway.
login.live.com'
The text was updated successfully, but these errors were encountered: