Documentation ¶
Index ¶
- type Service
- func (s *Service) ContactsResolvePhone(ctx context.Context, request *mtproto.TLContactsResolvePhone) (*mtproto.Contacts_ResolvedPeer, error)
- func (s *Service) UsersGetFullUser(ctx context.Context, request *mtproto.TLUsersGetFullUser) (*mtproto.Users_UserFull, error)
- func (s *Service) UsersGetMe(ctx context.Context, request *mtproto.TLUsersGetMe) (*mtproto.User, error)
- func (s *Service) UsersGetUsers(ctx context.Context, request *mtproto.TLUsersGetUsers) (*mtproto.Vector_User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *svc.ServiceContext) *Service
func (*Service) ContactsResolvePhone ¶ added in v0.86.3
func (s *Service) ContactsResolvePhone(ctx context.Context, request *mtproto.TLContactsResolvePhone) (*mtproto.Contacts_ResolvedPeer, error)
ContactsResolvePhone contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;
func (*Service) UsersGetFullUser ¶ added in v0.87.1
func (s *Service) UsersGetFullUser(ctx context.Context, request *mtproto.TLUsersGetFullUser) (*mtproto.Users_UserFull, error)
UsersGetFullUser users.getFullUser#b60f5918 id:InputUser = users.UserFull;
func (*Service) UsersGetMe ¶
func (s *Service) UsersGetMe(ctx context.Context, request *mtproto.TLUsersGetMe) (*mtproto.User, error)
UsersGetMe users.getMe id:long token:string = User;
func (*Service) UsersGetUsers ¶
func (s *Service) UsersGetUsers(ctx context.Context, request *mtproto.TLUsersGetUsers) (*mtproto.Vector_User, error)
UsersGetUsers users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
Click to show internal directories.
Click to hide internal directories.