GroupMeEmojiMessageRenderer MergeMessageWithEmojiImages Method (String, Char, IEnumerable GroupMeEmojiImage , Func GroupMeEmojiImage, String )CkSoftware GroupMe SDK - Documentation
Merges the emoji images with the message using a emojiToString converter func. The default converter is the DefaultHtmlInlineCssConverter(GroupMeEmojiImage).

Namespace: CkSoftware.GroupMe.Sdk.Helpers.Emoji
Assembly: CkSoftware.GroupMe.Sdk.Helpers (in CkSoftware.GroupMe.Sdk.Helpers.dll) Version: 1.0.1.35398 (1.0.1.0)
Syntax

public static string MergeMessageWithEmojiImages(
	string message,
	char emojiPlaceholder,
	IEnumerable<GroupMeEmojiImage> emojiImages,
	Func<GroupMeEmojiImage, string> emojiToStringConverter = null
)

Parameters

message
Type: System String
The message to parse and to enrich with the emoji images.
emojiPlaceholder
Type: System Char
The Placeholder character which is used inside the message.
emojiImages
Type: System.Collections.Generic IEnumerable GroupMeEmojiImage 
The list of already parsed GroupMeEmojiImage.
emojiToStringConverter (Optional)
Type: System Func GroupMeEmojiImage, String 
The converter to render GroupMeEmojiImage instances into a string. Default converter is the Method DefaultHtmlInlineCssConverter(GroupMeEmojiImage), for optimized html output use OptimizedHtmlCssConverter(GroupMeEmojiImage) or an own implementation if you need any other placeholders in the output string.

Return Value

Type: String
The enriched message containing all emoji images rendered using the emojiToStringConverter parameter.
See Also