PinnedMessageListQueryParams

class PinnedMessageListQueryParams(var channelType: ChannelType, var channelUrl: String)

Represents query parameters for getting pinned messages.

Since

4.8.0

See also

Constructors

Link copied to clipboard
constructor(channelType: ChannelType, channelUrl: String)

Properties

Link copied to clipboard

The ChannelType of the channel you want to get pinned messages from.

Link copied to clipboard

The channel url of the channel you want to get pinned messages from.

Link copied to clipboard

Whether the poll details should be included in the results. If the value is null, it follows the default value.

Link copied to clipboard
var limit: Int?

The maximum number of items per queried page. If the value is null, it follows the default value.

Link copied to clipboard

The MessagePayloadParams of the message you want to get. If the value is null, it follows the default value.

Functions

Link copied to clipboard
fun copy(channelType: ChannelType = this.channelType, channelUrl: String = this.channelUrl, limit: Int? = this.limit, messagePayloadParams: MessagePayloadParams? = this.messagePayloadParams, includePollDetails: Boolean? = this.includePollDetails): PinnedMessageListQueryParams