search_chat_affiliate_program


Description:

public async Chat search_chat_affiliate_program (string username, string referrer) throws TDLibError

Searches a chat with an affiliate program. Returns the chat if found and the program is active

Parameters:

username

Username of the chat

referrer

The referrer from an internalLinkTypeChatAffiliateProgram link