Class PromoteChatMemberMethod.
see | |
---|---|
package | Default |
create($chatId, $userId, array $data = null
)
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$canChangeInfo : boolean | null
$canDeleteMessages : boolean | null
$canEditMessages : boolean | null
$canInviteUsers : boolean | null
$canPinMessages : boolean | null
$canPostMessages : boolean | null
$canPromoteMembers : boolean | null
$canRestrictMembers : boolean | null
$chatId : integer | string
$isAnonymous : boolean | null
$userId : integer