Documentation ¶
Index ¶
- type PhotosCore
- func (c *PhotosCore) PhotosDeletePhotos(in *mtproto.TLPhotosDeletePhotos) (*mtproto.Vector_Long, error)
- func (c *PhotosCore) PhotosGetUserPhotos(in *mtproto.TLPhotosGetUserPhotos) (*mtproto.Photos_Photos, error)
- func (c *PhotosCore) PhotosUpdateProfilePhoto(in *mtproto.TLPhotosUpdateProfilePhoto) (*mtproto.Photos_Photo, error)
- func (c *PhotosCore) PhotosUploadProfilePhoto(in *mtproto.TLPhotosUploadProfilePhoto) (*mtproto.Photos_Photo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhotosCore ¶
type PhotosCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *PhotosCore
func (*PhotosCore) PhotosDeletePhotos ¶
func (c *PhotosCore) PhotosDeletePhotos(in *mtproto.TLPhotosDeletePhotos) (*mtproto.Vector_Long, error)
PhotosDeletePhotos photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
func (*PhotosCore) PhotosGetUserPhotos ¶
func (c *PhotosCore) PhotosGetUserPhotos(in *mtproto.TLPhotosGetUserPhotos) (*mtproto.Photos_Photos, error)
PhotosGetUserPhotos photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
func (*PhotosCore) PhotosUpdateProfilePhoto ¶
func (c *PhotosCore) PhotosUpdateProfilePhoto(in *mtproto.TLPhotosUpdateProfilePhoto) (*mtproto.Photos_Photo, error)
PhotosUpdateProfilePhoto photos.updateProfilePhoto#72d4742c id:InputPhoto = photos.Photo;
func (*PhotosCore) PhotosUploadProfilePhoto ¶
func (c *PhotosCore) PhotosUploadProfilePhoto(in *mtproto.TLPhotosUploadProfilePhoto) (*mtproto.Photos_Photo, error)
PhotosUploadProfilePhoto photos.uploadProfilePhoto#89f30f69 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = photos.Photo;
Click to show internal directories.
Click to hide internal directories.