messages.AddChatUser

class pyrogram.raw.functions.messages.AddChatUser

Adds a user to a chat and sends a service message on it.

Details:
  • Layer: 194

  • ID: CBC6D107

Parameters:
  • chat_id (int 64-bit) – Chat ID

  • user_id (InputUser) – User ID to be added

  • fwd_limit (int 32-bit) – Number of last messages to be forwarded

Returns:

messages.InvitedUsers