Raw.ChannelParticipantSelf

Raw.ChannelParticipantSelf

Myself

channelParticipantSelf#4f607bef flags:# via_request:flags.0?true user_id:long inviter_id:long date:int subscription_until_date:flags.1?int = ChannelParticipant;
export namespace Raw {
  export class ChannelParticipantSelf {
    constructor(params: {
      viaRequest?: boolean;
      userId: bigint;
      inviterId: bigint;
      date: number;
      subscriptionUntilDate?: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0x4f607bef

Property

  • viaRequest : boolean or undefined

    Whether i joined upon specific approval of an admin

  • userId : bigint

    User id

  • inviterId : bigint

    User that invited me to the channel/supergroup

  • date : number

    When did i join the channel/supergroup

  • subscriptionUntilDate : number or undefined

    If set, contains the expiration date of the current telegram star subscription period for the specified participant.