on Result
Called when operation is done. If done successfully, a list of PinnedMessage instance will be passed as messages. If no pinned message is found, this list will be empty. This list will be paginated and if there are more elements to retrieve, PinnedMessageListQuery.hasNext will be false
. If error occurred, e will be non-null.
Since
4.8.0