AddChatUser

class pyrogram.raw.functions.messages.AddChatUser

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

Details
  • Layer: 122

  • ID: 0xf9a0aa09

Parameters
  • chat_id (int 32-bit) – Chat ID.

  • user_id (InputUser) – User ID to be added.

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

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.