bots.SendCustomRequest

class pyrogram.raw.functions.bots.SendCustomRequest

Sends a custom request; for bots only

Details:
  • Layer: 194

  • ID: AA2769ED

Parameters:
  • custom_method (str) – The method name

  • params (DataJSON) – JSON-serialized method parameters

Returns:

DataJSON