Class ChatPermissionsType Describes actions that a non-administrator user is allowed to take in a chat.
see | |
---|---|
package | Default |
create(array|null $data = null
) : \TgBotApi\BotApiBase\Type\ChatPermissionsType
array
null
\TgBotApi\BotApiBase\Type\ChatPermissionsType
fill(array $data, array $forbidden = array()
)
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
---|
$canAddWebPagePreviews : boolean
$canChangeInfo : boolean
$canInviteUsers : boolean
$canPinMessages : boolean
$canSendMediaMessages : boolean
$canSendMessages : boolean
$canSendOtherMessages : boolean
$canSendPolls : boolean