Class UserMessage

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum UserMessage.RequestState

      Represents message request state.

    • Method Summary

      Modifier and Type Method Description
      List<Plugin> getPlugins() Returns the plugin lists for this message.
      Poll getPoll() The poll that belongs to this message object.
      void setPoll(@Nullable() Poll poll)
      String getRequestId() Returns a message request ID.
      Map<String, String> getTranslations() Returns the translated messages for the language codes in key.
      UserMessage.RequestState getRequestState() Returns message request state.
      List<String> getRequestedMentionUserIds() Returns requested mention user ids.
      UserMessageParams getMessageParams() returns UserMessageParams object that used for sending this messageIt's not null when sendingStatus is PENDING or FAILED If else, it will return null
      boolean applyPollUpdateEvent(@NonNull() PollUpdateEvent event) Applies poll update event to this user message's poll.
      boolean applyPollVoteEvent(@NonNull() PollVoteEvent event) Applies poll vote event to this user message's poll.
      String toString()
      • Methods inherited from class

        applyParentMessage, applyReactionEvent, applyThreadInfoUpdateEvent, belongsTo, belongsTo, buildFromSerializedData, buildFromSerializedData, clone, equals, getAllMetaArray, getAllMetaArrays, getAppleCriticalAlertOptions, getChannelUrl, getCreatedAt, getCustomType, getData, getErrorCode, getMentionType, getMentionedMessageTemplate, getMentionedUsers, getMessage, getMessage, getMessageId, getMessageSurvivalSeconds, getMetaArray, getMetaArrays, getOgMetaData, getParentMessage, getParentMessageId, getParentMessageText, getReactions, getSender, getSendingStatus, getThreadInfo, getThreadedMessagesByTimestamp, getUpdatedAt, hashCode, isGroupChannel, isOpenChannel, isOperatorMessage, isReplyToChannel, isResendable, isSilent, serialize, setAppleCriticalAlertOptions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait