822 B
822 B
title | description |
---|---|
InputChannel | constructors and methods of type InputChannel |
Type: InputChannel
The following syntaxes can also be used:
$inlineBotSwitchPM = '@username'; // Username
$inlineBotSwitchPM = 44700; // bot API id (users)
$inlineBotSwitchPM = -492772765; // bot API id (chats)
$inlineBotSwitchPM = -10038575794; // bot API id (channels)
$inlineBotSwitchPM = 'user#44700'; // tg-cli style id (users)
$inlineBotSwitchPM = 'chat#492772765'; // tg-cli style id (chats)
$inlineBotSwitchPM = 'channel#38575794'; // tg-cli style id (channels)