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 undefinedWhether i joined upon specific approval of an admin
userId
: bigintUser id
inviterId
: bigintUser that invited me to the channel/supergroup
date
: numberWhen did i join the channel/supergroup
subscriptionUntilDate
: number or undefinedIf set, contains the expiration date of the current telegram star subscription period for the specified participant.