set_user_emoji_status¶
-
template<class Agent>
api_result<boolean_t, Agent&&> set_user_emoji_status(Agent &&agent, set_user_emoji_status_args_t args)¶
-
template<class Agent, class F>
void set_user_emoji_status(Agent &&agent, set_user_emoji_status_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<boolean_t>.Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess. Returns True on success.
-
struct set_user_emoji_status_args_t¶
Arguments that should be passed to
set_user_emoji_status().Unique identifier of the target user
-
optional_t<string_t> emoji_status_custom_emoji_id¶
Custom emoji identifier of the emoji status to set. Pass an empty string to remove the status.
-
optional_t<integer_t> emoji_status_expiration_date¶
Expiration date of the emoji status, if any
-
optional_t<string_t> emoji_status_custom_emoji_id¶