Class PublishResponse

java.lang.Object
io.ably.lib.types.PublishResponse

public class PublishResponse extends Object
Contains the responses from a PublishResponse PublishResponse#publish request.
  • Field Details

    • error

      public ErrorInfo error
      Describes the reason for which a message, or messages failed to publish to a channel as an ErrorInfo object.

      Spec: BPB2c

    • channelId

      @SerializedName("channel") public String channelId
      The channel name a message was successfully published to, or the channel name for which an error was returned.

      Spec: BPB2a

    • messageId

      public String messageId
      The unique ID for a successfully published message.

      Spec: BPB2b

  • Constructor Details

    • PublishResponse

      public PublishResponse()
  • Method Details