get_available_gifts¶
-
template<class Agent, class F>
void get_available_gifts(Agent &&agent, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<gifts_t>.Returns the list of gifts that can be sent by the bot to users and channel chats. Requires no parameters. Returns a Gifts object.