Interface OutgoingMessengerMessageInfo

All Superinterfaces:
ChatProvider
All Known Subinterfaces:
OutgoingMessengerAudioDataMessageInfo, OutgoingMessengerFileDataMessageInfo, OutgoingMessengerImageDataMessageInfo, OutgoingMessengerRawMessageInfo, OutgoingMessengerTextMessageInfo, OutgoingMessengerVideoDataMessageInfo

public interface OutgoingMessengerMessageInfo extends ChatProvider
An OutgoingMessengerMessageInfo object provides information about an OutgoingMessengerMessage.
Since:
12.20
  • Method Details

    • getOutgoingMessengerAccount

      MessengerAccount getOutgoingMessengerAccount()
      Returns the outgoing messenger account of the message.
      Returns:
      the outgoing messenger account of the message.
      Since:
      12.20
    • getOutgoingChatChannel

      ChatChannel getOutgoingChatChannel()
      Returns the outgoing chat channel of the message.
      Returns:
      the outgoing chat channel of the message.
      Since:
      12.20
    • getSendingUser

      Optional<User> getSendingUser()
      Returns an Optional containing the user that sent the message, or an empty Optional if the message was sent automatically
      Returns:
      an Optional containing the user that sent the message, or an empty Optional if the message was sent automatically
      Since:
      12.20