core

package
v0.85.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportsCore

type ReportsCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *ReportsCore

func (*ReportsCore) AccountReportPeer

func (c *ReportsCore) AccountReportPeer(in *mtproto.TLAccountReportPeer) (*mtproto.Bool, error)

AccountReportPeer account.reportPeer#c5ba3d86 peer:InputPeer reason:ReportReason message:string = Bool;

func (*ReportsCore) AccountReportProfilePhoto

func (c *ReportsCore) AccountReportProfilePhoto(in *mtproto.TLAccountReportProfilePhoto) (*mtproto.Bool, error)

AccountReportProfilePhoto account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;

func (*ReportsCore) ChannelsReportSpam

func (c *ReportsCore) ChannelsReportSpam(in *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)

ChannelsReportSpam channels.reportSpam#f44a8315 channel:InputChannel participant:InputPeer id:Vector<int> = Bool;

func (*ReportsCore) MessagesReport

func (c *ReportsCore) MessagesReport(in *mtproto.TLMessagesReport) (*mtproto.Bool, error)

MessagesReport messages.report#8953ab4e peer:InputPeer id:Vector<int> reason:ReportReason message:string = Bool;

func (*ReportsCore) MessagesReportEncryptedSpam

func (c *ReportsCore) MessagesReportEncryptedSpam(in *mtproto.TLMessagesReportEncryptedSpam) (*mtproto.Bool, error)

MessagesReportEncryptedSpam messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;

func (*ReportsCore) MessagesReportSpam

func (c *ReportsCore) MessagesReportSpam(in *mtproto.TLMessagesReportSpam) (*mtproto.Bool, error)

MessagesReportSpam messages.reportSpam#cf1592db peer:InputPeer = Bool;

Jump to

Keyboard shortcuts

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