bots.SendCustomRequest

class pyrogram.raw.functions.bots.SendCustomRequest

Sends a custom request; for bots only

Details:
  • Layer: 187

  • ID: AA2769ED

Parameters:
  • custom_method (str) – The method name

  • params (DataJSON) – JSON-serialized method parameters

Returns:

DataJSON