|
Sendbird Chat SDK for Unreal
|
#include <SBDPreviousMessageListQuery.h>
Public Member Functions | |
| void | LoadNextPage (int limit, bool reverse, std::function< void(std::vector< SBDBaseMessage * > messages, SBDError *)> completion_handler) |
Public Attributes | |
| bool | is_loading |
An object which retrieves messages from the given channel. The instance of this class is created by [createPreviousMessageListQuery]() in SBDBaseChannel class.
| void SBDPreviousMessageListQuery::LoadNextPage | ( | int | limit, |
| bool | reverse, | ||
| std::function< void(std::vector< SBDBaseMessage * > messages, SBDError *)> | completion_handler | ||
| ) |
Loads previous message with limit.
| limit | The number of messages per page. |
| reverse | If yes, the latest message is the index 0. |
| completion_handler | The handler interface to execute. |
| bool SBDPreviousMessageListQuery::is_loading |
Shows if the query is loading. It is true if the query is loading, otherwise returns false.