mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
parent
09ad827374
commit
3c0e86a167
2 changed files with 4 additions and 0 deletions
|
|
@ -335,6 +335,7 @@ class Client(Methods):
|
||||||
enums.SentCodeType.CALL: "phone call",
|
enums.SentCodeType.CALL: "phone call",
|
||||||
enums.SentCodeType.FLASH_CALL: "phone flash call",
|
enums.SentCodeType.FLASH_CALL: "phone flash call",
|
||||||
enums.SentCodeType.FRAGMENT_SMS: "Fragment SMS",
|
enums.SentCodeType.FRAGMENT_SMS: "Fragment SMS",
|
||||||
|
enums.SentCodeType.EMAIL_CODE: "email code"
|
||||||
}
|
}
|
||||||
|
|
||||||
print(f"The confirmation code has been sent via {sent_code_descriptions[sent_code.type]}")
|
print(f"The confirmation code has been sent via {sent_code_descriptions[sent_code.type]}")
|
||||||
|
|
|
||||||
|
|
@ -40,3 +40,6 @@ class SentCodeType(AutoName):
|
||||||
|
|
||||||
FRAGMENT_SMS = raw.types.auth.SentCodeTypeFragmentSms
|
FRAGMENT_SMS = raw.types.auth.SentCodeTypeFragmentSms
|
||||||
"The code was sent via Fragment SMS."
|
"The code was sent via Fragment SMS."
|
||||||
|
|
||||||
|
EMAIL_CODE = raw.types.auth.SentCodeTypeEmailCode
|
||||||
|
"The code was sent via email."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue