• Get the platform message from message ID

    The platform can be:

    • android
    • iphone
    • web
    • unknown

    Parameters

    • messageId:
          | string
          | MsgKey
          | MsgModel
          | Stringable

    Returns
        | "android"
        | "iphone"
        | "web"
        | "unknown"

    // to get platform from a message
    const platform = WPP.chat.getPlatformFromMessage('[message_id]');