Layer 220
constructor
auth.sentCodePaymentRequired#d7a2fcf9 store_product:string phone_code_hash:string support_email_address:string support_email_subject:string = auth.SentCode;

Parameters

Name Type Description
StoreProduct string Store identifier of the Telegram Premium subscription.
PhoneCodeHash string Phone code hash, to be stored and later re-used with auth. sign In
SupportEmailAddress string An email address that can be contacted for more information about this request.
SupportEmailSubject string The mandatory subject for the email.

Returns

auth.SentCode

Gogram Example

// Creating AuthSentCodePaymentRequired constructor
obj := &tg.AuthSentCodePaymentRequired{
    StoreProduct: "...",
    PhoneCodeHash: "...",
    SupportEmailAddress: "...",
    SupportEmailSubject: "...",
}