Documentation ¶
Index ¶
- type UsernamesCore
- func (c *UsernamesCore) AccountCheckUsername(in *mtproto.TLAccountCheckUsername) (*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) 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) 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 ¶
func (c *UsernamesCore) ContactsResolveUsername(in *mtproto.TLContactsResolveUsername) (*mtproto.Contacts_ResolvedPeer, error)
ContactsResolveUsername contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
Click to show internal directories.
Click to hide internal directories.