Interface MessengerRawMessageComponentProvider


  • public interface MessengerRawMessageComponentProvider
    A MessengerRawMessageComponentProvider is used to provide a raw MessengerRawMessageComponent for a MessengerRawMessageViewContext which represents a raw messenger message to be displayed.
    Since:
    12.20
    • Method Detail

      • getMessengerRawMessageComponent

        MessengerRawMessageComponent getMessengerRawMessageComponent​(MessengerRawMessageViewContext messengerRawMessageViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed. This is the default method being called on plugins implementing this interface, if none of the other methods match to the current view context.
        Parameters:
        messengerRawMessageViewContext - provides view context specific information for the raw messenger message to be displayed
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(MessengerRawMessageAgentViewContext messengerRawMessageAgentViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageAgentViewContext - provides view context specific information for the raw messenger message to be displayed in the agent view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(IncomingMessengerRawMessageAgentViewContext messengerRawMessageAgentViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageAgentViewContext - provides view context specific information for the incoming raw messenger message to be displayed in the agent view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(OutgoingMessengerRawMessageAgentViewContext messengerRawMessageAgentViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageAgentViewContext - provides view context specific information for the outgoing raw messenger message to be displayed in the agent view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(MessengerRawMessageBacklogViewContext messengerRawMessageBacklogViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageBacklogViewContext - provides view context specific information for the raw messenger message to be displayed in the backlog view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(IncomingMessengerRawMessageBacklogViewContext messengerRawMessageBacklogViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageBacklogViewContext - provides view context specific information for the incoming raw messenger message to be displayed in the backlog view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(OutgoingMessengerRawMessageBacklogViewContext messengerRawMessageBacklogViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageBacklogViewContext - provides view context specific information for the outgoing raw messenger message to be displayed in the backlog view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(MessengerRawMessageArchiveAccessViewContext messengerRawMessageArchiveAccessViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageArchiveAccessViewContext - provides view context specific information for the raw messenger message to be displayed for a chat retrieved directly via an archive access
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(IncomingMessengerRawMessageArchiveAccessViewContext messengerRawMessageArchiveAccessViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageArchiveAccessViewContext - provides view context specific information for the incoming raw messenger message to be displayed for a chat retrieved directly via an archive access
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(OutgoingMessengerRawMessageArchiveAccessViewContext messengerRawMessageArchiveAccessViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageArchiveAccessViewContext - provides view context specific information for the outgoing raw messenger message to be displayed for a chat retrieved directly via an archive access
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(MessengerRawMessageSearchResultViewContext messengerRawMessageSearchResultViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageSearchResultViewContext - provides view context specific information for the raw messenger message to be displayed in the search result view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(IncomingMessengerRawMessageSearchResultViewContext messengerRawMessageSearchResultViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageSearchResultViewContext - provides view context specific information for the incoming raw messenger message to be displayed in the search result view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20
      • getMessengerRawMessageComponent

        default MessengerRawMessageComponent getMessengerRawMessageComponent​(OutgoingMessengerRawMessageSearchResultViewContext messengerRawMessageSearchResultViewContext)
        Provide a MessengerRawMessageComponent for a raw messenger message to be displayed.
        Parameters:
        messengerRawMessageSearchResultViewContext - provides view context specific information for the outgoing raw messenger message to be displayed in the search result view
        Returns:
        the customized MessengerRawMessageComponent or null if no MessengerRawMessageComponent should be shown.
        Since:
        12.20