DECENT
Functions
Messaging API

Functions

string graphene::app::messaging_api::info ()
 
vector< message_objectgraphene::app::messaging_api::get_message_objects (optional< account_id_type > sender, optional< account_id_type > receiver, uint32_t max_count) const
 Receives message objects by sender and/or receiver. More...
 

Detailed Description

Function Documentation

◆ get_message_objects()

vector< message_object > graphene::app::messaging_api::get_message_objects ( optional< account_id_type sender,
optional< account_id_type receiver,
uint32_t  max_count 
) const

Receives message objects by sender and/or receiver.

Parameters
sendername of message sender. If you dont want to filter by sender then let it empty
receivername of message receiver. If you dont want to filter by receiver then let it empty
max_countmaximal number of last messages to be displayed
Returns
a vector of message objects

Definition at line 502 of file api.cpp.

◆ info()

string graphene::app::messaging_api::info ( )
inline

Get the name of the API.

Returns
the name of the API

Definition at line 447 of file api.hpp.