Annotation Type CustomChatChannel


  • @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface CustomChatChannel

    Runtime annotation used to specify custom chat channels.

    Since:
    12.20
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name  
    • Element Detail

      • name

        java.lang.String name
        Returns:
        the unique name of the CustomChatChannel
        Since:
        12.20
      • displayName

        java.lang.String displayName
        Returns:
        the displayName of the CustomChatChannel
        Since:
        12.20
        Default:
        ""
      • pngIconResourcePath

        java.lang.String pngIconResourcePath
        The method may return the resource path to the optional PNG icon resource of the CustomChatChannel. The image resource must be a PNG icon and should have the dimension of 30 x 30 pixel. Please specify the resource path relative to your MessengerConnectorPlugin class or absolute to the plugin JAR file of the app. e.g. "/META-INF/resources/images/myicon.png"
        Returns:
        the resource path to the optional PNG icon resource of the CustomChatChannel
        Since:
        12.20
        Default:
        ""