usernames_client

package
v0.90.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsernamesClient

type UsernamesClient interface {
	AccountCheckUsername(ctx context.Context, in *mtproto.TLAccountCheckUsername) (*mtproto.Bool, error)
	AccountUpdateUsername(ctx context.Context, in *mtproto.TLAccountUpdateUsername) (*mtproto.User, error)
	AccountReorderUsernames(ctx context.Context, in *mtproto.TLAccountReorderUsernames) (*mtproto.Bool, error)
	AccountToggleUsername(ctx context.Context, in *mtproto.TLAccountToggleUsername) (*mtproto.Bool, error)
	ContactsResolveUsername(ctx context.Context, in *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
	ChannelsCheckUsername(ctx context.Context, in *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)
	ChannelsUpdateUsername(ctx context.Context, in *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)
	ChannelsReorderUsernames(ctx context.Context, in *mtproto.TLChannelsReorderUsernames) (*mtproto.Bool, error)
	ChannelsToggleUsername(ctx context.Context, in *mtproto.TLChannelsToggleUsername) (*mtproto.Bool, error)
	ChannelsDeactivateAllUsernames(ctx context.Context, in *mtproto.TLChannelsDeactivateAllUsernames) (*mtproto.Bool, error)
}

func NewUsernamesClient

func NewUsernamesClient(cli zrpc.Client) UsernamesClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL