core

package
v0.87.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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;

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL