-
Hi! Only would like to ask you, how would you resolve this problem? I want to see smiles in my str output in admin pannel. Not only tags, that contain them. Maybe is separate library of smiles exist, that skype only is using by itself? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
If you mean resolving markup like >>> tag = "(sad)"
>>> for item in SkypeUtils.static["items"]:
... if tag in item["shortcuts"]:
... print(item)
...
{'description': 'Sad',
'etag': 'e34deb20-f8f5-4b53-ab00-468ccacfac69',
'facebook': {'shortcuts': [':(']},
'id': 'sad',
'keywords': [],
'media': {'default': {'firstFrame': 17, 'fps': 24, 'framesCount': 63}},
'shortcuts': [':(', ':-(', ':=(', '(sad)', '(Sad)', ':<', ':-<', ':(', ':-(', ':=(', '(sad)', '(Sad)', ':<', ':-<'],
'type': 'emoticon',
'useInSms': True,
'visible': True} For the actual image, the current Skype for Web seems to use URLs of the form:
|
Beta Was this translation helpful? Give feedback.
-
@Terrance I just found, that not all emotion are in SkypeUtils.static["items"]. For example this shortcut (1f380_ribbon). Do you know the link, how I can get id of emotion by it's shortcut? |
Beta Was this translation helpful? Give feedback.
-
@Terrance maybe you should know, that this ids from
Another are fine. And second maybe that you should know that And third — the same key can contain in conversations different shortcuts. For example, when New Year holidays are comming, |
Beta Was this translation helpful? Give feedback.
If you mean resolving markup like
(sad)
into the corresponding emoticons, you probably want to take a look atSkypeUtils.static
-- this is adict
of metadata about the emoticons that Skype provides. For example: