SendCustomRequest

class pyrogram.raw.functions.bots.SendCustomRequest

Sends a custom request; for bots only.

Details
  • Layer: 122

  • ID: 0xaa2769ed

Parameters
  • custom_method (str) – The method name.

  • params (DataJSON) – JSON-serialized method parameters.

Returns

DataJSON – Represent a JSON-encoded object.