Home

Yammer RESTAPI : Post message with new line

%3CLINGO-SUB%20id%3D%22lingo-sub-124866%22%20slang%3D%22en-US%22%3EYammer%20RESTAPI%20%3A%20Post%20message%20with%20new%20line%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-124866%22%20slang%3D%22en-US%22%3E%3CP%3ELike%20if%20the%20post%20message%20type%20is%20'announcement'%2C%20there%20is%20an%20option%20'i%3CSPAN%3Es_rich_text'%20to%20send%20HTML%20content%20(like%20%3CBR%20%2F%3E%20will%20be%20a%20new%20line).%20How%20do%20you%20send%20'update'%20message%20with%20a%20new%20line%20from%20Rest%20API%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EExample%3A%26nbsp%3BFirst%20line%20%3CBR%20%2F%3E%20Second%20Line%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EExpected%20in%20yammer%20post%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFirst%20Line%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESecond%20Line%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EActual%20(unwanted)%20Result%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EFirst%20line%20%3CBR%20%2F%3E%20Second%20Line%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
praveen rengarajan
Occasional Contributor

Like if the post message type is 'announcement', there is an option 'is_rich_text' to send HTML content (like <br/> will be a new line). How do you send 'update' message with a new line from Rest API? 

Example: First line <br/> Second Line 

Expected in yammer post:

First Line

Second Line

Actual (unwanted) Result:

First line <br/> Second Line 

 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
7 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies