List pinned messages
To retrieve all the pinned messages in a group channel, use
PinnedMessageListQuery. When creating the query instance through the
createPinnedMessageListQuery() method, you can set booleans to determine which additional message information to include in the payloads. For example, if a pinned message is a child message in a message thread, set
true in the query to show its parent message information in the message payload.