Documentation ¶
Index ¶
- type Service
- func (s *Service) AccountReportPeer(ctx context.Context, request *mtproto.TLAccountReportPeer) (*mtproto.Bool, error)
- func (s *Service) AccountReportProfilePhoto(ctx context.Context, request *mtproto.TLAccountReportProfilePhoto) (*mtproto.Bool, error)
- func (s *Service) ChannelsReportSpam(ctx context.Context, request *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)
- func (s *Service) MessagesReport(ctx context.Context, request *mtproto.TLMessagesReport) (*mtproto.Bool, error)
- func (s *Service) MessagesReportEncryptedSpam(ctx context.Context, request *mtproto.TLMessagesReportEncryptedSpam) (*mtproto.Bool, error)
- func (s *Service) MessagesReportSpam(ctx context.Context, request *mtproto.TLMessagesReportSpam) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *svc.ServiceContext) *Service
func (*Service) AccountReportPeer ¶
func (s *Service) AccountReportPeer(ctx context.Context, request *mtproto.TLAccountReportPeer) (*mtproto.Bool, error)
AccountReportPeer account.reportPeer#c5ba3d86 peer:InputPeer reason:ReportReason message:string = Bool;
func (*Service) AccountReportProfilePhoto ¶
func (s *Service) AccountReportProfilePhoto(ctx context.Context, request *mtproto.TLAccountReportProfilePhoto) (*mtproto.Bool, error)
AccountReportProfilePhoto account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;
func (*Service) ChannelsReportSpam ¶
func (s *Service) ChannelsReportSpam(ctx context.Context, request *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)
ChannelsReportSpam channels.reportSpam#f44a8315 channel:InputChannel participant:InputPeer id:Vector<int> = Bool;
func (*Service) MessagesReport ¶
func (s *Service) MessagesReport(ctx context.Context, request *mtproto.TLMessagesReport) (*mtproto.Bool, error)
MessagesReport messages.report#8953ab4e peer:InputPeer id:Vector<int> reason:ReportReason message:string = Bool;
func (*Service) MessagesReportEncryptedSpam ¶
func (s *Service) MessagesReportEncryptedSpam(ctx context.Context, request *mtproto.TLMessagesReportEncryptedSpam) (*mtproto.Bool, error)
MessagesReportEncryptedSpam messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;
func (*Service) MessagesReportSpam ¶
func (s *Service) MessagesReportSpam(ctx context.Context, request *mtproto.TLMessagesReportSpam) (*mtproto.Bool, error)
MessagesReportSpam messages.reportSpam#cf1592db peer:InputPeer = Bool;