rpc

package
v0.0.0-...-6e21e7b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhotoServiceImpl

type PhotoServiceImpl struct {
}

func (*PhotoServiceImpl) NbfsGetDocument

func (s *PhotoServiceImpl) NbfsGetDocument(ctx context.Context, request *mtproto.DocumentId) (*mtproto.Document, error)

rpc nbfs_getDocument(DocumentId) returns (PhotoDataRsp);

func (*PhotoServiceImpl) NbfsGetDocumentList

func (s *PhotoServiceImpl) NbfsGetDocumentList(ctx context.Context, request *mtproto.DocumentIdList) (*mtproto.DocumentList, error)

rpc nbfs_getDocumentList(DocumentIdList) returns (DocumentList);

func (*PhotoServiceImpl) NbfsGetPhotoFileData

func (s *PhotoServiceImpl) NbfsGetPhotoFileData(ctx context.Context, request *mtproto.GetPhotoFileDataRequest) (*mtproto.PhotoDataRsp, error)

rpc nbfs_getPhotoFileData(GetPhotoFileDataRequest) returns (PhotoDataRsp);

func (*PhotoServiceImpl) NbfsUploadPhotoFile

func (s *PhotoServiceImpl) NbfsUploadPhotoFile(ctx context.Context, request *mtproto.UploadPhotoFileRequest) (*mtproto.PhotoDataRsp, error)

rpc rpc nbfs_uploadPhotoFile(UploadPhotoFileRequest) returns (PhotoDataRsp);

func (*PhotoServiceImpl) NbfsUploadedDocumentMedia

func (s *PhotoServiceImpl) NbfsUploadedDocumentMedia(ctx context.Context, request *mtproto.NbfsUploadedDocumentMedia) (*mtproto.TLMessageMediaDocument, error)

inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

func (*PhotoServiceImpl) NbfsUploadedPhotoMedia

func (s *PhotoServiceImpl) NbfsUploadedPhotoMedia(ctx context.Context, request *mtproto.NbfsUploadedPhotoMedia) (*mtproto.TLMessageMediaPhoto, error)

inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

Jump to

Keyboard shortcuts

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