Skip to content

danog\MadelineProto\EventHandler\Message\Rich\Button\UserProfile: A button that opens the profile of a user.

Back to index

Author: Daniil Gentili daniil@daniil.it

A button that opens the profile of a user.

Properties

  • $userId: int ID of the user
  • $text: danog\MadelineProto\EventHandler\Message\Rich\RichText Text of the button
  • $style: ?danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle Style of the button, null for the default one

Method list:

Methods:

__construct(\danog\MadelineProto\EventHandler\Message\Rich\RichText|string $text, int $userId, ?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle $style = NULL)

Parameters:

  • $text: \danog\MadelineProto\EventHandler\Message\Rich\RichText|string
  • $userId: int
  • $style: ?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle

See also:


Generated by danog/phpdoc