core

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsernamesCore

type UsernamesCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *UsernamesCore

func (*UsernamesCore) AccountCheckUsername

func (c *UsernamesCore) AccountCheckUsername(in *mtproto.TLAccountCheckUsername) (*mtproto.Bool, error)

AccountCheckUsername account.checkUsername#2714d86c username:string = Bool;

func (*UsernamesCore) AccountUpdateUsername

func (c *UsernamesCore) AccountUpdateUsername(in *mtproto.TLAccountUpdateUsername) (*mtproto.User, error)

AccountUpdateUsername account.updateUsername#3e0bdd7c username:string = User;

func (*UsernamesCore) ChannelsCheckUsername

func (c *UsernamesCore) ChannelsCheckUsername(in *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)

ChannelsCheckUsername channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;

func (*UsernamesCore) ChannelsUpdateUsername

func (c *UsernamesCore) ChannelsUpdateUsername(in *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)

ChannelsUpdateUsername channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;

func (*UsernamesCore) ContactsResolveUsername

ContactsResolveUsername contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;

Jump to

Keyboard shortcuts

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