TReKiE / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

Animated Emotions #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello.

How to send animated emotions?

I do EmoticonType.AnimEmotion and Imageformat.Gif, but the user only 
receives the text of shortcut, but not the emoticons itself.

Thanks.

Original issue reported on code.google.com by Flashbo...@gmail.com on 15 May 2009 at 10:20

GoogleCodeExporter commented 9 years ago
make sure you are using MSNP15, not MSNP18

Original comment by freezing...@gmail.com on 15 May 2009 at 12:13

GoogleCodeExporter commented 9 years ago
Yes, I use MSNP15 and provisioned account:

I use the following code:

  MemoryStream mem = new MemoryStream();

Bitmap.FromFile(getrandomfile2("test.gif")).Save(mem, ImageFormat.Gif);
Emoticon emotest = new Emoticon("bot@gwaam.com",mem , "0", "test");
MSNObjectCatalog.GetInstance().Add(emotest);
List<Emoticon> emolist = new List<Emoticon>();
emolist.Add(emotest);
_conversation.Switchboard.SendEmoticonDefinitions(emolist, 
EmoticonType.AnimEmoticon);
 _conversation.Switchboard.SendTextMessage(new TextMessage(emotest.Shortcut));

The recipient on Windows Live Messenger 2009 can't see any animated emotion, 
but he 
can see my static emotions.

Original comment by Flashbo...@gmail.com on 15 May 2009 at 12:24

GoogleCodeExporter commented 9 years ago
After my research, this is not our bug. Microsoft disabled this feature.

Original comment by freezing...@gmail.com on 16 May 2009 at 1:53

GoogleCodeExporter commented 9 years ago
Hi,
Do not use EmoticonType.AnimEmotion, just use StaticEmotion and it will be 
display 
correctly, now msn don't allow to send custom emotion without a partnerid

Original comment by freezing...@gmail.com on 7 Aug 2009 at 3:58