Documentation ¶
Index ¶
- type PhotosServiceImpl
- func (s *PhotosServiceImpl) PhotosDeletePhotos(ctx context.Context, request *mtproto.TLPhotosDeletePhotos) (*mtproto.VectorLong, error)
- func (s *PhotosServiceImpl) PhotosGetUserPhotos(ctx context.Context, request *mtproto.TLPhotosGetUserPhotos) (*mtproto.Photos_Photos, error)
- func (s *PhotosServiceImpl) PhotosUpdateProfilePhoto(ctx context.Context, request *mtproto.TLPhotosUpdateProfilePhoto) (*mtproto.UserProfilePhoto, error)
- func (s *PhotosServiceImpl) PhotosUploadProfilePhoto(ctx context.Context, request *mtproto.TLPhotosUploadProfilePhoto) (*mtproto.Photos_Photo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhotosServiceImpl ¶
func NewPhotosServiceImpl ¶
func NewPhotosServiceImpl(models []core.CoreModel) *PhotosServiceImpl
func (*PhotosServiceImpl) PhotosDeletePhotos ¶
func (s *PhotosServiceImpl) PhotosDeletePhotos(ctx context.Context, request *mtproto.TLPhotosDeletePhotos) (*mtproto.VectorLong, error)
photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
func (*PhotosServiceImpl) PhotosGetUserPhotos ¶
func (s *PhotosServiceImpl) PhotosGetUserPhotos(ctx context.Context, request *mtproto.TLPhotosGetUserPhotos) (*mtproto.Photos_Photos, error)
photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
func (*PhotosServiceImpl) PhotosUpdateProfilePhoto ¶
func (s *PhotosServiceImpl) PhotosUpdateProfilePhoto(ctx context.Context, request *mtproto.TLPhotosUpdateProfilePhoto) (*mtproto.UserProfilePhoto, error)
photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto;
func (*PhotosServiceImpl) PhotosUploadProfilePhoto ¶
func (s *PhotosServiceImpl) PhotosUploadProfilePhoto(ctx context.Context, request *mtproto.TLPhotosUploadProfilePhoto) (*mtproto.Photos_Photo, error)
photos.uploadProfilePhoto#4f32c098 Updates current user profile photo. file: File saved in parts by means of upload.saveFilePart method
photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo;
Click to show internal directories.
Click to hide internal directories.