Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / SubscribedMembershipUser

Type Alias: SubscribedMembershipUser

SubscribedMembershipUser: object

Object containing user membership subscription information.

Type declaration

joinedTime

joinedTime: number

UNIX timestamp at which the user subscribed to the membership.

membershipNo

membershipNo: number

The user's member number in the membership plan.

nextBillingDate

nextBillingDate: string

Next payment date for membership plan. - Format: yyyy-MM-dd (e.g. 2024-02-08) - Timezone: UTC+9

totalSubscriptionMonths

totalSubscriptionMonths: number

The period of time in months that the user has been subscribed to a membership plan. If a user previously canceled and then re-subscribed to the same membership plan, only the period after the re-subscription will be counted.

Defined in

lib/messaging-api/model/subscribedMembershipUser.ts:16