ChannelAdminLogEventActionParticipantJoinByRequest

class pyrogram.raw.types.ChannelAdminLogEventActionParticipantJoinByRequest

A new member was accepted to the chat by an admin

Constructor of ChannelAdminLogEventAction.

Details:
  • Layer: 227

  • ID: AFB6144A

Parameters:
  • invite (ExportedChatInvite) – The invite link that was used to join the chat

  • approved_by (int 64-bit) – ID of the admin that approved the invite

TL Schema

channelAdminLogEventActionParticipantJoinByRequest#afb6144a
invite:ExportedChatInvite
approved_by:long

= ChannelAdminLogEventAction

Parameter Tree

ChannelAdminLogEventActionParticipantJoinByRequest
├── invite → ExportedChatInvite
│ ├── ChatInviteExported
│ │ ├── revoked → true (optional)
│ │ ├── permanent → true (optional)
│ │ ├── request_needed → true (optional)
│ │ ├── link → string
│ │ ├── admin_id → long
│ │ ├── date → int
│ │ ├── start_date → int (optional)
│ │ ├── expire_date → int (optional)
│ │ ├── usage_limit → int (optional)
│ │ ├── usage → int (optional)
│ │ ├── requested → int (optional)
│ │ ├── subscription_expired → int (optional)
│ │ ├── title → string (optional)
│ │ └── subscription_pricing → StarsSubscriptionPricing (optional)
│ │ └── StarsSubscriptionPricing
│ │ ├── period → int
│ │ └── amount → long
└── approved_by → long

Example

ChannelAdminLogEventActionParticipantJoinByRequest(
    invite=ChatInviteExported(
        link="text",
        admin_id=0,
        date=0
    ),
    approved_by=0,
)