$row1 = @($buttonsubcheck, $buttonsubtrial)
$row2 = @($buttonsubback)
$buttonssub = ($row1, $row2)
Invoke-WebRequest -Method Post -Body ((@{text='test'; chat_id=$chat_id; parse_mode = "Markdown"; reply_markup = @{"inline_keyboard" = $buttonssub } } | ConvertTo-Json -Depth 10)) -Uri $uri -ContentType 'application/json; charset=utf-8'
{
"reply_markup": {
"inline_keyboard": [
[
{
"text": "Check status",
"callback_data": "substatus"
},
{
"text": "Request trial",
"callback_data": "subtrial"
}
],
[
{
"text": "Back",
"callback_data": "back"
}
]
]
},
"chat_id": $chat_id,
"text": "test",
"parse_mode": "Markdown"
}
[/etc/httpd] grep -i 'sethandler' * -R
[/etc/httpd] grep -i 'x-httpd-php' * -R
In windows (i don't remember if it is a client or a server/protocol
limitation...) you cannot connect the same resource with two user
(even the ''guest access'' one).
Строка с запятыми вот тут не прокатит
Get-WmiObject -ComputerName $ArrComputers
Надо вот так: