StartBot¶
-
class
pyrogram.api.functions.messages.
StartBot
¶ -
LAYER
¶ 105
-
ID
¶ 0xe6df7378
- Parameters
bot – Either
InputUserEmpty
,InputUserSelf
,InputUser
orInputUserFromMessage
peer – Either
InputPeerEmpty
,InputPeerSelf
,InputPeerChat
,InputPeerUser
,InputPeerChannel
,InputPeerUserFromMessage
orInputPeerChannelFromMessage
random_id –
int
64-bit
start_param –
str
- Returns
Either
UpdatesTooLong
,UpdateShortMessage
,UpdateShortChatMessage
,UpdateShort
,UpdatesCombined
,Update
orUpdateShortSentMessage
-