Skip to content

canBotSendMessages

Function · TDLib 1.8.67 · d1085f9c

Checks whether the specified bot can send messages to the user. Returns a 404 error if can't and the access can be granted by call to allowBotToSendMessages

canBotSendMessages(
  bot_user_id: int53
) → Ok

bot_user_id

int53

Identifier of the target bot