verify_chat¶
-
template<class Agent>
api_result<boolean_t, Agent&&> verify_chat(Agent &&agent, verify_chat_args_t args)¶
-
template<class Agent, class F>
void verify_chat(Agent &&agent, verify_chat_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<boolean_t>.Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.
-
struct verify_chat_args_t¶
Arguments that should be passed to
verify_chat().Unique identifier for the target chat or username of the target channel (in the format @channelusername)
-
optional_t<string_t> custom_description¶
Custom description for the verification; 0-70 characters. Must be empty if the organization isn’t allowed to provide a custom verification description.
-
optional_t<string_t> custom_description¶