Documentation
¶
Index ¶
- type UsernamesCore
- func (c *UsernamesCore) AccountCheckUsername(in *mtproto.TLAccountCheckUsername) (*mtproto.Bool, error)
- func (c *UsernamesCore) AccountReorderUsernames(in *mtproto.TLAccountReorderUsernames) (*mtproto.Bool, error)
- func (c *UsernamesCore) AccountToggleUsername(in *mtproto.TLAccountToggleUsername) (*mtproto.Bool, error)
- func (c *UsernamesCore) AccountUpdateUsername(in *mtproto.TLAccountUpdateUsername) (*mtproto.User, error)
- func (c *UsernamesCore) ChannelsCheckUsername(in *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)
- func (c *UsernamesCore) ChannelsDeactivateAllUsernames(in *mtproto.TLChannelsDeactivateAllUsernames) (*mtproto.Bool, error)
- func (c *UsernamesCore) ChannelsReorderUsernames(in *mtproto.TLChannelsReorderUsernames) (*mtproto.Bool, error)
- func (c *UsernamesCore) ChannelsToggleUsername(in *mtproto.TLChannelsToggleUsername) (*mtproto.Bool, error)
- func (c *UsernamesCore) ChannelsUpdateUsername(in *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)
- func (c *UsernamesCore) ContactsResolveUsername(in *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
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) AccountReorderUsernames ¶ added in v0.90.1
func (c *UsernamesCore) AccountReorderUsernames(in *mtproto.TLAccountReorderUsernames) (*mtproto.Bool, error)
AccountReorderUsernames account.reorderUsernames#ef500eab order:Vector<string> = Bool;
func (*UsernamesCore) AccountToggleUsername ¶ added in v0.90.1
func (c *UsernamesCore) AccountToggleUsername(in *mtproto.TLAccountToggleUsername) (*mtproto.Bool, error)
AccountToggleUsername account.toggleUsername#58d6b376 username:string active:Bool = 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) ChannelsDeactivateAllUsernames ¶ added in v0.90.1
func (c *UsernamesCore) ChannelsDeactivateAllUsernames(in *mtproto.TLChannelsDeactivateAllUsernames) (*mtproto.Bool, error)
ChannelsDeactivateAllUsernames channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool;
func (*UsernamesCore) ChannelsReorderUsernames ¶ added in v0.90.1
func (c *UsernamesCore) ChannelsReorderUsernames(in *mtproto.TLChannelsReorderUsernames) (*mtproto.Bool, error)
ChannelsReorderUsernames channels.reorderUsernames#b45ced1d channel:InputChannel order:Vector<string> = Bool;
func (*UsernamesCore) ChannelsToggleUsername ¶ added in v0.90.1
func (c *UsernamesCore) ChannelsToggleUsername(in *mtproto.TLChannelsToggleUsername) (*mtproto.Bool, error)
ChannelsToggleUsername channels.toggleUsername#50f24105 channel:InputChannel username:string active:Bool = 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 ¶
func (c *UsernamesCore) ContactsResolveUsername(in *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
ContactsResolveUsername contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
Source Files
¶
- account.checkUsername_handler.go
- account.reorderUsernames_handler.go
- account.toggleUsername_handler.go
- account.updateUsername_handler.go
- channels.checkUsername_handler.go
- channels.deactivateAllUsernames_handler.go
- channels.reorderUsernames_handler.go
- channels.toggleUsername_handler.go
- channels.updateUsername_handler.go
- contacts.resolveUsername_handler.go
- core.go