core

package
v0.86.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsernameCore

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

func New

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

func (*UsernameCore) UsernameCheckAccountUsername

func (c *UsernameCore) UsernameCheckAccountUsername(in *username.TLUsernameCheckAccountUsername) (*username.UsernameExist, error)

UsernameCheckAccountUsername username.checkAccountUsername user_id:int username:string = UsernameExist;

func (*UsernameCore) UsernameCheckChannelUsername

func (c *UsernameCore) UsernameCheckChannelUsername(in *username.TLUsernameCheckChannelUsername) (*username.UsernameExist, error)

UsernameCheckChannelUsername username.checkChannelUsername channel_id:int username:string = UsernameExist;

func (*UsernameCore) UsernameCheckUsername

func (c *UsernameCore) UsernameCheckUsername(in *username.TLUsernameCheckUsername) (*username.UsernameExist, error)

UsernameCheckUsername username.checkUsername username:string = UsernameExist;

func (*UsernameCore) UsernameDeleteUsername

func (c *UsernameCore) UsernameDeleteUsername(in *username.TLUsernameDeleteUsername) (*mtproto.Bool, error)

UsernameDeleteUsername username.deleteUsername username:string = Bool;

func (*UsernameCore) UsernameDeleteUsernameByPeer

func (c *UsernameCore) UsernameDeleteUsernameByPeer(in *username.TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error)

UsernameDeleteUsernameByPeer username.deleteUsernameByPeer peer_type:int peer_id:int = Bool;

func (*UsernameCore) UsernameGetAccountUsername

func (c *UsernameCore) UsernameGetAccountUsername(in *username.TLUsernameGetAccountUsername) (*username.UsernameData, error)

UsernameGetAccountUsername username.getAccountUsername user_id:int = UsernameData;

func (*UsernameCore) UsernameGetChannelUsername

func (c *UsernameCore) UsernameGetChannelUsername(in *username.TLUsernameGetChannelUsername) (*username.UsernameData, error)

UsernameGetChannelUsername username.getChannelUsername channel_id:int = UsernameData;

func (*UsernameCore) UsernameGetListByUsernameList

func (c *UsernameCore) UsernameGetListByUsernameList(in *username.TLUsernameGetListByUsernameList) (*username.Vector_UsernameData, error)

UsernameGetListByUsernameList username.getListByUsernameList names:Vector<string> = Vector<UsernameData>;

func (*UsernameCore) UsernameResolveUsername

func (c *UsernameCore) UsernameResolveUsername(in *username.TLUsernameResolveUsername) (*mtproto.Peer, error)

UsernameResolveUsername username.resolveUsername username:string = Peer;

func (*UsernameCore) UsernameSearch

UsernameSearch username.search q:string excluded_contacts:Vector<long> limit:int = Vector<UsernameData>;

func (*UsernameCore) UsernameUpdateUsername

func (c *UsernameCore) UsernameUpdateUsername(in *username.TLUsernameUpdateUsername) (*mtproto.Bool, error)

UsernameUpdateUsername username.updateUsername peer_type:int peer_id:int username:string = Bool;

func (*UsernameCore) UsernameUpdateUsernameByPeer

func (c *UsernameCore) UsernameUpdateUsernameByPeer(in *username.TLUsernameUpdateUsernameByPeer) (*mtproto.Bool, error)

UsernameUpdateUsernameByPeer username.updateUsernameByPeer peer_type:int peer_id:int username:string = Bool;

Jump to

Keyboard shortcuts

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