Link Search Menu Expand Document

danog\MadelineProto\Broadcast\Action

Back to index

Author: Daniil Gentili daniil@daniil.it

Interface that represents a broadcast action.

Method list:

Methods:

act(integer $broadcastId, integer $peer, \Amp\Cancellation $cancellation): void

Do something with a single peer.

Parameters:

  • $broadcastId: integer Broadcast ID
  • $peer: integer Broadcast peer
  • $cancellation: \Amp\Cancellation Cancellation token

See also:

  • \Amp\Cancellation

Generated by danog/phpdoc