Documentation ¶
Index ¶
- type ReportsCore
- func (c *ReportsCore) AccountReportPeer(in *mtproto.TLAccountReportPeer) (*mtproto.Bool, error)
- func (c *ReportsCore) AccountReportProfilePhoto(in *mtproto.TLAccountReportProfilePhoto) (*mtproto.Bool, error)
- func (c *ReportsCore) ChannelsReportSpam(in *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)
- func (c *ReportsCore) MessagesReport(in *mtproto.TLMessagesReport) (*mtproto.Bool, error)
- func (c *ReportsCore) MessagesReportEncryptedSpam(in *mtproto.TLMessagesReportEncryptedSpam) (*mtproto.Bool, error)
- func (c *ReportsCore) MessagesReportSpam(in *mtproto.TLMessagesReportSpam) (*mtproto.Bool, error)
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;