• Twitter
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema
  • API
  • All Methods
  • account.reportPeer

account.reportPeer

Report a peer for violation of telegram's Terms of Service

  • Layer 105
    • 1 – Base layer
    • 2 – New userpic notifications
    • 3 – Send message can trigger link change
    • 4 – Check-in chats
    • 5 – Localized SMS, localized notifications
    • 6 – Foursquare integration
    • 7 – Added wallPaperSolid
    • 8 – Added end-to-end encryption
    • 9 – Improved big files upload perfomance
    • 10 – Improved chat participants updates
    • 11 – Improved secret chats
    • 12 – New dynamic support
    • 13 – Audio, video MIME; contacts import retry; new secret actions
    • 14 – Notify settings sync, blacklist sync
    • 15 – Modified getHistory offset behaviour
    • 16 – Split sendCode into 2 parts
    • 17 – Added custom typing, introduced message flags
    • 18 – Added usernames
    • 23 – Stickers for secret chats
    • 105 – Scheduled messages, Cloud themes
    • More...
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;

Parameters

Name Type Description
peer InputPeer The peer to report
reason ReportReason The reason why this peer is being reported

Result

Bool

Possible errors

Code Type Description
400 BOT_METHOD_INVALID This method can't be used by a bot
400 PEER_ID_INVALID The provided peer id is invalid
Telegram
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
About
  • FAQ
  • Blog
  • Jobs
Mobile Apps
  • iPhone/iPad
  • Android
  • Windows Phone
Desktop Apps
  • PC/Mac/Linux
  • macOS
  • Web-browser
Platform
  • API
  • Translations
  • Instant View
About
Blog
Apps
Platform
Twitter