Documentation ¶
Index ¶
- type CodeCore
- func (c *CodeCore) CodeCreatePhoneCode(in *code.TLCodeCreatePhoneCode) (*code.PhoneCodeTransaction, error)
- func (c *CodeCore) CodeDeletePhoneCode(in *code.TLCodeDeletePhoneCode) (*mtproto.Bool, error)
- func (c *CodeCore) CodeGetPhoneCode(in *code.TLCodeGetPhoneCode) (*code.PhoneCodeTransaction, error)
- func (c *CodeCore) CodeUpdatePhoneCodeData(in *code.TLCodeUpdatePhoneCodeData) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeCore ¶
type CodeCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*CodeCore) CodeCreatePhoneCode ¶
func (c *CodeCore) CodeCreatePhoneCode(in *code.TLCodeCreatePhoneCode) (*code.PhoneCodeTransaction, error)
CodeCreatePhoneCode code.createPhoneCode flags:# auth_key_id:long session_id:long phone:string phone_number_registered:flags.0?true sent_code_type:int next_code_type:int state:int = PhoneCodeTransaction;
func (*CodeCore) CodeDeletePhoneCode ¶
CodeDeletePhoneCode code.deletePhoneCode auth_key_id:long phone:string phone_code_hash:string = Bool;
func (*CodeCore) CodeGetPhoneCode ¶
func (c *CodeCore) CodeGetPhoneCode(in *code.TLCodeGetPhoneCode) (*code.PhoneCodeTransaction, error)
CodeGetPhoneCode code.getPhoneCode auth_key_id:long phone:string phone_code_hash:string = PhoneCodeTransaction;
func (*CodeCore) CodeUpdatePhoneCodeData ¶
func (c *CodeCore) CodeUpdatePhoneCodeData(in *code.TLCodeUpdatePhoneCodeData) (*mtproto.Bool, error)
CodeUpdatePhoneCodeData code.updatePhoneCodeData auth_key_id:long phone:string phone_code_hash:string code_data:PhoneCodeTransaction = Bool;
Click to show internal directories.
Click to hide internal directories.