Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountClient ¶
type AccountClient interface { AccountUpdateProfile(ctx context.Context, in *mtproto.TLAccountUpdateProfile) (*mtproto.User, error) AccountUpdateStatus(ctx context.Context, in *mtproto.TLAccountUpdateStatus) (*mtproto.Bool, error) AccountGetPrivacy(ctx context.Context, in *mtproto.TLAccountGetPrivacy) (*mtproto.Account_PrivacyRules, error) AccountSetPrivacy(ctx context.Context, in *mtproto.TLAccountSetPrivacy) (*mtproto.Account_PrivacyRules, error) AccountDeleteAccount(ctx context.Context, in *mtproto.TLAccountDeleteAccount) (*mtproto.Bool, error) AccountGetAccountTTL(ctx context.Context, in *mtproto.TLAccountGetAccountTTL) (*mtproto.AccountDaysTTL, error) AccountSetAccountTTL(ctx context.Context, in *mtproto.TLAccountSetAccountTTL) (*mtproto.Bool, error) AccountSendChangePhoneCode(ctx context.Context, in *mtproto.TLAccountSendChangePhoneCode) (*mtproto.Auth_SentCode, error) AccountChangePhone(ctx context.Context, in *mtproto.TLAccountChangePhone) (*mtproto.User, error) AccountResetAuthorization(ctx context.Context, in *mtproto.TLAccountResetAuthorization) (*mtproto.Bool, error) AccountSendConfirmPhoneCode(ctx context.Context, in *mtproto.TLAccountSendConfirmPhoneCode) (*mtproto.Auth_SentCode, error) AccountConfirmPhone(ctx context.Context, in *mtproto.TLAccountConfirmPhone) (*mtproto.Bool, error) AccountGetGlobalPrivacySettings(ctx context.Context, in *mtproto.TLAccountGetGlobalPrivacySettings) (*mtproto.GlobalPrivacySettings, error) AccountSetGlobalPrivacySettings(ctx context.Context, in *mtproto.TLAccountSetGlobalPrivacySettings) (*mtproto.GlobalPrivacySettings, error) AccountCreatePredefinedUser(ctx context.Context, in *mtproto.TLAccountCreatePredefinedUser) (*mtproto.PredefinedUser, error) AccountUpdatePredefinedUsername(ctx context.Context, in *mtproto.TLAccountUpdatePredefinedUsername) (*mtproto.PredefinedUser, error) AccountUpdatePredefinedProfile(ctx context.Context, in *mtproto.TLAccountUpdatePredefinedProfile) (*mtproto.PredefinedUser, error) AccountUpdateVerified(ctx context.Context, in *mtproto.TLAccountUpdateVerified) (*mtproto.User, error) AccountUpdatePredefinedVerified(ctx context.Context, in *mtproto.TLAccountUpdatePredefinedVerified) (*mtproto.PredefinedUser, error) AccountUpdatePredefinedCode(ctx context.Context, in *mtproto.TLAccountUpdatePredefinedCode) (*mtproto.PredefinedUser, error) }
func NewAccountClient ¶
func NewAccountClient(cli zrpc.Client) AccountClient
Click to show internal directories.
Click to hide internal directories.