Documentation ¶
Index ¶
- type UsernameCore
- func (c *UsernameCore) UsernameCheckAccountUsername(in *username.TLUsernameCheckAccountUsername) (*username.UsernameExist, error)
- func (c *UsernameCore) UsernameCheckChannelUsername(in *username.TLUsernameCheckChannelUsername) (*username.UsernameExist, error)
- func (c *UsernameCore) UsernameCheckUsername(in *username.TLUsernameCheckUsername) (*username.UsernameExist, error)
- func (c *UsernameCore) UsernameDeleteUsername(in *username.TLUsernameDeleteUsername) (*mtproto.Bool, error)
- func (c *UsernameCore) UsernameDeleteUsernameByPeer(in *username.TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error)
- func (c *UsernameCore) UsernameGetAccountUsername(in *username.TLUsernameGetAccountUsername) (*username.UsernameData, error)
- func (c *UsernameCore) UsernameGetChannelUsername(in *username.TLUsernameGetChannelUsername) (*username.UsernameData, error)
- func (c *UsernameCore) UsernameGetListByUsernameList(in *username.TLUsernameGetListByUsernameList) (*username.Vector_UsernameData, error)
- func (c *UsernameCore) UsernameResolveUsername(in *username.TLUsernameResolveUsername) (*mtproto.Peer, error)
- func (c *UsernameCore) UsernameSearch(in *username.TLUsernameSearch) (*username.Vector_UsernameData, error)
- func (c *UsernameCore) UsernameUpdateUsername(in *username.TLUsernameUpdateUsername) (*mtproto.Bool, error)
- func (c *UsernameCore) UsernameUpdateUsernameByPeer(in *username.TLUsernameUpdateUsernameByPeer) (*mtproto.Bool, error)
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 ¶
func (c *UsernameCore) UsernameSearch(in *username.TLUsernameSearch) (*username.Vector_UsernameData, error)
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;
Source Files ¶
- core.go
- username.checkAccountUsername_handler.go
- username.checkChannelUsername_handler.go
- username.checkUsername_handler.go
- username.deleteUsernameByPeer_handler.go
- username.deleteUsername_handler.go
- username.getAccountUsername_handler.go
- username.getChannelUsername_handler.go
- username.getListByUsernameList_handler.go
- username.resolveUsername_handler.go
- username.search_handler.go
- username.updateUsernameByPeer_handler.go
- username.updateUsername_handler.go