Documentation
¶
Index ¶
- type AcquisitionConditionRequest
- type AcquisitionConditionRequestInterface
- type AcquisitionConditionResponse
- type AcquisitionConditionResponseInterface
- type Action
- type ActionInterface
- type AgeDemographic
- type AgeDemographicFilter
- type AllMentionTarget
- type AltUri
- type AppTypeDemographic
- type AppTypeDemographicFilter
- type AreaDemographic
- type AreaDemographicFilter
- type AudienceMatchMessagesRequest
- type AudienceRecipient
- type AudioMessage
- type BotInfoResponse
- type BotInfoResponseCHAT_MODE
- type BotInfoResponseMARK_AS_READ_MODE
- type BroadcastRequest
- type ButtonsTemplate
- type CameraAction
- type CameraRollAction
- type CarouselColumn
- type CarouselTemplate
- type CashBackFixedPriceInfoRequest
- type CashBackFixedPriceInfoResponse
- type CashBackFixedPriceInfoResponseCURRENCY
- type CashBackPercentagePriceInfoRequest
- type CashBackPercentagePriceInfoResponse
- type CashBackPriceInfoRequest
- type CashBackPriceInfoRequestInterface
- type CashBackPriceInfoResponse
- type CashBackPriceInfoResponseInterface
- type ChatReference
- type ClipboardAction
- type ClipboardImagemapAction
- type ConfirmTemplate
- type CouponCashBackRewardRequest
- type CouponCashBackRewardResponse
- type CouponCreateRequest
- type CouponCreateRequestTIMEZONE
- type CouponCreateRequestVISIBILITY
- type CouponCreateResponse
- type CouponDiscountRewardRequest
- type CouponDiscountRewardResponse
- type CouponFreeRewardRequest
- type CouponFreeRewardResponse
- type CouponGiftRewardRequest
- type CouponGiftRewardResponse
- type CouponListResponse
- type CouponMessage
- type CouponOthersRewardRequest
- type CouponOthersRewardResponse
- type CouponResponse
- type CouponResponseSTATUS
- type CouponResponseTIMEZONE
- type CouponResponseVISIBILITY
- type CouponRewardRequest
- type CouponRewardRequestInterface
- type CouponRewardResponse
- type CouponRewardResponseInterface
- type CreateRichMenuAliasRequest
- type DatetimePickerAction
- type DatetimePickerActionMODE
- type DemographicFilter
- type DemographicFilterInterface
- type DiscountExplicitPriceInfoRequest
- type DiscountExplicitPriceInfoResponse
- type DiscountExplicitPriceInfoResponseCURRENCY
- type DiscountFixedPriceInfoRequest
- type DiscountFixedPriceInfoResponse
- type DiscountFixedPriceInfoResponseCURRENCY
- type DiscountPercentagePriceInfoRequest
- type DiscountPercentagePriceInfoResponse
- type DiscountPriceInfoRequest
- type DiscountPriceInfoRequestInterface
- type DiscountPriceInfoResponse
- type DiscountPriceInfoResponseInterface
- type Emoji
- type EmojiSubstitutionObject
- type ErrorDetail
- type ErrorResponse
- type Filter
- type FlexBlockStyle
- type FlexBox
- type FlexBoxALIGN_ITEMS
- type FlexBoxBackground
- type FlexBoxBackgroundInterface
- type FlexBoxBorderWidth
- type FlexBoxCornerRadius
- type FlexBoxJUSTIFY_CONTENT
- type FlexBoxLAYOUT
- type FlexBoxLinearGradient
- type FlexBoxPOSITION
- type FlexBoxPadding
- type FlexBoxSpacing
- type FlexBubble
- type FlexBubbleDIRECTION
- type FlexBubbleSIZE
- type FlexBubbleStyles
- type FlexButton
- type FlexButtonADJUST_MODE
- type FlexButtonGRAVITY
- type FlexButtonHEIGHT
- type FlexButtonPOSITION
- type FlexButtonSTYLE
- type FlexCarousel
- type FlexComponent
- type FlexComponentInterface
- type FlexContainer
- type FlexContainerInterface
- type FlexFiller
- type FlexIcon
- type FlexIconPOSITION
- type FlexIconSize
- type FlexImage
- type FlexImageALIGN
- type FlexImageASPECT_MODE
- type FlexImageGRAVITY
- type FlexImagePOSITION
- type FlexImageSize
- type FlexMargin
- type FlexMessage
- type FlexOffset
- type FlexSeparator
- type FlexSpan
- type FlexSpanDECORATION
- type FlexSpanSTYLE
- type FlexSpanSize
- type FlexSpanWEIGHT
- type FlexText
- type FlexTextADJUST_MODE
- type FlexTextALIGN
- type FlexTextDECORATION
- type FlexTextFontSize
- type FlexTextGRAVITY
- type FlexTextPOSITION
- type FlexTextSTYLE
- type FlexTextWEIGHT
- type FlexVideo
- type GenderDemographic
- type GenderDemographicFilter
- type GetAggregationUnitNameListResponse
- type GetAggregationUnitUsageResponse
- type GetFollowersResponse
- type GetJoinedMembershipUsersResponse
- type GetMembershipSubscriptionResponse
- type GetMessageContentTranscodingResponse
- type GetMessageContentTranscodingResponseSTATUS
- type GetWebhookEndpointResponse
- type GroupMemberCountResponse
- type GroupSummaryResponse
- type GroupUserProfileResponse
- type ImageCarouselColumn
- type ImageCarouselTemplate
- type ImageMessage
- type ImagemapAction
- type ImagemapActionInterface
- type ImagemapArea
- type ImagemapBaseSize
- type ImagemapExternalLink
- type ImagemapMessage
- type ImagemapVideo
- type IssueLinkTokenResponse
- type Limit
- type LocationAction
- type LocationMessage
- type LotteryAcquisitionConditionRequest
- type LotteryAcquisitionConditionResponse
- type MarkMessagesAsReadRequest
- type MembersIdsResponse
- type Membership
- type MembershipCURRENCY
- type MembershipListResponse
- type MentionSubstitutionObject
- type MentionTarget
- type MentionTargetInterface
- type Message
- type MessageAction
- type MessageImagemapAction
- type MessageInterface
- type MessageQuotaResponse
- type MessagingApiAPI
- func (client *MessagingApiAPI) Broadcast(broadcastRequest *BroadcastRequest, xLineRetryKey string) (*map[string]interface{}, error)
- func (client *MessagingApiAPI) BroadcastWithHttpInfo(broadcastRequest *BroadcastRequest, xLineRetryKey string) (*http.Response, *map[string]interface{}, error)
- func (client *MessagingApiAPI) CancelDefaultRichMenu() (struct{}, error)
- func (client *MessagingApiAPI) CancelDefaultRichMenuWithHttpInfo() (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) CloseCoupon(couponId string) (struct{}, error)
- func (client *MessagingApiAPI) CloseCouponWithHttpInfo(couponId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) CreateCoupon(couponCreateRequest *CouponCreateRequest) (*CouponCreateResponse, error)
- func (client *MessagingApiAPI) CreateCouponWithHttpInfo(couponCreateRequest *CouponCreateRequest) (*http.Response, *CouponCreateResponse, error)
- func (client *MessagingApiAPI) CreateRichMenu(richMenuRequest *RichMenuRequest) (*RichMenuIdResponse, error)
- func (client *MessagingApiAPI) CreateRichMenuAlias(createRichMenuAliasRequest *CreateRichMenuAliasRequest) (struct{}, error)
- func (client *MessagingApiAPI) CreateRichMenuAliasWithHttpInfo(createRichMenuAliasRequest *CreateRichMenuAliasRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) CreateRichMenuWithHttpInfo(richMenuRequest *RichMenuRequest) (*http.Response, *RichMenuIdResponse, error)
- func (client *MessagingApiAPI) DeleteRichMenu(richMenuId string) (struct{}, error)
- func (client *MessagingApiAPI) DeleteRichMenuAlias(richMenuAliasId string) (struct{}, error)
- func (client *MessagingApiAPI) DeleteRichMenuAliasWithHttpInfo(richMenuAliasId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) DeleteRichMenuWithHttpInfo(richMenuId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) Do(req *http.Request) (*http.Response, error)
- func (client *MessagingApiAPI) GetAggregationUnitNameList(limit string, start string) (*GetAggregationUnitNameListResponse, error)
- func (client *MessagingApiAPI) GetAggregationUnitNameListWithHttpInfo(limit string, start string) (*http.Response, *GetAggregationUnitNameListResponse, error)
- func (client *MessagingApiAPI) GetAggregationUnitUsage() (*GetAggregationUnitUsageResponse, error)
- func (client *MessagingApiAPI) GetAggregationUnitUsageWithHttpInfo() (*http.Response, *GetAggregationUnitUsageResponse, error)
- func (client *MessagingApiAPI) GetBotInfo() (*BotInfoResponse, error)
- func (client *MessagingApiAPI) GetBotInfoWithHttpInfo() (*http.Response, *BotInfoResponse, error)
- func (client *MessagingApiAPI) GetCouponDetail(couponId string) (*CouponResponse, error)
- func (client *MessagingApiAPI) GetCouponDetailWithHttpInfo(couponId string) (*http.Response, *CouponResponse, error)
- func (client *MessagingApiAPI) GetDefaultRichMenuId() (*RichMenuIdResponse, error)
- func (client *MessagingApiAPI) GetDefaultRichMenuIdWithHttpInfo() (*http.Response, *RichMenuIdResponse, error)
- func (client *MessagingApiAPI) GetFollowers(start string, limit int32) (*GetFollowersResponse, error)
- func (client *MessagingApiAPI) GetFollowersWithHttpInfo(start string, limit int32) (*http.Response, *GetFollowersResponse, error)
- func (client *MessagingApiAPI) GetGroupMemberCount(groupId string) (*GroupMemberCountResponse, error)
- func (client *MessagingApiAPI) GetGroupMemberCountWithHttpInfo(groupId string) (*http.Response, *GroupMemberCountResponse, error)
- func (client *MessagingApiAPI) GetGroupMemberProfile(groupId string, userId string) (*GroupUserProfileResponse, error)
- func (client *MessagingApiAPI) GetGroupMemberProfileWithHttpInfo(groupId string, userId string) (*http.Response, *GroupUserProfileResponse, error)
- func (client *MessagingApiAPI) GetGroupMembersIds(groupId string, start string) (*MembersIdsResponse, error)
- func (client *MessagingApiAPI) GetGroupMembersIdsWithHttpInfo(groupId string, start string) (*http.Response, *MembersIdsResponse, error)
- func (client *MessagingApiAPI) GetGroupSummary(groupId string) (*GroupSummaryResponse, error)
- func (client *MessagingApiAPI) GetGroupSummaryWithHttpInfo(groupId string) (*http.Response, *GroupSummaryResponse, error)
- func (client *MessagingApiAPI) GetJoinedMembershipUsers(membershipId int32, start string, limit int32) (*GetJoinedMembershipUsersResponse, error)
- func (client *MessagingApiAPI) GetJoinedMembershipUsersWithHttpInfo(membershipId int32, start string, limit int32) (*http.Response, *GetJoinedMembershipUsersResponse, error)
- func (client *MessagingApiAPI) GetMembershipList() (*MembershipListResponse, error)
- func (client *MessagingApiAPI) GetMembershipListWithHttpInfo() (*http.Response, *MembershipListResponse, error)
- func (client *MessagingApiAPI) GetMembershipSubscription(userId string) (*GetMembershipSubscriptionResponse, error)
- func (client *MessagingApiAPI) GetMembershipSubscriptionWithHttpInfo(userId string) (*http.Response, *GetMembershipSubscriptionResponse, error)
- func (client *MessagingApiAPI) GetMessageQuota() (*MessageQuotaResponse, error)
- func (client *MessagingApiAPI) GetMessageQuotaConsumption() (*QuotaConsumptionResponse, error)
- func (client *MessagingApiAPI) GetMessageQuotaConsumptionWithHttpInfo() (*http.Response, *QuotaConsumptionResponse, error)
- func (client *MessagingApiAPI) GetMessageQuotaWithHttpInfo() (*http.Response, *MessageQuotaResponse, error)
- func (client *MessagingApiAPI) GetNarrowcastProgress(requestId string) (*NarrowcastProgressResponse, error)
- func (client *MessagingApiAPI) GetNarrowcastProgressWithHttpInfo(requestId string) (*http.Response, *NarrowcastProgressResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentBroadcastMessages(date string) (*NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentBroadcastMessagesWithHttpInfo(date string) (*http.Response, *NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentMulticastMessages(date string) (*NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentMulticastMessagesWithHttpInfo(date string) (*http.Response, *NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentPushMessages(date string) (*NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentPushMessagesWithHttpInfo(date string) (*http.Response, *NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentReplyMessages(date string) (*NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetNumberOfSentReplyMessagesWithHttpInfo(date string) (*http.Response, *NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetPNPMessageStatistics(date string) (*NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetPNPMessageStatisticsWithHttpInfo(date string) (*http.Response, *NumberOfMessagesResponse, error)
- func (client *MessagingApiAPI) GetProfile(userId string) (*UserProfileResponse, error)
- func (client *MessagingApiAPI) GetProfileWithHttpInfo(userId string) (*http.Response, *UserProfileResponse, error)
- func (client *MessagingApiAPI) GetRichMenu(richMenuId string) (*RichMenuResponse, error)
- func (client *MessagingApiAPI) GetRichMenuAlias(richMenuAliasId string) (*RichMenuAliasResponse, error)
- func (client *MessagingApiAPI) GetRichMenuAliasList() (*RichMenuAliasListResponse, error)
- func (client *MessagingApiAPI) GetRichMenuAliasListWithHttpInfo() (*http.Response, *RichMenuAliasListResponse, error)
- func (client *MessagingApiAPI) GetRichMenuAliasWithHttpInfo(richMenuAliasId string) (*http.Response, *RichMenuAliasResponse, error)
- func (client *MessagingApiAPI) GetRichMenuBatchProgress(requestId string) (*RichMenuBatchProgressResponse, error)
- func (client *MessagingApiAPI) GetRichMenuBatchProgressWithHttpInfo(requestId string) (*http.Response, *RichMenuBatchProgressResponse, error)
- func (client *MessagingApiAPI) GetRichMenuIdOfUser(userId string) (*RichMenuIdResponse, error)
- func (client *MessagingApiAPI) GetRichMenuIdOfUserWithHttpInfo(userId string) (*http.Response, *RichMenuIdResponse, error)
- func (client *MessagingApiAPI) GetRichMenuList() (*RichMenuListResponse, error)
- func (client *MessagingApiAPI) GetRichMenuListWithHttpInfo() (*http.Response, *RichMenuListResponse, error)
- func (client *MessagingApiAPI) GetRichMenuWithHttpInfo(richMenuId string) (*http.Response, *RichMenuResponse, error)
- func (client *MessagingApiAPI) GetRoomMemberCount(roomId string) (*RoomMemberCountResponse, error)
- func (client *MessagingApiAPI) GetRoomMemberCountWithHttpInfo(roomId string) (*http.Response, *RoomMemberCountResponse, error)
- func (client *MessagingApiAPI) GetRoomMemberProfile(roomId string, userId string) (*RoomUserProfileResponse, error)
- func (client *MessagingApiAPI) GetRoomMemberProfileWithHttpInfo(roomId string, userId string) (*http.Response, *RoomUserProfileResponse, error)
- func (client *MessagingApiAPI) GetRoomMembersIds(roomId string, start string) (*MembersIdsResponse, error)
- func (client *MessagingApiAPI) GetRoomMembersIdsWithHttpInfo(roomId string, start string) (*http.Response, *MembersIdsResponse, error)
- func (client *MessagingApiAPI) GetWebhookEndpoint() (*GetWebhookEndpointResponse, error)
- func (client *MessagingApiAPI) GetWebhookEndpointWithHttpInfo() (*http.Response, *GetWebhookEndpointResponse, error)
- func (client *MessagingApiAPI) IssueLinkToken(userId string) (*IssueLinkTokenResponse, error)
- func (client *MessagingApiAPI) IssueLinkTokenWithHttpInfo(userId string) (*http.Response, *IssueLinkTokenResponse, error)
- func (client *MessagingApiAPI) LeaveGroup(groupId string) (struct{}, error)
- func (client *MessagingApiAPI) LeaveGroupWithHttpInfo(groupId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) LeaveRoom(roomId string) (struct{}, error)
- func (client *MessagingApiAPI) LeaveRoomWithHttpInfo(roomId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) LinkRichMenuIdToUser(userId string, richMenuId string) (struct{}, error)
- func (client *MessagingApiAPI) LinkRichMenuIdToUserWithHttpInfo(userId string, richMenuId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) LinkRichMenuIdToUsers(richMenuBulkLinkRequest *RichMenuBulkLinkRequest) (struct{}, error)
- func (client *MessagingApiAPI) LinkRichMenuIdToUsersWithHttpInfo(richMenuBulkLinkRequest *RichMenuBulkLinkRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ListCoupon(status *[]string, start string, limit int32) (*MessagingApiPagerCouponListResponse, error)
- func (client *MessagingApiAPI) ListCouponWithHttpInfo(status *[]string, start string, limit int32) (*http.Response, *MessagingApiPagerCouponListResponse, error)
- func (client *MessagingApiAPI) MarkMessagesAsRead(markMessagesAsReadRequest *MarkMessagesAsReadRequest) (struct{}, error)
- func (client *MessagingApiAPI) MarkMessagesAsReadWithHttpInfo(markMessagesAsReadRequest *MarkMessagesAsReadRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) Multicast(multicastRequest *MulticastRequest, xLineRetryKey string) (*map[string]interface{}, error)
- func (client *MessagingApiAPI) MulticastWithHttpInfo(multicastRequest *MulticastRequest, xLineRetryKey string) (*http.Response, *map[string]interface{}, error)
- func (client *MessagingApiAPI) Narrowcast(narrowcastRequest *NarrowcastRequest, xLineRetryKey string) (*map[string]interface{}, error)
- func (client *MessagingApiAPI) NarrowcastWithHttpInfo(narrowcastRequest *NarrowcastRequest, xLineRetryKey string) (*http.Response, *map[string]interface{}, error)
- func (client *MessagingApiAPI) PushMessage(pushMessageRequest *PushMessageRequest, xLineRetryKey string) (*PushMessageResponse, error)
- func (client *MessagingApiAPI) PushMessageWithHttpInfo(pushMessageRequest *PushMessageRequest, xLineRetryKey string) (*http.Response, *PushMessageResponse, error)
- func (client *MessagingApiAPI) PushMessagesByPhone(pnpMessagesRequest *PnpMessagesRequest, xLineDeliveryTag string) (struct{}, error)
- func (client *MessagingApiAPI) PushMessagesByPhoneWithHttpInfo(pnpMessagesRequest *PnpMessagesRequest, xLineDeliveryTag string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ReplyMessage(replyMessageRequest *ReplyMessageRequest) (*ReplyMessageResponse, error)
- func (client *MessagingApiAPI) ReplyMessageWithHttpInfo(replyMessageRequest *ReplyMessageRequest) (*http.Response, *ReplyMessageResponse, error)
- func (client *MessagingApiAPI) RichMenuBatch(richMenuBatchRequest *RichMenuBatchRequest) (struct{}, error)
- func (client *MessagingApiAPI) RichMenuBatchWithHttpInfo(richMenuBatchRequest *RichMenuBatchRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) SetDefaultRichMenu(richMenuId string) (struct{}, error)
- func (client *MessagingApiAPI) SetDefaultRichMenuWithHttpInfo(richMenuId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) SetWebhookEndpoint(setWebhookEndpointRequest *SetWebhookEndpointRequest) (struct{}, error)
- func (client *MessagingApiAPI) SetWebhookEndpointWithHttpInfo(setWebhookEndpointRequest *SetWebhookEndpointRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ShowLoadingAnimation(showLoadingAnimationRequest *ShowLoadingAnimationRequest) (*map[string]interface{}, error)
- func (client *MessagingApiAPI) ShowLoadingAnimationWithHttpInfo(showLoadingAnimationRequest *ShowLoadingAnimationRequest) (*http.Response, *map[string]interface{}, error)
- func (client *MessagingApiAPI) TestWebhookEndpoint(testWebhookEndpointRequest *TestWebhookEndpointRequest) (*TestWebhookEndpointResponse, error)
- func (client *MessagingApiAPI) TestWebhookEndpointWithHttpInfo(testWebhookEndpointRequest *TestWebhookEndpointRequest) (*http.Response, *TestWebhookEndpointResponse, error)
- func (client *MessagingApiAPI) UnlinkRichMenuIdFromUser(userId string) (struct{}, error)
- func (client *MessagingApiAPI) UnlinkRichMenuIdFromUserWithHttpInfo(userId string) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) UnlinkRichMenuIdFromUsers(richMenuBulkUnlinkRequest *RichMenuBulkUnlinkRequest) (struct{}, error)
- func (client *MessagingApiAPI) UnlinkRichMenuIdFromUsersWithHttpInfo(richMenuBulkUnlinkRequest *RichMenuBulkUnlinkRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) UpdateRichMenuAlias(richMenuAliasId string, updateRichMenuAliasRequest *UpdateRichMenuAliasRequest) (struct{}, error)
- func (client *MessagingApiAPI) UpdateRichMenuAliasWithHttpInfo(richMenuAliasId string, updateRichMenuAliasRequest *UpdateRichMenuAliasRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) Url(endpointPath string) string
- func (client *MessagingApiAPI) ValidateBroadcast(validateMessageRequest *ValidateMessageRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateBroadcastWithHttpInfo(validateMessageRequest *ValidateMessageRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidateMulticast(validateMessageRequest *ValidateMessageRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateMulticastWithHttpInfo(validateMessageRequest *ValidateMessageRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidateNarrowcast(validateMessageRequest *ValidateMessageRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateNarrowcastWithHttpInfo(validateMessageRequest *ValidateMessageRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidatePush(validateMessageRequest *ValidateMessageRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidatePushWithHttpInfo(validateMessageRequest *ValidateMessageRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidateReply(validateMessageRequest *ValidateMessageRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateReplyWithHttpInfo(validateMessageRequest *ValidateMessageRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidateRichMenuBatchRequest(richMenuBatchRequest *RichMenuBatchRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateRichMenuBatchRequestWithHttpInfo(richMenuBatchRequest *RichMenuBatchRequest) (*http.Response, struct{}, error)
- func (client *MessagingApiAPI) ValidateRichMenuObject(richMenuRequest *RichMenuRequest) (struct{}, error)
- func (client *MessagingApiAPI) ValidateRichMenuObjectWithHttpInfo(richMenuRequest *RichMenuRequest) (*http.Response, struct{}, error)
- func (call *MessagingApiAPI) WithContext(ctx context.Context) *MessagingApiAPI
- type MessagingApiAPIOption
- type MessagingApiBlobAPI
- func (client *MessagingApiBlobAPI) Do(req *http.Request) (*http.Response, error)
- func (client *MessagingApiBlobAPI) GetMessageContent(messageId string) (*http.Response, error)
- func (client *MessagingApiBlobAPI) GetMessageContentPreview(messageId string) (*http.Response, error)
- func (client *MessagingApiBlobAPI) GetMessageContentPreviewWithHttpInfo(messageId string) (*http.Response, *http.Response, error)
- func (client *MessagingApiBlobAPI) GetMessageContentTranscodingByMessageId(messageId string) (*GetMessageContentTranscodingResponse, error)
- func (client *MessagingApiBlobAPI) GetMessageContentTranscodingByMessageIdWithHttpInfo(messageId string) (*http.Response, *GetMessageContentTranscodingResponse, error)
- func (client *MessagingApiBlobAPI) GetMessageContentWithHttpInfo(messageId string) (*http.Response, *http.Response, error)
- func (client *MessagingApiBlobAPI) GetRichMenuImage(richMenuId string) (*http.Response, error)
- func (client *MessagingApiBlobAPI) GetRichMenuImageWithHttpInfo(richMenuId string) (*http.Response, *http.Response, error)
- func (client *MessagingApiBlobAPI) SetRichMenuImage(richMenuId string, bodyContentType string, bodyReader io.Reader) (struct{}, error)
- func (client *MessagingApiBlobAPI) SetRichMenuImageWithHttpInfo(richMenuId string, bodyContentType string, bodyReader io.Reader) (*http.Response, struct{}, error)
- func (client *MessagingApiBlobAPI) Url(endpointPath string) string
- func (call *MessagingApiBlobAPI) WithContext(ctx context.Context) *MessagingApiBlobAPI
- type MessagingApiBlobAPIOption
- type MessagingApiPagerCouponListResponse
- type MulticastRequest
- type NarrowcastProgressResponse
- type NarrowcastProgressResponsePHASE
- type NarrowcastRequest
- type NormalAcquisitionConditionRequest
- type NormalAcquisitionConditionResponse
- type NumberOfMessagesResponse
- type NumberOfMessagesResponseSTATUS
- type OperatorDemographicFilter
- type OperatorRecipient
- type PnpMessagesRequest
- type PostbackAction
- type PostbackActionINPUT_OPTION
- type PushMessageRequest
- type PushMessageResponse
- type QuickReply
- type QuickReplyItem
- type QuotaConsumptionResponse
- type QuotaType
- type Recipient
- type RecipientInterface
- type RedeliveryRecipient
- type ReferralAcquisitionConditionResponse
- type ReplyMessageRequest
- type ReplyMessageResponse
- type RichMenuAliasListResponse
- type RichMenuAliasResponse
- type RichMenuArea
- type RichMenuBatchLinkOperation
- type RichMenuBatchOperation
- type RichMenuBatchOperationInterface
- type RichMenuBatchProgressPhase
- type RichMenuBatchProgressResponse
- type RichMenuBatchRequest
- type RichMenuBatchUnlinkAllOperation
- type RichMenuBatchUnlinkOperation
- type RichMenuBounds
- type RichMenuBulkLinkRequest
- type RichMenuBulkUnlinkRequest
- type RichMenuIdResponse
- type RichMenuListResponse
- type RichMenuRequest
- type RichMenuResponse
- type RichMenuSize
- type RichMenuSwitchAction
- type RoomMemberCountResponse
- type RoomUserProfileResponse
- type Sender
- type SentMessage
- type SetWebhookEndpointRequest
- type ShowLoadingAnimationRequest
- type StickerMessage
- type SubscribedMembershipPlan
- type SubscribedMembershipPlanCURRENCY
- type SubscribedMembershipUser
- type Subscription
- type SubscriptionPeriodDemographic
- type SubscriptionPeriodDemographicFilter
- type SubstitutionObject
- type SubstitutionObjectInterface
- type Template
- type TemplateImageAspectRatio
- type TemplateImageSize
- type TemplateInterface
- type TemplateMessage
- type TestWebhookEndpointRequest
- type TestWebhookEndpointResponse
- type TextMessage
- type TextMessageV2
- type UnknownAcquisitionConditionRequest
- type UnknownAcquisitionConditionResponse
- type UnknownAction
- type UnknownCashBackPriceInfoRequest
- type UnknownCashBackPriceInfoResponse
- type UnknownCouponRewardRequest
- type UnknownCouponRewardResponse
- type UnknownDemographicFilter
- type UnknownDiscountPriceInfoRequest
- type UnknownDiscountPriceInfoResponse
- type UnknownFlexBoxBackground
- type UnknownFlexComponent
- type UnknownFlexContainer
- type UnknownImagemapAction
- type UnknownMentionTarget
- type UnknownMessage
- type UnknownRecipient
- type UnknownRichMenuBatchOperation
- type UnknownSubstitutionObject
- type UnknownTemplate
- type UpdateRichMenuAliasRequest
- type UriAction
- type UriImagemapAction
- type UserMentionTarget
- type UserProfileResponse
- type ValidateMessageRequest
- type VideoMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquisitionConditionRequest ¶ added in v8.14.2
type AcquisitionConditionRequest struct {
Type string `json:"type"`
}
func (AcquisitionConditionRequest) GetType ¶ added in v8.14.2
func (e AcquisitionConditionRequest) GetType() string
type AcquisitionConditionRequestInterface ¶ added in v8.14.2
type AcquisitionConditionRequestInterface interface {
GetType() string
}
func UnmarshalAcquisitionConditionRequest ¶ added in v8.14.2
func UnmarshalAcquisitionConditionRequest(data []byte) (AcquisitionConditionRequestInterface, error)
type AcquisitionConditionResponse ¶ added in v8.14.2
type AcquisitionConditionResponse struct {
Type string `json:"type"`
}
func (AcquisitionConditionResponse) GetType ¶ added in v8.14.2
func (e AcquisitionConditionResponse) GetType() string
type AcquisitionConditionResponseInterface ¶ added in v8.14.2
type AcquisitionConditionResponseInterface interface {
GetType() string
}
func UnmarshalAcquisitionConditionResponse ¶ added in v8.14.2
func UnmarshalAcquisitionConditionResponse(data []byte) (AcquisitionConditionResponseInterface, error)
type ActionInterface ¶
type ActionInterface interface {
GetType() string
}
func UnmarshalAction ¶
func UnmarshalAction(data []byte) (ActionInterface, error)
type AgeDemographic ¶
type AgeDemographic string
AgeDemographic type
const ( AgeDemographic__15 AgeDemographic = "age_15" AgeDemographic__20 AgeDemographic = "age_20" AgeDemographic__25 AgeDemographic = "age_25" AgeDemographic__30 AgeDemographic = "age_30" AgeDemographic__35 AgeDemographic = "age_35" AgeDemographic__40 AgeDemographic = "age_40" AgeDemographic__45 AgeDemographic = "age_45" AgeDemographic__50 AgeDemographic = "age_50" AgeDemographic__55 AgeDemographic = "age_55" AgeDemographic__60 AgeDemographic = "age_60" AgeDemographic__65 AgeDemographic = "age_65" AgeDemographic__70 AgeDemographic = "age_70" )
AgeDemographic constants
type AgeDemographicFilter ¶
type AgeDemographicFilter struct { DemographicFilter /** * Get Gte */ Gte AgeDemographic `json:"gte,omitempty"` /** * Get Lt */ Lt AgeDemographic `json:"lt,omitempty"` }
func (*AgeDemographicFilter) MarshalJSON ¶
func (r *AgeDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AgeDemographicFilter struct.
type AllMentionTarget ¶ added in v8.10.0
type AllMentionTarget struct {
MentionTarget
}
AllMentionTarget AllMentionTarget https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mentionee-all
func (*AllMentionTarget) MarshalJSON ¶ added in v8.10.0
func (r *AllMentionTarget) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AllMentionTarget struct.
type AppTypeDemographic ¶
type AppTypeDemographic string
AppTypeDemographic type
const ( AppTypeDemographic_IOS AppTypeDemographic = "ios" AppTypeDemographic_ANDROID AppTypeDemographic = "android" )
AppTypeDemographic constants
type AppTypeDemographicFilter ¶
type AppTypeDemographicFilter struct { DemographicFilter /** * Get OneOf */ OneOf []AppTypeDemographic `json:"oneOf,omitempty"` }
func (*AppTypeDemographicFilter) MarshalJSON ¶
func (r *AppTypeDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AppTypeDemographicFilter struct.
type AreaDemographic ¶
type AreaDemographic string
AreaDemographic type
const ( AreaDemographic_HOKKAIDO AreaDemographic = "jp_01" AreaDemographic_AOMORI AreaDemographic = "jp_02" AreaDemographic_IWATE AreaDemographic = "jp_03" AreaDemographic_MIYAGI AreaDemographic = "jp_04" AreaDemographic_AKITA AreaDemographic = "jp_05" AreaDemographic_YAMAGATA AreaDemographic = "jp_06" AreaDemographic_FUKUSHIMA AreaDemographic = "jp_07" AreaDemographic_IBARAKI AreaDemographic = "jp_08" AreaDemographic_TOCHIGI AreaDemographic = "jp_09" AreaDemographic_GUNMA AreaDemographic = "jp_10" AreaDemographic_SAITAMA AreaDemographic = "jp_11" AreaDemographic_CHIBA AreaDemographic = "jp_12" AreaDemographic_TOKYO AreaDemographic = "jp_13" AreaDemographic_KANAGAWA AreaDemographic = "jp_14" AreaDemographic_NIIGATA AreaDemographic = "jp_15" AreaDemographic_TOYAMA AreaDemographic = "jp_16" AreaDemographic_ISHIKAWA AreaDemographic = "jp_17" AreaDemographic_FUKUI AreaDemographic = "jp_18" AreaDemographic_YAMANASHI AreaDemographic = "jp_19" AreaDemographic_NAGANO AreaDemographic = "jp_20" AreaDemographic_GIFU AreaDemographic = "jp_21" AreaDemographic_SHIZUOKA AreaDemographic = "jp_22" AreaDemographic_AICHI AreaDemographic = "jp_23" AreaDemographic_MIE AreaDemographic = "jp_24" AreaDemographic_SHIGA AreaDemographic = "jp_25" AreaDemographic_KYOTO AreaDemographic = "jp_26" AreaDemographic_OSAKA AreaDemographic = "jp_27" AreaDemographic_HYOUGO AreaDemographic = "jp_28" AreaDemographic_NARA AreaDemographic = "jp_29" AreaDemographic_WAKAYAMA AreaDemographic = "jp_30" AreaDemographic_TOTTORI AreaDemographic = "jp_31" AreaDemographic_SHIMANE AreaDemographic = "jp_32" AreaDemographic_OKAYAMA AreaDemographic = "jp_33" AreaDemographic_HIROSHIMA AreaDemographic = "jp_34" AreaDemographic_YAMAGUCHI AreaDemographic = "jp_35" AreaDemographic_TOKUSHIMA AreaDemographic = "jp_36" AreaDemographic_KAGAWA AreaDemographic = "jp_37" AreaDemographic_EHIME AreaDemographic = "jp_38" AreaDemographic_KOUCHI AreaDemographic = "jp_39" AreaDemographic_FUKUOKA AreaDemographic = "jp_40" AreaDemographic_SAGA AreaDemographic = "jp_41" AreaDemographic_NAGASAKI AreaDemographic = "jp_42" AreaDemographic_KUMAMOTO AreaDemographic = "jp_43" AreaDemographic_OITA AreaDemographic = "jp_44" AreaDemographic_MIYAZAKI AreaDemographic = "jp_45" AreaDemographic_KAGOSHIMA AreaDemographic = "jp_46" AreaDemographic_OKINAWA AreaDemographic = "jp_47" AreaDemographic_TAIPEI_CITY AreaDemographic = "tw_01" AreaDemographic_NEW_TAIPEI_CITY AreaDemographic = "tw_02" AreaDemographic_TAOYUAN_CITY AreaDemographic = "tw_03" AreaDemographic_TAICHUNG_CITY AreaDemographic = "tw_04" AreaDemographic_TAINAN_CITY AreaDemographic = "tw_05" AreaDemographic_KAOHSIUNG_CITY AreaDemographic = "tw_06" AreaDemographic_KEELUNG_CITY AreaDemographic = "tw_07" AreaDemographic_HSINCHU_CITY AreaDemographic = "tw_08" AreaDemographic_CHIAYI_CITY AreaDemographic = "tw_09" AreaDemographic_HSINCHU_COUNTY AreaDemographic = "tw_10" AreaDemographic_MIAOLI_COUNTY AreaDemographic = "tw_11" AreaDemographic_CHANGHUA_COUNTY AreaDemographic = "tw_12" AreaDemographic_NANTOU_COUNTY AreaDemographic = "tw_13" AreaDemographic_YUNLIN_COUNTY AreaDemographic = "tw_14" AreaDemographic_CHIAYI_COUNTY AreaDemographic = "tw_15" AreaDemographic_PINGTUNG_COUNTY AreaDemographic = "tw_16" AreaDemographic_YILAN_COUNTY AreaDemographic = "tw_17" AreaDemographic_HUALIEN_COUNTY AreaDemographic = "tw_18" AreaDemographic_TAITUNG_COUNTY AreaDemographic = "tw_19" AreaDemographic_PENGHU_COUNTY AreaDemographic = "tw_20" AreaDemographic_KINMEN_COUNTY AreaDemographic = "tw_21" AreaDemographic_LIENCHIANG_COUNTY AreaDemographic = "tw_22" AreaDemographic_BANGKOK AreaDemographic = "th_01" AreaDemographic_PATTAYA AreaDemographic = "th_02" AreaDemographic_NORTHERN AreaDemographic = "th_03" AreaDemographic_CENTRAL AreaDemographic = "th_04" AreaDemographic_SOUTHERN AreaDemographic = "th_05" AreaDemographic_EASTERN AreaDemographic = "th_06" AreaDemographic_NORTHEASTERN AreaDemographic = "th_07" AreaDemographic_WESTERN AreaDemographic = "th_08" AreaDemographic_BALI AreaDemographic = "id_01" AreaDemographic_BANDUNG AreaDemographic = "id_02" AreaDemographic_BANJARMASIN AreaDemographic = "id_03" AreaDemographic_JABODETABEK AreaDemographic = "id_04" AreaDemographic_MAKASSAR AreaDemographic = "id_05" AreaDemographic_MEDAN AreaDemographic = "id_06" AreaDemographic_PALEMBANG AreaDemographic = "id_07" AreaDemographic_SAMARINDA AreaDemographic = "id_08" AreaDemographic_SEMARANG AreaDemographic = "id_09" AreaDemographic_SURABAYA AreaDemographic = "id_10" AreaDemographic_YOGYAKARTA AreaDemographic = "id_11" AreaDemographic_LAINNYA AreaDemographic = "id_12" )
AreaDemographic constants
type AreaDemographicFilter ¶
type AreaDemographicFilter struct { DemographicFilter /** * Get OneOf */ OneOf []AreaDemographic `json:"oneOf,omitempty"` }
func (*AreaDemographicFilter) MarshalJSON ¶
func (r *AreaDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AreaDemographicFilter struct.
type AudienceMatchMessagesRequest ¶
type AudienceMatchMessagesRequest struct { /** * Destination of the message (A value obtained by hashing the telephone number, which is another value normalized to E.164 format, with SHA256). (Required) */ Messages []MessageInterface `json:"messages"` /** * Message to send. (Required) */ To []string `json:"to"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` }
AudienceMatchMessagesRequest AudienceMatchMessagesRequest https://developers.line.biz/en/reference/partner-docs/#phone-audience-match
func (*AudienceMatchMessagesRequest) MarshalJSON ¶
func (r *AudienceMatchMessagesRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AudienceMatchMessagesRequest struct.
func (*AudienceMatchMessagesRequest) UnmarshalJSON ¶
func (cr *AudienceMatchMessagesRequest) UnmarshalJSON(data []byte) error
type AudienceRecipient ¶
type AudienceRecipient struct { Recipient /** * Get AudienceGroupId */ AudienceGroupId int64 `json:"audienceGroupId"` }
func (*AudienceRecipient) MarshalJSON ¶
func (r *AudienceRecipient) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AudienceRecipient struct.
type AudioMessage ¶
type AudioMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get OriginalContentUrl */ OriginalContentUrl string `json:"originalContentUrl"` /** * Get Duration */ Duration int64 `json:"duration"` }
AudioMessage AudioMessage https://developers.line.biz/en/reference/messaging-api/#audio-message
func (*AudioMessage) MarshalJSON ¶
func (r *AudioMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the AudioMessage struct.
type BotInfoResponse ¶
type BotInfoResponse struct { /** * Bot's user ID (Required) */ UserId string `json:"userId"` /** * Bot's basic ID (Required) */ BasicId string `json:"basicId"` /** * Bot's premium ID. Not included in the response if the premium ID isn't set. */ PremiumId string `json:"premiumId,omitempty"` /** * Bot's display name (Required) */ DisplayName string `json:"displayName"` /** * Profile image URL. `https` image URL. Not included in the response if the bot doesn't have a profile image. */ PictureUrl string `json:"pictureUrl,omitempty"` /** * Chat settings set in the LINE Official Account Manager. One of: `chat`: Chat is set to \"On\". `bot`: Chat is set to \"Off\". (Required) */ ChatMode BotInfoResponseCHAT_MODE `json:"chatMode"` /** * Automatic read setting for messages. If the chat is set to \"Off\", auto is returned. If the chat is set to \"On\", manual is returned. `auto`: Auto read setting is enabled. `manual`: Auto read setting is disabled. (Required) */ MarkAsReadMode BotInfoResponseMARK_AS_READ_MODE `json:"markAsReadMode"` }
BotInfoResponse BotInfoResponse https://developers.line.biz/en/reference/messaging-api/#get-bot-info
type BotInfoResponseCHAT_MODE ¶
type BotInfoResponseCHAT_MODE string
BotInfoResponseCHAT_MODE type
Chat settings set in the LINE Official Account Manager. One of: `chat`: Chat is set to \"On\". `bot`: Chat is set to \"Off\".
const ( BotInfoResponseCHAT_MODE_CHAT BotInfoResponseCHAT_MODE = "chat" BotInfoResponseCHAT_MODE_BOT BotInfoResponseCHAT_MODE = "bot" )
BotInfoResponseCHAT_MODE constants
type BotInfoResponseMARK_AS_READ_MODE ¶
type BotInfoResponseMARK_AS_READ_MODE string
BotInfoResponseMARK_AS_READ_MODE type
Automatic read setting for messages. If the chat is set to \"Off\", auto is returned. If the chat is set to \"On\", manual is returned. `auto`: Auto read setting is enabled. `manual`: Auto read setting is disabled.
const ( BotInfoResponseMARK_AS_READ_MODE_AUTO BotInfoResponseMARK_AS_READ_MODE = "auto" BotInfoResponseMARK_AS_READ_MODE_MANUAL BotInfoResponseMARK_AS_READ_MODE = "manual" )
BotInfoResponseMARK_AS_READ_MODE constants
type BroadcastRequest ¶
type BroadcastRequest struct { /** * List of Message objects. (Required) */ Messages []MessageInterface `json:"messages"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` }
BroadcastRequest BroadcastRequest https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
func (*BroadcastRequest) MarshalJSON ¶
func (r *BroadcastRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the BroadcastRequest struct.
func (*BroadcastRequest) UnmarshalJSON ¶
func (cr *BroadcastRequest) UnmarshalJSON(data []byte) error
type ButtonsTemplate ¶
type ButtonsTemplate struct { Template /** * Get ThumbnailImageUrl */ ThumbnailImageUrl string `json:"thumbnailImageUrl,omitempty"` /** * Get ImageAspectRatio */ ImageAspectRatio string `json:"imageAspectRatio,omitempty"` /** * Get ImageSize */ ImageSize string `json:"imageSize,omitempty"` /** * Get ImageBackgroundColor */ ImageBackgroundColor string `json:"imageBackgroundColor,omitempty"` /** * Get Title */ Title string `json:"title,omitempty"` /** * Get Text */ Text string `json:"text"` /** * Get DefaultAction */ DefaultAction ActionInterface `json:"defaultAction,omitempty"` /** * Get Actions */ Actions []ActionInterface `json:"actions"` }
func (*ButtonsTemplate) MarshalJSON ¶
func (r *ButtonsTemplate) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ButtonsTemplate struct.
func (*ButtonsTemplate) UnmarshalJSON ¶
func (cr *ButtonsTemplate) UnmarshalJSON(data []byte) error
type CameraAction ¶
type CameraAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` }
func (*CameraAction) MarshalJSON ¶
func (r *CameraAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CameraAction struct.
type CameraRollAction ¶
type CameraRollAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` }
func (*CameraRollAction) MarshalJSON ¶
func (r *CameraRollAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CameraRollAction struct.
type CarouselColumn ¶
type CarouselColumn struct { /** * Get ThumbnailImageUrl */ ThumbnailImageUrl string `json:"thumbnailImageUrl,omitempty"` /** * Get ImageBackgroundColor */ ImageBackgroundColor string `json:"imageBackgroundColor,omitempty"` /** * Get Title */ Title string `json:"title,omitempty"` /** * Get Text */ Text string `json:"text"` /** * Get DefaultAction */ DefaultAction ActionInterface `json:"defaultAction,omitempty"` /** * Get Actions */ Actions []ActionInterface `json:"actions"` }
func (*CarouselColumn) MarshalJSON ¶
func (r *CarouselColumn) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CarouselColumn struct.
func (*CarouselColumn) UnmarshalJSON ¶
func (cr *CarouselColumn) UnmarshalJSON(data []byte) error
type CarouselTemplate ¶
type CarouselTemplate struct { Template /** * Get Columns */ Columns []CarouselColumn `json:"columns"` /** * Get ImageAspectRatio */ ImageAspectRatio string `json:"imageAspectRatio,omitempty"` /** * Get ImageSize */ ImageSize string `json:"imageSize,omitempty"` }
func (*CarouselTemplate) MarshalJSON ¶
func (r *CarouselTemplate) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CarouselTemplate struct.
type CashBackFixedPriceInfoRequest ¶ added in v8.14.2
type CashBackFixedPriceInfoRequest struct { CashBackPriceInfoRequest /** * Get FixedAmount */ FixedAmount int64 `json:"fixedAmount"` }
func (*CashBackFixedPriceInfoRequest) MarshalJSON ¶ added in v8.14.2
func (r *CashBackFixedPriceInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CashBackFixedPriceInfoRequest struct.
type CashBackFixedPriceInfoResponse ¶ added in v8.14.2
type CashBackFixedPriceInfoResponse struct { CashBackPriceInfoResponse /** * Currency code (e.g., JPY, THB, TWD). */ Currency CashBackFixedPriceInfoResponseCURRENCY `json:"currency,omitempty"` /** * Get FixedAmount */ FixedAmount int64 `json:"fixedAmount"` }
func (*CashBackFixedPriceInfoResponse) MarshalJSON ¶ added in v8.14.2
func (r *CashBackFixedPriceInfoResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CashBackFixedPriceInfoResponse struct.
type CashBackFixedPriceInfoResponseCURRENCY ¶ added in v8.14.2
type CashBackFixedPriceInfoResponseCURRENCY string
CashBackFixedPriceInfoResponseCURRENCY type
Currency code (e.g., JPY, THB, TWD).
const ( CashBackFixedPriceInfoResponseCURRENCY_JPY CashBackFixedPriceInfoResponseCURRENCY = "JPY" CashBackFixedPriceInfoResponseCURRENCY_THB CashBackFixedPriceInfoResponseCURRENCY = "THB" CashBackFixedPriceInfoResponseCURRENCY_TWD CashBackFixedPriceInfoResponseCURRENCY = "TWD" )
CashBackFixedPriceInfoResponseCURRENCY constants
type CashBackPercentagePriceInfoRequest ¶ added in v8.14.2
type CashBackPercentagePriceInfoRequest struct { CashBackPriceInfoRequest /** * Specifies the cashback rate as a percentage. Must be an integer between 1 and 99. * minimum: 1 * maximum: 99 */ Percentage int32 `json:"percentage,omitempty"` }
func (*CashBackPercentagePriceInfoRequest) MarshalJSON ¶ added in v8.14.2
func (r *CashBackPercentagePriceInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CashBackPercentagePriceInfoRequest struct.
type CashBackPercentagePriceInfoResponse ¶ added in v8.14.2
type CashBackPercentagePriceInfoResponse struct { CashBackPriceInfoResponse /** * Get Percentage */ Percentage int32 `json:"percentage"` }
func (*CashBackPercentagePriceInfoResponse) MarshalJSON ¶ added in v8.14.2
func (r *CashBackPercentagePriceInfoResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CashBackPercentagePriceInfoResponse struct.
type CashBackPriceInfoRequest ¶ added in v8.14.2
type CashBackPriceInfoRequest struct {
Type string `json:"type"`
}
func (CashBackPriceInfoRequest) GetType ¶ added in v8.14.2
func (e CashBackPriceInfoRequest) GetType() string
type CashBackPriceInfoRequestInterface ¶ added in v8.14.2
type CashBackPriceInfoRequestInterface interface {
GetType() string
}
func UnmarshalCashBackPriceInfoRequest ¶ added in v8.14.2
func UnmarshalCashBackPriceInfoRequest(data []byte) (CashBackPriceInfoRequestInterface, error)
type CashBackPriceInfoResponse ¶ added in v8.14.2
type CashBackPriceInfoResponse struct {
Type string `json:"type"`
}
func (CashBackPriceInfoResponse) GetType ¶ added in v8.14.2
func (e CashBackPriceInfoResponse) GetType() string
type CashBackPriceInfoResponseInterface ¶ added in v8.14.2
type CashBackPriceInfoResponseInterface interface {
GetType() string
}
func UnmarshalCashBackPriceInfoResponse ¶ added in v8.14.2
func UnmarshalCashBackPriceInfoResponse(data []byte) (CashBackPriceInfoResponseInterface, error)
type ChatReference ¶
type ChatReference struct { /** * The target user ID (Required) */ UserId string `json:"userId"` }
ChatReference Chat reference https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
type ClipboardAction ¶ added in v8.3.1
type ClipboardAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Text that is copied to the clipboard. Max character limit: 1000 (Required) */ ClipboardText string `json:"clipboardText"` }
ClipboardAction ClipboardAction https://developers.line.biz/en/reference/messaging-api/#clipboard-action
func (*ClipboardAction) MarshalJSON ¶ added in v8.3.1
func (r *ClipboardAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ClipboardAction struct.
type ClipboardImagemapAction ¶ added in v8.3.1
type ClipboardImagemapAction struct { ImagemapAction /** * Get Area */ Area *ImagemapArea `json:"area"` /** * Text that is copied to the clipboard. Max character limit: 1000 (Required) */ ClipboardText string `json:"clipboardText"` /** * Get Label */ Label string `json:"label,omitempty"` }
ClipboardImagemapAction ClipboardImagemapAction https://developers.line.biz/en/reference/messaging-api/#imagemap-clipboard-action-object
func (*ClipboardImagemapAction) MarshalJSON ¶ added in v8.3.1
func (r *ClipboardImagemapAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ClipboardImagemapAction struct.
type ConfirmTemplate ¶
type ConfirmTemplate struct { Template /** * Get Text */ Text string `json:"text"` /** * Get Actions */ Actions []ActionInterface `json:"actions"` }
func (*ConfirmTemplate) MarshalJSON ¶
func (r *ConfirmTemplate) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ConfirmTemplate struct.
func (*ConfirmTemplate) UnmarshalJSON ¶
func (cr *ConfirmTemplate) UnmarshalJSON(data []byte) error
type CouponCashBackRewardRequest ¶ added in v8.14.2
type CouponCashBackRewardRequest struct { CouponRewardRequest /** * Get PriceInfo */ PriceInfo CashBackPriceInfoRequestInterface `json:"priceInfo,omitempty"` }
func (*CouponCashBackRewardRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponCashBackRewardRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponCashBackRewardRequest struct.
func (*CouponCashBackRewardRequest) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponCashBackRewardRequest) UnmarshalJSON(data []byte) error
type CouponCashBackRewardResponse ¶ added in v8.14.2
type CouponCashBackRewardResponse struct { CouponRewardResponse /** * Get PriceInfo */ PriceInfo CashBackPriceInfoResponseInterface `json:"priceInfo,omitempty"` }
func (*CouponCashBackRewardResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponCashBackRewardResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponCashBackRewardResponse struct.
func (*CouponCashBackRewardResponse) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponCashBackRewardResponse) UnmarshalJSON(data []byte) error
type CouponCreateRequest ¶ added in v8.14.2
type CouponCreateRequest struct { /** * Get AcquisitionCondition */ AcquisitionCondition AcquisitionConditionRequestInterface `json:"acquisitionCondition"` /** * URL of the barcode image associated with the coupon. Used for in-store redemption. */ BarcodeImageUrl string `json:"barcodeImageUrl,omitempty"` /** * Unique code to be presented by the user to redeem the coupon. Optional. */ CouponCode string `json:"couponCode,omitempty"` /** * Detailed description of the coupon. Displayed to users. */ Description string `json:"description,omitempty"` /** * Coupon expiration time (epoch seconds). Coupon cannot be used after this time. (Required) */ EndTimestamp int64 `json:"endTimestamp"` /** * URL of the main image representing the coupon. Displayed in the coupon list. */ ImageUrl string `json:"imageUrl,omitempty"` /** * Maximum number of times a single coupon ticket can be used. Use -1 to indicate no limit. (Required) * maximum: 1 */ MaxUseCountPerTicket int32 `json:"maxUseCountPerTicket"` /** * Coupon start time (epoch seconds). Coupon can be used from this time. (Required) */ StartTimestamp int64 `json:"startTimestamp"` /** * Title of the coupon. Displayed in the coupon list. (Required) */ Title string `json:"title"` /** * Conditions for using the coupon. Shown to users. */ UsageCondition string `json:"usageCondition,omitempty"` /** * Get Reward */ Reward CouponRewardRequestInterface `json:"reward,omitempty"` /** * Visibility of the coupon. Determines who can see or acquire the coupon. (Required) */ Visibility CouponCreateRequestVISIBILITY `json:"visibility"` /** * Timezone for interpreting start and end timestamps. (Required) */ Timezone CouponCreateRequestTIMEZONE `json:"timezone"` }
func (*CouponCreateRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponCreateRequest struct.
func (*CouponCreateRequest) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponCreateRequest) UnmarshalJSON(data []byte) error
type CouponCreateRequestTIMEZONE ¶ added in v8.14.2
type CouponCreateRequestTIMEZONE string
CouponCreateRequestTIMEZONE type
Timezone for interpreting start and end timestamps.
const ( CouponCreateRequestTIMEZONE_ETC_GMT_MINUS_12 CouponCreateRequestTIMEZONE = "ETC_GMT_MINUS_12" CouponCreateRequestTIMEZONE_ETC_GMT_MINUS_11 CouponCreateRequestTIMEZONE = "ETC_GMT_MINUS_11" CouponCreateRequestTIMEZONE_PACIFIC_HONOLULU CouponCreateRequestTIMEZONE = "PACIFIC_HONOLULU" CouponCreateRequestTIMEZONE_AMERICA_ANCHORAGE CouponCreateRequestTIMEZONE = "AMERICA_ANCHORAGE" CouponCreateRequestTIMEZONE_AMERICA_LOS_ANGELES CouponCreateRequestTIMEZONE = "AMERICA_LOS_ANGELES" CouponCreateRequestTIMEZONE_AMERICA_PHOENIX CouponCreateRequestTIMEZONE = "AMERICA_PHOENIX" CouponCreateRequestTIMEZONE_AMERICA_CHICAGO CouponCreateRequestTIMEZONE = "AMERICA_CHICAGO" CouponCreateRequestTIMEZONE_AMERICA_NEW_YORK CouponCreateRequestTIMEZONE = "AMERICA_NEW_YORK" CouponCreateRequestTIMEZONE_AMERICA_CARACAS CouponCreateRequestTIMEZONE = "AMERICA_CARACAS" CouponCreateRequestTIMEZONE_AMERICA_SANTIAGO CouponCreateRequestTIMEZONE = "AMERICA_SANTIAGO" CouponCreateRequestTIMEZONE_AMERICA_ST_JOHNS CouponCreateRequestTIMEZONE = "AMERICA_ST_JOHNS" CouponCreateRequestTIMEZONE_AMERICA_SAO_PAULO CouponCreateRequestTIMEZONE = "AMERICA_SAO_PAULO" CouponCreateRequestTIMEZONE_ETC_GMT_MINUS_2 CouponCreateRequestTIMEZONE = "ETC_GMT_MINUS_2" CouponCreateRequestTIMEZONE_ATLANTIC_CAPE_VERDE CouponCreateRequestTIMEZONE = "ATLANTIC_CAPE_VERDE" CouponCreateRequestTIMEZONE_EUROPE_LONDON CouponCreateRequestTIMEZONE = "EUROPE_LONDON" CouponCreateRequestTIMEZONE_EUROPE_PARIS CouponCreateRequestTIMEZONE = "EUROPE_PARIS" CouponCreateRequestTIMEZONE_EUROPE_ISTANBUL CouponCreateRequestTIMEZONE = "EUROPE_ISTANBUL" CouponCreateRequestTIMEZONE_EUROPE_MOSCOW CouponCreateRequestTIMEZONE = "EUROPE_MOSCOW" CouponCreateRequestTIMEZONE_ASIA_TEHRAN CouponCreateRequestTIMEZONE = "ASIA_TEHRAN" CouponCreateRequestTIMEZONE_ASIA_TBILISI CouponCreateRequestTIMEZONE = "ASIA_TBILISI" CouponCreateRequestTIMEZONE_ASIA_KABUL CouponCreateRequestTIMEZONE = "ASIA_KABUL" CouponCreateRequestTIMEZONE_ASIA_TASHKENT CouponCreateRequestTIMEZONE = "ASIA_TASHKENT" CouponCreateRequestTIMEZONE_ASIA_COLOMBO CouponCreateRequestTIMEZONE = "ASIA_COLOMBO" CouponCreateRequestTIMEZONE_ASIA_KATHMANDU CouponCreateRequestTIMEZONE = "ASIA_KATHMANDU" CouponCreateRequestTIMEZONE_ASIA_ALMATY CouponCreateRequestTIMEZONE = "ASIA_ALMATY" CouponCreateRequestTIMEZONE_ASIA_RANGOON CouponCreateRequestTIMEZONE = "ASIA_RANGOON" CouponCreateRequestTIMEZONE_ASIA_BANGKOK CouponCreateRequestTIMEZONE = "ASIA_BANGKOK" CouponCreateRequestTIMEZONE_ASIA_TAIPEI CouponCreateRequestTIMEZONE = "ASIA_TAIPEI" CouponCreateRequestTIMEZONE_ASIA_TOKYO CouponCreateRequestTIMEZONE = "ASIA_TOKYO" CouponCreateRequestTIMEZONE_AUSTRALIA_DARWIN CouponCreateRequestTIMEZONE = "AUSTRALIA_DARWIN" CouponCreateRequestTIMEZONE_AUSTRALIA_SYDNEY CouponCreateRequestTIMEZONE = "AUSTRALIA_SYDNEY" CouponCreateRequestTIMEZONE_ASIA_VLADIVOSTOK CouponCreateRequestTIMEZONE = "ASIA_VLADIVOSTOK" CouponCreateRequestTIMEZONE_ETC_GMT_PLUS_12 CouponCreateRequestTIMEZONE = "ETC_GMT_PLUS_12" CouponCreateRequestTIMEZONE_PACIFIC_TONGATAPU CouponCreateRequestTIMEZONE = "PACIFIC_TONGATAPU" )
CouponCreateRequestTIMEZONE constants
type CouponCreateRequestVISIBILITY ¶ added in v8.14.2
type CouponCreateRequestVISIBILITY string
CouponCreateRequestVISIBILITY type
Visibility of the coupon. Determines who can see or acquire the coupon.
const ( CouponCreateRequestVISIBILITY_UNLISTED CouponCreateRequestVISIBILITY = "UNLISTED" CouponCreateRequestVISIBILITY_PUBLIC CouponCreateRequestVISIBILITY = "PUBLIC" )
CouponCreateRequestVISIBILITY constants
type CouponCreateResponse ¶ added in v8.14.2
type CouponCreateResponse struct { /** * Unique identifier of the coupon. (Required) */ CouponId string `json:"couponId"` }
type CouponDiscountRewardRequest ¶ added in v8.14.2
type CouponDiscountRewardRequest struct { CouponRewardRequest /** * Get PriceInfo */ PriceInfo DiscountPriceInfoRequestInterface `json:"priceInfo,omitempty"` }
func (*CouponDiscountRewardRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponDiscountRewardRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponDiscountRewardRequest struct.
func (*CouponDiscountRewardRequest) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponDiscountRewardRequest) UnmarshalJSON(data []byte) error
type CouponDiscountRewardResponse ¶ added in v8.14.2
type CouponDiscountRewardResponse struct { CouponRewardResponse /** * Get PriceInfo */ PriceInfo DiscountPriceInfoResponseInterface `json:"priceInfo,omitempty"` }
func (*CouponDiscountRewardResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponDiscountRewardResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponDiscountRewardResponse struct.
func (*CouponDiscountRewardResponse) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponDiscountRewardResponse) UnmarshalJSON(data []byte) error
type CouponFreeRewardRequest ¶ added in v8.14.2
type CouponFreeRewardRequest struct {
CouponRewardRequest
}
func (*CouponFreeRewardRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponFreeRewardRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponFreeRewardRequest struct.
type CouponFreeRewardResponse ¶ added in v8.14.2
type CouponFreeRewardResponse struct {
CouponRewardResponse
}
func (*CouponFreeRewardResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponFreeRewardResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponFreeRewardResponse struct.
type CouponGiftRewardRequest ¶ added in v8.14.2
type CouponGiftRewardRequest struct {
CouponRewardRequest
}
func (*CouponGiftRewardRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponGiftRewardRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponGiftRewardRequest struct.
type CouponGiftRewardResponse ¶ added in v8.14.2
type CouponGiftRewardResponse struct {
CouponRewardResponse
}
func (*CouponGiftRewardResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponGiftRewardResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponGiftRewardResponse struct.
type CouponListResponse ¶ added in v8.14.2
type CouponMessage ¶ added in v8.14.2
type CouponMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Unique identifier of the coupon. (Required) */ CouponId string `json:"couponId"` /** * Delivery route tag information. It can be used for analysis in LINE OA Manager. */ DeliveryTag string `json:"deliveryTag,omitempty"` }
CouponMessage CouponMessage https://developers.line.biz/en/reference/messaging-api/#coupon-message
func (*CouponMessage) MarshalJSON ¶ added in v8.14.2
func (r *CouponMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponMessage struct.
type CouponOthersRewardRequest ¶ added in v8.14.2
type CouponOthersRewardRequest struct {
CouponRewardRequest
}
func (*CouponOthersRewardRequest) MarshalJSON ¶ added in v8.14.2
func (r *CouponOthersRewardRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponOthersRewardRequest struct.
type CouponOthersRewardResponse ¶ added in v8.14.2
type CouponOthersRewardResponse struct {
CouponRewardResponse
}
func (*CouponOthersRewardResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponOthersRewardResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponOthersRewardResponse struct.
type CouponResponse ¶ added in v8.14.2
type CouponResponse struct { /** * Get AcquisitionCondition */ AcquisitionCondition AcquisitionConditionResponseInterface `json:"acquisitionCondition,omitempty"` /** * URL of the barcode image associated with the coupon. Used for in-store redemption. */ BarcodeImageUrl string `json:"barcodeImageUrl,omitempty"` /** * Unique code to be presented by the user to redeem the coupon. */ CouponCode string `json:"couponCode,omitempty"` /** * Detailed description of the coupon. Displayed to users. */ Description string `json:"description,omitempty"` /** * Coupon expiration time (epoch seconds). Coupon cannot be used after this time. */ EndTimestamp int64 `json:"endTimestamp"` /** * URL of the main image representing the coupon. Displayed in the coupon list. */ ImageUrl string `json:"imageUrl,omitempty"` /** * Maximum number of coupons that can be issued in total. */ MaxAcquireCount int64 `json:"maxAcquireCount"` /** * Maximum number of times a single coupon ticket can be used. */ MaxUseCountPerTicket int32 `json:"maxUseCountPerTicket"` /** * Maximum number of coupon tickets a single user can acquire. */ MaxTicketPerUser int64 `json:"maxTicketPerUser"` /** * Coupon start time (epoch seconds). Coupon can be used from this time. */ StartTimestamp int64 `json:"startTimestamp"` /** * Title of the coupon. Displayed in the coupon list. */ Title string `json:"title,omitempty"` /** * Conditions for using the coupon. Shown to users. */ UsageCondition string `json:"usageCondition,omitempty"` /** * Get Reward */ Reward CouponRewardResponseInterface `json:"reward,omitempty"` /** * Visibility of the coupon. Determines who can see or acquire the coupon. */ Visibility CouponResponseVISIBILITY `json:"visibility,omitempty"` /** * Timezone for interpreting start and end timestamps. */ Timezone CouponResponseTIMEZONE `json:"timezone,omitempty"` /** * Unique identifier of the coupon. */ CouponId string `json:"couponId,omitempty"` /** * Created timestamp (seconds) of the coupon. */ CreatedTimestamp int64 `json:"createdTimestamp"` /** * Current status of the coupon. */ Status CouponResponseSTATUS `json:"status,omitempty"` }
func (*CouponResponse) MarshalJSON ¶ added in v8.14.2
func (r *CouponResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the CouponResponse struct.
func (*CouponResponse) UnmarshalJSON ¶ added in v8.14.2
func (cr *CouponResponse) UnmarshalJSON(data []byte) error
type CouponResponseSTATUS ¶ added in v8.14.2
type CouponResponseSTATUS string
CouponResponseSTATUS type
Current status of the coupon.
const ( CouponResponseSTATUS_DRAFT CouponResponseSTATUS = "DRAFT" CouponResponseSTATUS_RUNNING CouponResponseSTATUS = "RUNNING" CouponResponseSTATUS_CLOSED CouponResponseSTATUS = "CLOSED" )
CouponResponseSTATUS constants
type CouponResponseTIMEZONE ¶ added in v8.14.2
type CouponResponseTIMEZONE string
CouponResponseTIMEZONE type
Timezone for interpreting start and end timestamps.
const ( CouponResponseTIMEZONE_ETC_GMT_MINUS_12 CouponResponseTIMEZONE = "ETC_GMT_MINUS_12" CouponResponseTIMEZONE_ETC_GMT_MINUS_11 CouponResponseTIMEZONE = "ETC_GMT_MINUS_11" CouponResponseTIMEZONE_PACIFIC_HONOLULU CouponResponseTIMEZONE = "PACIFIC_HONOLULU" CouponResponseTIMEZONE_AMERICA_ANCHORAGE CouponResponseTIMEZONE = "AMERICA_ANCHORAGE" CouponResponseTIMEZONE_AMERICA_LOS_ANGELES CouponResponseTIMEZONE = "AMERICA_LOS_ANGELES" CouponResponseTIMEZONE_AMERICA_PHOENIX CouponResponseTIMEZONE = "AMERICA_PHOENIX" CouponResponseTIMEZONE_AMERICA_CHICAGO CouponResponseTIMEZONE = "AMERICA_CHICAGO" CouponResponseTIMEZONE_AMERICA_NEW_YORK CouponResponseTIMEZONE = "AMERICA_NEW_YORK" CouponResponseTIMEZONE_AMERICA_CARACAS CouponResponseTIMEZONE = "AMERICA_CARACAS" CouponResponseTIMEZONE_AMERICA_SANTIAGO CouponResponseTIMEZONE = "AMERICA_SANTIAGO" CouponResponseTIMEZONE_AMERICA_ST_JOHNS CouponResponseTIMEZONE = "AMERICA_ST_JOHNS" CouponResponseTIMEZONE_AMERICA_SAO_PAULO CouponResponseTIMEZONE = "AMERICA_SAO_PAULO" CouponResponseTIMEZONE_ETC_GMT_MINUS_2 CouponResponseTIMEZONE = "ETC_GMT_MINUS_2" CouponResponseTIMEZONE_ATLANTIC_CAPE_VERDE CouponResponseTIMEZONE = "ATLANTIC_CAPE_VERDE" CouponResponseTIMEZONE_EUROPE_LONDON CouponResponseTIMEZONE = "EUROPE_LONDON" CouponResponseTIMEZONE_EUROPE_PARIS CouponResponseTIMEZONE = "EUROPE_PARIS" CouponResponseTIMEZONE_EUROPE_ISTANBUL CouponResponseTIMEZONE = "EUROPE_ISTANBUL" CouponResponseTIMEZONE_EUROPE_MOSCOW CouponResponseTIMEZONE = "EUROPE_MOSCOW" CouponResponseTIMEZONE_ASIA_TEHRAN CouponResponseTIMEZONE = "ASIA_TEHRAN" CouponResponseTIMEZONE_ASIA_TBILISI CouponResponseTIMEZONE = "ASIA_TBILISI" CouponResponseTIMEZONE_ASIA_KABUL CouponResponseTIMEZONE = "ASIA_KABUL" CouponResponseTIMEZONE_ASIA_TASHKENT CouponResponseTIMEZONE = "ASIA_TASHKENT" CouponResponseTIMEZONE_ASIA_COLOMBO CouponResponseTIMEZONE = "ASIA_COLOMBO" CouponResponseTIMEZONE_ASIA_KATHMANDU CouponResponseTIMEZONE = "ASIA_KATHMANDU" CouponResponseTIMEZONE_ASIA_ALMATY CouponResponseTIMEZONE = "ASIA_ALMATY" CouponResponseTIMEZONE_ASIA_RANGOON CouponResponseTIMEZONE = "ASIA_RANGOON" CouponResponseTIMEZONE_ASIA_BANGKOK CouponResponseTIMEZONE = "ASIA_BANGKOK" CouponResponseTIMEZONE_ASIA_TAIPEI CouponResponseTIMEZONE = "ASIA_TAIPEI" CouponResponseTIMEZONE_ASIA_TOKYO CouponResponseTIMEZONE = "ASIA_TOKYO" CouponResponseTIMEZONE_AUSTRALIA_DARWIN CouponResponseTIMEZONE = "AUSTRALIA_DARWIN" CouponResponseTIMEZONE_AUSTRALIA_SYDNEY CouponResponseTIMEZONE = "AUSTRALIA_SYDNEY" CouponResponseTIMEZONE_ASIA_VLADIVOSTOK CouponResponseTIMEZONE = "ASIA_VLADIVOSTOK" CouponResponseTIMEZONE_ETC_GMT_PLUS_12 CouponResponseTIMEZONE = "ETC_GMT_PLUS_12" CouponResponseTIMEZONE_PACIFIC_TONGATAPU CouponResponseTIMEZONE = "PACIFIC_TONGATAPU" )
CouponResponseTIMEZONE constants
type CouponResponseVISIBILITY ¶ added in v8.14.2
type CouponResponseVISIBILITY string
CouponResponseVISIBILITY type
Visibility of the coupon. Determines who can see or acquire the coupon.
const ( CouponResponseVISIBILITY_UNLISTED CouponResponseVISIBILITY = "UNLISTED" CouponResponseVISIBILITY_PUBLIC CouponResponseVISIBILITY = "PUBLIC" CouponResponseVISIBILITY_PRIVATE CouponResponseVISIBILITY = "PRIVATE" )
CouponResponseVISIBILITY constants
type CouponRewardRequest ¶ added in v8.14.2
type CouponRewardRequest struct {
Type string `json:"type"`
}
func (CouponRewardRequest) GetType ¶ added in v8.14.2
func (e CouponRewardRequest) GetType() string
type CouponRewardRequestInterface ¶ added in v8.14.2
type CouponRewardRequestInterface interface {
GetType() string
}
func UnmarshalCouponRewardRequest ¶ added in v8.14.2
func UnmarshalCouponRewardRequest(data []byte) (CouponRewardRequestInterface, error)
type CouponRewardResponse ¶ added in v8.14.2
type CouponRewardResponse struct {
Type string `json:"type"`
}
func (CouponRewardResponse) GetType ¶ added in v8.14.2
func (e CouponRewardResponse) GetType() string
type CouponRewardResponseInterface ¶ added in v8.14.2
type CouponRewardResponseInterface interface {
GetType() string
}
func UnmarshalCouponRewardResponse ¶ added in v8.14.2
func UnmarshalCouponRewardResponse(data []byte) (CouponRewardResponseInterface, error)
type CreateRichMenuAliasRequest ¶
type CreateRichMenuAliasRequest struct { /** * Rich menu alias ID, which can be any ID, unique for each channel. (Required) */ RichMenuAliasId string `json:"richMenuAliasId"` /** * The rich menu ID to be associated with the rich menu alias. (Required) */ RichMenuId string `json:"richMenuId"` }
CreateRichMenuAliasRequest CreateRichMenuAliasRequest https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
type DatetimePickerAction ¶
type DatetimePickerAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Get Data */ Data string `json:"data,omitempty"` /** * Get Mode */ Mode DatetimePickerActionMODE `json:"mode,omitempty"` /** * Get Initial */ Initial string `json:"initial,omitempty"` /** * Get Max */ Max string `json:"max,omitempty"` /** * Get Min */ Min string `json:"min,omitempty"` }
DatetimePickerAction DatetimePickerAction https://developers.line.biz/en/reference/messaging-api/#datetime-picker-action
func (*DatetimePickerAction) MarshalJSON ¶
func (r *DatetimePickerAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DatetimePickerAction struct.
type DatetimePickerActionMODE ¶
type DatetimePickerActionMODE string
const ( DatetimePickerActionMODE_DATE DatetimePickerActionMODE = "date" DatetimePickerActionMODE_TIME DatetimePickerActionMODE = "time" DatetimePickerActionMODE_DATETIME DatetimePickerActionMODE = "datetime" )
DatetimePickerActionMODE constants
type DemographicFilter ¶
type DemographicFilter struct {
Type string `json:"type,omitempty"`
}
func (DemographicFilter) GetType ¶
func (e DemographicFilter) GetType() string
type DemographicFilterInterface ¶
type DemographicFilterInterface interface {
GetType() string
}
func UnmarshalDemographicFilter ¶
func UnmarshalDemographicFilter(data []byte) (DemographicFilterInterface, error)
type DiscountExplicitPriceInfoRequest ¶ added in v8.14.2
type DiscountExplicitPriceInfoRequest struct { DiscountPriceInfoRequest /** * Get PriceAfterDiscount */ PriceAfterDiscount int64 `json:"priceAfterDiscount"` /** * Get OriginalPrice */ OriginalPrice int64 `json:"originalPrice"` }
func (*DiscountExplicitPriceInfoRequest) MarshalJSON ¶ added in v8.14.2
func (r *DiscountExplicitPriceInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountExplicitPriceInfoRequest struct.
type DiscountExplicitPriceInfoResponse ¶ added in v8.14.2
type DiscountExplicitPriceInfoResponse struct { DiscountPriceInfoResponse /** * Currency code (e.g., JPY, THB, TWD). */ Currency DiscountExplicitPriceInfoResponseCURRENCY `json:"currency,omitempty"` /** * Get PriceAfterDiscount */ PriceAfterDiscount int64 `json:"priceAfterDiscount"` /** * Get OriginalPrice */ OriginalPrice int64 `json:"originalPrice"` }
func (*DiscountExplicitPriceInfoResponse) MarshalJSON ¶ added in v8.14.2
func (r *DiscountExplicitPriceInfoResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountExplicitPriceInfoResponse struct.
type DiscountExplicitPriceInfoResponseCURRENCY ¶ added in v8.14.2
type DiscountExplicitPriceInfoResponseCURRENCY string
DiscountExplicitPriceInfoResponseCURRENCY type
Currency code (e.g., JPY, THB, TWD).
const ( DiscountExplicitPriceInfoResponseCURRENCY_JPY DiscountExplicitPriceInfoResponseCURRENCY = "JPY" DiscountExplicitPriceInfoResponseCURRENCY_THB DiscountExplicitPriceInfoResponseCURRENCY = "THB" DiscountExplicitPriceInfoResponseCURRENCY_TWD DiscountExplicitPriceInfoResponseCURRENCY = "TWD" )
DiscountExplicitPriceInfoResponseCURRENCY constants
type DiscountFixedPriceInfoRequest ¶ added in v8.14.2
type DiscountFixedPriceInfoRequest struct { DiscountPriceInfoRequest /** * Get FixedAmount */ FixedAmount int64 `json:"fixedAmount"` }
func (*DiscountFixedPriceInfoRequest) MarshalJSON ¶ added in v8.14.2
func (r *DiscountFixedPriceInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountFixedPriceInfoRequest struct.
type DiscountFixedPriceInfoResponse ¶ added in v8.14.2
type DiscountFixedPriceInfoResponse struct { DiscountPriceInfoResponse /** * Currency code (e.g., JPY, THB, TWD). */ Currency DiscountFixedPriceInfoResponseCURRENCY `json:"currency,omitempty"` /** * Get FixedAmount */ FixedAmount int64 `json:"fixedAmount"` }
func (*DiscountFixedPriceInfoResponse) MarshalJSON ¶ added in v8.14.2
func (r *DiscountFixedPriceInfoResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountFixedPriceInfoResponse struct.
type DiscountFixedPriceInfoResponseCURRENCY ¶ added in v8.14.2
type DiscountFixedPriceInfoResponseCURRENCY string
DiscountFixedPriceInfoResponseCURRENCY type
Currency code (e.g., JPY, THB, TWD).
const ( DiscountFixedPriceInfoResponseCURRENCY_JPY DiscountFixedPriceInfoResponseCURRENCY = "JPY" DiscountFixedPriceInfoResponseCURRENCY_THB DiscountFixedPriceInfoResponseCURRENCY = "THB" DiscountFixedPriceInfoResponseCURRENCY_TWD DiscountFixedPriceInfoResponseCURRENCY = "TWD" )
DiscountFixedPriceInfoResponseCURRENCY constants
type DiscountPercentagePriceInfoRequest ¶ added in v8.14.2
type DiscountPercentagePriceInfoRequest struct { DiscountPriceInfoRequest /** * Specifies the discount rate as a percentage. Must be an integer between 1 and 99. * minimum: 1 * maximum: 99 */ Percentage int32 `json:"percentage,omitempty"` }
func (*DiscountPercentagePriceInfoRequest) MarshalJSON ¶ added in v8.14.2
func (r *DiscountPercentagePriceInfoRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountPercentagePriceInfoRequest struct.
type DiscountPercentagePriceInfoResponse ¶ added in v8.14.2
type DiscountPercentagePriceInfoResponse struct { DiscountPriceInfoResponse /** * Get Percentage */ Percentage int32 `json:"percentage"` }
func (*DiscountPercentagePriceInfoResponse) MarshalJSON ¶ added in v8.14.2
func (r *DiscountPercentagePriceInfoResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the DiscountPercentagePriceInfoResponse struct.
type DiscountPriceInfoRequest ¶ added in v8.14.2
type DiscountPriceInfoRequest struct {
Type string `json:"type"`
}
func (DiscountPriceInfoRequest) GetType ¶ added in v8.14.2
func (e DiscountPriceInfoRequest) GetType() string
type DiscountPriceInfoRequestInterface ¶ added in v8.14.2
type DiscountPriceInfoRequestInterface interface {
GetType() string
}
func UnmarshalDiscountPriceInfoRequest ¶ added in v8.14.2
func UnmarshalDiscountPriceInfoRequest(data []byte) (DiscountPriceInfoRequestInterface, error)
type DiscountPriceInfoResponse ¶ added in v8.14.2
type DiscountPriceInfoResponse struct {
Type string `json:"type"`
}
func (DiscountPriceInfoResponse) GetType ¶ added in v8.14.2
func (e DiscountPriceInfoResponse) GetType() string
type DiscountPriceInfoResponseInterface ¶ added in v8.14.2
type DiscountPriceInfoResponseInterface interface {
GetType() string
}
func UnmarshalDiscountPriceInfoResponse ¶ added in v8.14.2
func UnmarshalDiscountPriceInfoResponse(data []byte) (DiscountPriceInfoResponseInterface, error)
type EmojiSubstitutionObject ¶ added in v8.10.0
type EmojiSubstitutionObject struct { SubstitutionObject /** * Get ProductId */ ProductId string `json:"productId"` /** * Get EmojiId */ EmojiId string `json:"emojiId"` }
EmojiSubstitutionObject An object representing a emoji substitution. https://developers.line.biz/en/reference/messaging-api/#text-message-v2-emoji-object
func (*EmojiSubstitutionObject) MarshalJSON ¶ added in v8.10.0
func (r *EmojiSubstitutionObject) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the EmojiSubstitutionObject struct.
type ErrorDetail ¶
type ErrorDetail struct { /** * Details of the error. Not included in the response under certain situations. */ Message string `json:"message,omitempty"` /** * Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations. */ Property string `json:"property,omitempty"` }
type ErrorResponse ¶
type ErrorResponse struct { /** * Message containing information about the error. (Required) */ Message string `json:"message"` /** * An array of error details. If the array is empty, this property will not be included in the response. */ Details []ErrorDetail `json:"details,omitempty"` /** * Array of sent messages. */ SentMessages []SentMessage `json:"sentMessages,omitempty"` }
ErrorResponse ErrorResponse https://developers.line.biz/en/reference/messaging-api/#error-responses
type Filter ¶
type Filter struct { /** * Get Demographic */ Demographic DemographicFilterInterface `json:"demographic,omitempty"` }
func (*Filter) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the Filter struct.
func (*Filter) UnmarshalJSON ¶
type FlexBlockStyle ¶
type FlexBox ¶
type FlexBox struct { FlexComponent /** * Get Layout */ Layout FlexBoxLAYOUT `json:"layout"` /** * Get Flex */ Flex int32 `json:"flex"` /** * Get Contents */ Contents []FlexComponentInterface `json:"contents"` /** * Get Spacing */ Spacing string `json:"spacing,omitempty"` /** * Get Margin */ Margin string `json:"margin,omitempty"` /** * Get Position */ Position FlexBoxPOSITION `json:"position,omitempty"` /** * Get OffsetTop */ OffsetTop string `json:"offsetTop,omitempty"` /** * Get OffsetBottom */ OffsetBottom string `json:"offsetBottom,omitempty"` /** * Get OffsetStart */ OffsetStart string `json:"offsetStart,omitempty"` /** * Get OffsetEnd */ OffsetEnd string `json:"offsetEnd,omitempty"` /** * Get BackgroundColor */ BackgroundColor string `json:"backgroundColor,omitempty"` /** * Get BorderColor */ BorderColor string `json:"borderColor,omitempty"` /** * Get BorderWidth */ BorderWidth string `json:"borderWidth,omitempty"` /** * Get CornerRadius */ CornerRadius string `json:"cornerRadius,omitempty"` /** * Get Width */ Width string `json:"width,omitempty"` /** * Get MaxWidth */ MaxWidth string `json:"maxWidth,omitempty"` /** * Get Height */ Height string `json:"height,omitempty"` /** * Get MaxHeight */ MaxHeight string `json:"maxHeight,omitempty"` /** * Get PaddingAll */ PaddingAll string `json:"paddingAll,omitempty"` /** * Get PaddingTop */ PaddingTop string `json:"paddingTop,omitempty"` /** * Get PaddingBottom */ PaddingBottom string `json:"paddingBottom,omitempty"` /** * Get PaddingStart */ PaddingStart string `json:"paddingStart,omitempty"` /** * Get PaddingEnd */ PaddingEnd string `json:"paddingEnd,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` /** * Get JustifyContent */ JustifyContent FlexBoxJUSTIFY_CONTENT `json:"justifyContent,omitempty"` /** * Get AlignItems */ AlignItems FlexBoxALIGN_ITEMS `json:"alignItems,omitempty"` /** * Get Background */ Background FlexBoxBackgroundInterface `json:"background,omitempty"` }
func (*FlexBox) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexBox struct.
func (*FlexBox) UnmarshalJSON ¶
type FlexBoxALIGN_ITEMS ¶
type FlexBoxALIGN_ITEMS string
const ( FlexBoxALIGN_ITEMS_CENTER FlexBoxALIGN_ITEMS = "center" FlexBoxALIGN_ITEMS_FLEX_START FlexBoxALIGN_ITEMS = "flex-start" FlexBoxALIGN_ITEMS_FLEX_END FlexBoxALIGN_ITEMS = "flex-end" )
FlexBoxALIGN_ITEMS constants
type FlexBoxBackground ¶
type FlexBoxBackground struct {
Type string `json:"type"`
}
func (FlexBoxBackground) GetType ¶
func (e FlexBoxBackground) GetType() string
type FlexBoxBackgroundInterface ¶
type FlexBoxBackgroundInterface interface {
GetType() string
}
func UnmarshalFlexBoxBackground ¶
func UnmarshalFlexBoxBackground(data []byte) (FlexBoxBackgroundInterface, error)
type FlexBoxBorderWidth ¶ added in v8.2.0
type FlexBoxBorderWidth string
FlexBoxBorderWidth type
const ( FlexBoxBorderWidth_NONE FlexBoxBorderWidth = "none" FlexBoxBorderWidth_LIGHT FlexBoxBorderWidth = "light" FlexBoxBorderWidth_NORMAL FlexBoxBorderWidth = "normal" FlexBoxBorderWidth_MEDIUM FlexBoxBorderWidth = "medium" FlexBoxBorderWidth_SEMI_BOLD FlexBoxBorderWidth = "semi-bold" FlexBoxBorderWidth_BOLD FlexBoxBorderWidth = "bold" )
FlexBoxBorderWidth constants
type FlexBoxCornerRadius ¶ added in v8.2.0
type FlexBoxCornerRadius string
FlexBoxCornerRadius type
const ( FlexBoxCornerRadius_NONE FlexBoxCornerRadius = "none" FlexBoxCornerRadius_XS FlexBoxCornerRadius = "xs" FlexBoxCornerRadius_SM FlexBoxCornerRadius = "sm" FlexBoxCornerRadius_MD FlexBoxCornerRadius = "md" FlexBoxCornerRadius_LG FlexBoxCornerRadius = "lg" FlexBoxCornerRadius_XL FlexBoxCornerRadius = "xl" FlexBoxCornerRadius_XXL FlexBoxCornerRadius = "xxl" )
FlexBoxCornerRadius constants
type FlexBoxJUSTIFY_CONTENT ¶
type FlexBoxJUSTIFY_CONTENT string
const ( FlexBoxJUSTIFY_CONTENT_CENTER FlexBoxJUSTIFY_CONTENT = "center" FlexBoxJUSTIFY_CONTENT_FLEX_START FlexBoxJUSTIFY_CONTENT = "flex-start" FlexBoxJUSTIFY_CONTENT_FLEX_END FlexBoxJUSTIFY_CONTENT = "flex-end" FlexBoxJUSTIFY_CONTENT_SPACE_BETWEEN FlexBoxJUSTIFY_CONTENT = "space-between" FlexBoxJUSTIFY_CONTENT_SPACE_AROUND FlexBoxJUSTIFY_CONTENT = "space-around" FlexBoxJUSTIFY_CONTENT_SPACE_EVENLY FlexBoxJUSTIFY_CONTENT = "space-evenly" )
FlexBoxJUSTIFY_CONTENT constants
type FlexBoxLAYOUT ¶
type FlexBoxLAYOUT string
const ( FlexBoxLAYOUT_HORIZONTAL FlexBoxLAYOUT = "horizontal" FlexBoxLAYOUT_VERTICAL FlexBoxLAYOUT = "vertical" FlexBoxLAYOUT_BASELINE FlexBoxLAYOUT = "baseline" )
FlexBoxLAYOUT constants
type FlexBoxLinearGradient ¶
type FlexBoxLinearGradient struct { FlexBoxBackground /** * Get Angle */ Angle string `json:"angle,omitempty"` /** * Get StartColor */ StartColor string `json:"startColor,omitempty"` /** * Get EndColor */ EndColor string `json:"endColor,omitempty"` /** * Get CenterColor */ CenterColor string `json:"centerColor,omitempty"` /** * Get CenterPosition */ CenterPosition string `json:"centerPosition,omitempty"` }
func (*FlexBoxLinearGradient) MarshalJSON ¶
func (r *FlexBoxLinearGradient) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexBoxLinearGradient struct.
type FlexBoxPOSITION ¶
type FlexBoxPOSITION string
const ( FlexBoxPOSITION_RELATIVE FlexBoxPOSITION = "relative" FlexBoxPOSITION_ABSOLUTE FlexBoxPOSITION = "absolute" )
FlexBoxPOSITION constants
type FlexBoxPadding ¶ added in v8.2.0
type FlexBoxPadding string
FlexBoxPadding type
const ( FlexBoxPadding_NONE FlexBoxPadding = "none" FlexBoxPadding_XS FlexBoxPadding = "xs" FlexBoxPadding_SM FlexBoxPadding = "sm" FlexBoxPadding_MD FlexBoxPadding = "md" FlexBoxPadding_LG FlexBoxPadding = "lg" FlexBoxPadding_XL FlexBoxPadding = "xl" FlexBoxPadding_XXL FlexBoxPadding = "xxl" )
FlexBoxPadding constants
type FlexBoxSpacing ¶ added in v8.2.0
type FlexBoxSpacing string
FlexBoxSpacing type
const ( FlexBoxSpacing_NONE FlexBoxSpacing = "none" FlexBoxSpacing_XS FlexBoxSpacing = "xs" FlexBoxSpacing_SM FlexBoxSpacing = "sm" FlexBoxSpacing_MD FlexBoxSpacing = "md" FlexBoxSpacing_LG FlexBoxSpacing = "lg" FlexBoxSpacing_XL FlexBoxSpacing = "xl" FlexBoxSpacing_XXL FlexBoxSpacing = "xxl" )
FlexBoxSpacing constants
type FlexBubble ¶
type FlexBubble struct { FlexContainer /** * Get Direction */ Direction FlexBubbleDIRECTION `json:"direction,omitempty"` /** * Get Styles */ Styles *FlexBubbleStyles `json:"styles,omitempty"` /** * Get Header */ Header *FlexBox `json:"header,omitempty"` /** * Get Hero */ Hero FlexComponentInterface `json:"hero,omitempty"` /** * Get Body */ Body *FlexBox `json:"body,omitempty"` Footer *FlexBox `json:"footer,omitempty"` /** * Get Size */ Size FlexBubbleSIZE `json:"size,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` }
func (*FlexBubble) MarshalJSON ¶
func (r *FlexBubble) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexBubble struct.
func (*FlexBubble) UnmarshalJSON ¶
func (cr *FlexBubble) UnmarshalJSON(data []byte) error
type FlexBubbleDIRECTION ¶
type FlexBubbleDIRECTION string
const ( FlexBubbleDIRECTION_LTR FlexBubbleDIRECTION = "ltr" FlexBubbleDIRECTION_RTL FlexBubbleDIRECTION = "rtl" )
FlexBubbleDIRECTION constants
type FlexBubbleSIZE ¶
type FlexBubbleSIZE string
const ( FlexBubbleSIZE_NANO FlexBubbleSIZE = "nano" FlexBubbleSIZE_MICRO FlexBubbleSIZE = "micro" FlexBubbleSIZE_DECA FlexBubbleSIZE = "deca" FlexBubbleSIZE_HECTO FlexBubbleSIZE = "hecto" FlexBubbleSIZE_KILO FlexBubbleSIZE = "kilo" FlexBubbleSIZE_MEGA FlexBubbleSIZE = "mega" FlexBubbleSIZE_GIGA FlexBubbleSIZE = "giga" )
FlexBubbleSIZE constants
type FlexBubbleStyles ¶
type FlexBubbleStyles struct { /** * Get Header */ Header *FlexBlockStyle `json:"header,omitempty"` /** * Get Hero */ Hero *FlexBlockStyle `json:"hero,omitempty"` /** * Get Body */ Body *FlexBlockStyle `json:"body,omitempty"` Footer *FlexBlockStyle `json:"footer,omitempty"` }
type FlexButton ¶
type FlexButton struct { FlexComponent /** * Get Flex */ Flex int32 `json:"flex"` /** * Get Color */ Color string `json:"color,omitempty"` /** * Get Style */ Style FlexButtonSTYLE `json:"style,omitempty"` /** * Get Action */ Action ActionInterface `json:"action"` /** * Get Gravity */ Gravity FlexButtonGRAVITY `json:"gravity,omitempty"` /** * Get Margin */ Margin string `json:"margin,omitempty"` /** * Get Position */ Position FlexButtonPOSITION `json:"position,omitempty"` /** * Get OffsetTop */ OffsetTop string `json:"offsetTop,omitempty"` /** * Get OffsetBottom */ OffsetBottom string `json:"offsetBottom,omitempty"` /** * Get OffsetStart */ OffsetStart string `json:"offsetStart,omitempty"` /** * Get OffsetEnd */ OffsetEnd string `json:"offsetEnd,omitempty"` /** * Get Height */ Height FlexButtonHEIGHT `json:"height,omitempty"` /** * Get AdjustMode */ AdjustMode FlexButtonADJUST_MODE `json:"adjustMode,omitempty"` /** * Get Scaling */ Scaling bool `json:"scaling"` }
func (*FlexButton) MarshalJSON ¶
func (r *FlexButton) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexButton struct.
func (*FlexButton) UnmarshalJSON ¶
func (cr *FlexButton) UnmarshalJSON(data []byte) error
type FlexButtonADJUST_MODE ¶
type FlexButtonADJUST_MODE string
const (
FlexButtonADJUST_MODE_SHRINK_TO_FIT FlexButtonADJUST_MODE = "shrink-to-fit"
)
FlexButtonADJUST_MODE constants
type FlexButtonGRAVITY ¶
type FlexButtonGRAVITY string
const ( FlexButtonGRAVITY_TOP FlexButtonGRAVITY = "top" FlexButtonGRAVITY_BOTTOM FlexButtonGRAVITY = "bottom" FlexButtonGRAVITY_CENTER FlexButtonGRAVITY = "center" )
FlexButtonGRAVITY constants
type FlexButtonHEIGHT ¶
type FlexButtonHEIGHT string
const ( FlexButtonHEIGHT_MD FlexButtonHEIGHT = "md" FlexButtonHEIGHT_SM FlexButtonHEIGHT = "sm" )
FlexButtonHEIGHT constants
type FlexButtonPOSITION ¶
type FlexButtonPOSITION string
const ( FlexButtonPOSITION_RELATIVE FlexButtonPOSITION = "relative" FlexButtonPOSITION_ABSOLUTE FlexButtonPOSITION = "absolute" )
FlexButtonPOSITION constants
type FlexButtonSTYLE ¶
type FlexButtonSTYLE string
const ( FlexButtonSTYLE_PRIMARY FlexButtonSTYLE = "primary" FlexButtonSTYLE_SECONDARY FlexButtonSTYLE = "secondary" FlexButtonSTYLE_LINK FlexButtonSTYLE = "link" )
FlexButtonSTYLE constants
type FlexCarousel ¶
type FlexCarousel struct { FlexContainer /** * Get Contents */ Contents []FlexBubble `json:"contents"` }
func (*FlexCarousel) MarshalJSON ¶
func (r *FlexCarousel) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexCarousel struct.
type FlexComponent ¶
type FlexComponent struct {
Type string `json:"type"`
}
func (FlexComponent) GetType ¶
func (e FlexComponent) GetType() string
type FlexComponentInterface ¶
type FlexComponentInterface interface {
GetType() string
}
func UnmarshalFlexComponent ¶
func UnmarshalFlexComponent(data []byte) (FlexComponentInterface, error)
type FlexContainer ¶
type FlexContainer struct {
Type string `json:"type"`
}
func (FlexContainer) GetType ¶
func (e FlexContainer) GetType() string
type FlexContainerInterface ¶
type FlexContainerInterface interface {
GetType() string
}
func UnmarshalFlexContainer ¶
func UnmarshalFlexContainer(data []byte) (FlexContainerInterface, error)
type FlexFiller ¶
type FlexFiller struct { FlexComponent /** * Get Flex */ Flex int32 `json:"flex"` }
func (*FlexFiller) MarshalJSON ¶
func (r *FlexFiller) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexFiller struct.
type FlexIcon ¶
type FlexIcon struct { FlexComponent /** * Get Url */ Url string `json:"url"` /** * Get Size */ Size string `json:"size,omitempty"` /** * Get AspectRatio */ AspectRatio string `json:"aspectRatio,omitempty"` /** * Get Margin */ Margin string `json:"margin,omitempty"` /** * Get Position */ Position FlexIconPOSITION `json:"position,omitempty"` /** * Get OffsetTop */ OffsetTop string `json:"offsetTop,omitempty"` /** * Get OffsetBottom */ OffsetBottom string `json:"offsetBottom,omitempty"` /** * Get OffsetStart */ OffsetStart string `json:"offsetStart,omitempty"` /** * Get OffsetEnd */ OffsetEnd string `json:"offsetEnd,omitempty"` /** * Get Scaling */ Scaling bool `json:"scaling"` }
FlexIcon FlexIcon https://developers.line.biz/en/reference/messaging-api/#icon
func (*FlexIcon) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexIcon struct.
type FlexIconPOSITION ¶
type FlexIconPOSITION string
const ( FlexIconPOSITION_RELATIVE FlexIconPOSITION = "relative" FlexIconPOSITION_ABSOLUTE FlexIconPOSITION = "absolute" )
FlexIconPOSITION constants
type FlexIconSize ¶ added in v8.2.0
type FlexIconSize string
FlexIconSize type
const ( FlexIconSize_XXS FlexIconSize = "xxs" FlexIconSize_XS FlexIconSize = "xs" FlexIconSize_SM FlexIconSize = "sm" FlexIconSize_MD FlexIconSize = "md" FlexIconSize_LG FlexIconSize = "lg" FlexIconSize_XL FlexIconSize = "xl" FlexIconSize_XXL FlexIconSize = "xxl" FlexIconSize__3XL FlexIconSize = "3xl" FlexIconSize__4XL FlexIconSize = "4xl" FlexIconSize__5XL FlexIconSize = "5xl" )
FlexIconSize constants
type FlexImage ¶
type FlexImage struct { FlexComponent /** * Image URL (Max character limit: 2000) Protocol: HTTPS (TLS 1.2 or later) Image format: JPEG or PNG Maximum image size: 1024×1024 pixels Maximum file size: 10 MB (300 KB when the animated property is true) (Required) */ Url string `json:"url"` /** * The ratio of the width or height of this component within the parent box. */ Flex int32 `json:"flex"` /** * The minimum amount of space to include before this component in its parent container. */ Margin string `json:"margin,omitempty"` /** * Reference for offsetTop, offsetBottom, offsetStart, and offsetEnd. Specify one of the following values: `relative`: Use the previous box as reference. `absolute`: Use the top left of parent element as reference. The default value is relative. */ Position FlexImagePOSITION `json:"position,omitempty"` /** * Offset. */ OffsetTop string `json:"offsetTop,omitempty"` /** * Offset. */ OffsetBottom string `json:"offsetBottom,omitempty"` /** * Offset. */ OffsetStart string `json:"offsetStart,omitempty"` /** * Offset. */ OffsetEnd string `json:"offsetEnd,omitempty"` /** * Alignment style in horizontal direction. */ Align FlexImageALIGN `json:"align,omitempty"` /** * Alignment style in vertical direction. */ Gravity FlexImageGRAVITY `json:"gravity,omitempty"` /** * The maximum image width. This is md by default. */ Size string `json:"size,omitempty"` /** * Aspect ratio of the image. `{width}:{height}` format. Specify the value of `{width}` and `{height}` in the range from `1` to `100000`. However, you cannot set `{height}` to a value that is more than three times the value of `{width}`. The default value is `1:1`. */ AspectRatio string `json:"aspectRatio,omitempty"` /** * The display style of the image if the aspect ratio of the image and that specified by the aspectRatio property do not match. */ AspectMode FlexImageASPECT_MODE `json:"aspectMode,omitempty"` /** * Background color of the image. Use a hexadecimal color code. */ BackgroundColor string `json:"backgroundColor,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` /** * When this is `true`, an animated image (APNG) plays. You can specify a value of true up to 10 images in a single message. You can't send messages that exceed this limit. This is `false` by default. Animated images larger than 300 KB aren't played back. */ Animated bool `json:"animated"` }
FlexImage FlexImage https://developers.line.biz/en/reference/messaging-api/#f-image
func (*FlexImage) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexImage struct.
func (*FlexImage) UnmarshalJSON ¶
type FlexImageALIGN ¶
type FlexImageALIGN string
FlexImageALIGN type
Alignment style in horizontal direction.
const ( FlexImageALIGN_START FlexImageALIGN = "start" FlexImageALIGN_END FlexImageALIGN = "end" FlexImageALIGN_CENTER FlexImageALIGN = "center" )
FlexImageALIGN constants
type FlexImageASPECT_MODE ¶
type FlexImageASPECT_MODE string
FlexImageASPECT_MODE type
The display style of the image if the aspect ratio of the image and that specified by the aspectRatio property do not match.
const ( FlexImageASPECT_MODE_FIT FlexImageASPECT_MODE = "fit" FlexImageASPECT_MODE_COVER FlexImageASPECT_MODE = "cover" )
FlexImageASPECT_MODE constants
type FlexImageGRAVITY ¶
type FlexImageGRAVITY string
FlexImageGRAVITY type
Alignment style in vertical direction.
const ( FlexImageGRAVITY_TOP FlexImageGRAVITY = "top" FlexImageGRAVITY_BOTTOM FlexImageGRAVITY = "bottom" FlexImageGRAVITY_CENTER FlexImageGRAVITY = "center" )
FlexImageGRAVITY constants
type FlexImagePOSITION ¶
type FlexImagePOSITION string
FlexImagePOSITION type
Reference for offsetTop, offsetBottom, offsetStart, and offsetEnd. Specify one of the following values: `relative`: Use the previous box as reference. `absolute`: Use the top left of parent element as reference. The default value is relative.
const ( FlexImagePOSITION_RELATIVE FlexImagePOSITION = "relative" FlexImagePOSITION_ABSOLUTE FlexImagePOSITION = "absolute" )
FlexImagePOSITION constants
type FlexImageSize ¶ added in v8.2.0
type FlexImageSize string
FlexImageSize type
const ( FlexImageSize_XXS FlexImageSize = "xxs" FlexImageSize_XS FlexImageSize = "xs" FlexImageSize_SM FlexImageSize = "sm" FlexImageSize_MD FlexImageSize = "md" FlexImageSize_LG FlexImageSize = "lg" FlexImageSize_XL FlexImageSize = "xl" FlexImageSize_XXL FlexImageSize = "xxl" FlexImageSize__3XL FlexImageSize = "3xl" FlexImageSize__4XL FlexImageSize = "4xl" FlexImageSize__5XL FlexImageSize = "5xl" FlexImageSize_FULL FlexImageSize = "full" )
FlexImageSize constants
type FlexMargin ¶ added in v8.2.0
type FlexMargin string
FlexMargin type
const ( FlexMargin_NONE FlexMargin = "none" FlexMargin_XS FlexMargin = "xs" FlexMargin_SM FlexMargin = "sm" FlexMargin_MD FlexMargin = "md" FlexMargin_LG FlexMargin = "lg" FlexMargin_XL FlexMargin = "xl" FlexMargin_XXL FlexMargin = "xxl" )
FlexMargin constants
type FlexMessage ¶
type FlexMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get AltText */ AltText string `json:"altText"` /** * Get Contents */ Contents FlexContainerInterface `json:"contents"` }
FlexMessage FlexMessage https://developers.line.biz/en/reference/messaging-api/#flex-message
func (*FlexMessage) MarshalJSON ¶
func (r *FlexMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexMessage struct.
func (*FlexMessage) UnmarshalJSON ¶
func (cr *FlexMessage) UnmarshalJSON(data []byte) error
type FlexOffset ¶ added in v8.2.0
type FlexOffset string
FlexOffset type
const ( FlexOffset_NONE FlexOffset = "none" FlexOffset_XS FlexOffset = "xs" FlexOffset_SM FlexOffset = "sm" FlexOffset_MD FlexOffset = "md" FlexOffset_LG FlexOffset = "lg" FlexOffset_XL FlexOffset = "xl" FlexOffset_XXL FlexOffset = "xxl" )
FlexOffset constants
type FlexSeparator ¶
type FlexSeparator struct { FlexComponent /** * Get Margin */ Margin string `json:"margin,omitempty"` /** * Get Color */ Color string `json:"color,omitempty"` }
func (*FlexSeparator) MarshalJSON ¶
func (r *FlexSeparator) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the FlexSeparator struct.
type FlexSpan ¶
type FlexSpan struct { FlexComponent /** * Get Text */ Text string `json:"text,omitempty"` /** * Get Size */ Size string `json:"size,omitempty"` /** * Get Color */ Color string `json:"color,omitempty"` /** * Get Weight */ Weight FlexSpanWEIGHT `json:"weight,omitempty"` /** * Get Style */ Style FlexSpanSTYLE `json:"style,omitempty"` /** * Get Decoration */ Decoration FlexSpanDECORATION `json:"decoration,omitempty"` }
func (*FlexSpan) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexSpan struct.
type FlexSpanDECORATION ¶
type FlexSpanDECORATION string
const ( FlexSpanDECORATION_NONE FlexSpanDECORATION = "none" FlexSpanDECORATION_UNDERLINE FlexSpanDECORATION = "underline" FlexSpanDECORATION_LINE_THROUGH FlexSpanDECORATION = "line-through" )
FlexSpanDECORATION constants
type FlexSpanSTYLE ¶
type FlexSpanSTYLE string
const ( FlexSpanSTYLE_NORMAL FlexSpanSTYLE = "normal" FlexSpanSTYLE_ITALIC FlexSpanSTYLE = "italic" )
FlexSpanSTYLE constants
type FlexSpanSize ¶ added in v8.2.0
type FlexSpanSize string
FlexSpanSize type
const ( FlexSpanSize_XXS FlexSpanSize = "xxs" FlexSpanSize_XS FlexSpanSize = "xs" FlexSpanSize_SM FlexSpanSize = "sm" FlexSpanSize_MD FlexSpanSize = "md" FlexSpanSize_LG FlexSpanSize = "lg" FlexSpanSize_XL FlexSpanSize = "xl" FlexSpanSize_XXL FlexSpanSize = "xxl" FlexSpanSize__3XL FlexSpanSize = "3xl" FlexSpanSize__4XL FlexSpanSize = "4xl" FlexSpanSize__5XL FlexSpanSize = "5xl" )
FlexSpanSize constants
type FlexSpanWEIGHT ¶
type FlexSpanWEIGHT string
const ( FlexSpanWEIGHT_REGULAR FlexSpanWEIGHT = "regular" FlexSpanWEIGHT_BOLD FlexSpanWEIGHT = "bold" )
FlexSpanWEIGHT constants
type FlexText ¶
type FlexText struct { FlexComponent /** * Get Flex */ Flex int32 `json:"flex"` /** * Get Text */ Text string `json:"text,omitempty"` /** * Get Size */ Size string `json:"size,omitempty"` /** * Get Align */ Align FlexTextALIGN `json:"align,omitempty"` /** * Get Gravity */ Gravity FlexTextGRAVITY `json:"gravity,omitempty"` /** * Get Color */ Color string `json:"color,omitempty"` /** * Get Weight */ Weight FlexTextWEIGHT `json:"weight,omitempty"` /** * Get Style */ Style FlexTextSTYLE `json:"style,omitempty"` /** * Get Decoration */ Decoration FlexTextDECORATION `json:"decoration,omitempty"` /** * Get Wrap */ Wrap bool `json:"wrap"` /** * Get LineSpacing */ LineSpacing string `json:"lineSpacing,omitempty"` /** * Get Margin */ Margin string `json:"margin,omitempty"` /** * Get Position */ Position FlexTextPOSITION `json:"position,omitempty"` /** * Get OffsetTop */ OffsetTop string `json:"offsetTop,omitempty"` /** * Get OffsetBottom */ OffsetBottom string `json:"offsetBottom,omitempty"` /** * Get OffsetStart */ OffsetStart string `json:"offsetStart,omitempty"` /** * Get OffsetEnd */ OffsetEnd string `json:"offsetEnd,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` /** * Get MaxLines */ MaxLines int32 `json:"maxLines"` /** * Get Contents */ Contents []FlexSpan `json:"contents,omitempty"` /** * Get AdjustMode */ AdjustMode FlexTextADJUST_MODE `json:"adjustMode,omitempty"` /** * Get Scaling */ Scaling bool `json:"scaling"` }
func (*FlexText) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexText struct.
func (*FlexText) UnmarshalJSON ¶
type FlexTextADJUST_MODE ¶
type FlexTextADJUST_MODE string
const (
FlexTextADJUST_MODE_SHRINK_TO_FIT FlexTextADJUST_MODE = "shrink-to-fit"
)
FlexTextADJUST_MODE constants
type FlexTextALIGN ¶
type FlexTextALIGN string
const ( FlexTextALIGN_START FlexTextALIGN = "start" FlexTextALIGN_END FlexTextALIGN = "end" FlexTextALIGN_CENTER FlexTextALIGN = "center" )
FlexTextALIGN constants
type FlexTextDECORATION ¶
type FlexTextDECORATION string
const ( FlexTextDECORATION_NONE FlexTextDECORATION = "none" FlexTextDECORATION_UNDERLINE FlexTextDECORATION = "underline" FlexTextDECORATION_LINE_THROUGH FlexTextDECORATION = "line-through" )
FlexTextDECORATION constants
type FlexTextFontSize ¶ added in v8.2.0
type FlexTextFontSize string
FlexTextFontSize type
const ( FlexTextFontSize_XXS FlexTextFontSize = "xxs" FlexTextFontSize_XS FlexTextFontSize = "xs" FlexTextFontSize_SM FlexTextFontSize = "sm" FlexTextFontSize_MD FlexTextFontSize = "md" FlexTextFontSize_LG FlexTextFontSize = "lg" FlexTextFontSize_XL FlexTextFontSize = "xl" FlexTextFontSize_XXL FlexTextFontSize = "xxl" FlexTextFontSize__3XL FlexTextFontSize = "3xl" FlexTextFontSize__4XL FlexTextFontSize = "4xl" FlexTextFontSize__5XL FlexTextFontSize = "5xl" )
FlexTextFontSize constants
type FlexTextGRAVITY ¶
type FlexTextGRAVITY string
const ( FlexTextGRAVITY_TOP FlexTextGRAVITY = "top" FlexTextGRAVITY_BOTTOM FlexTextGRAVITY = "bottom" FlexTextGRAVITY_CENTER FlexTextGRAVITY = "center" )
FlexTextGRAVITY constants
type FlexTextPOSITION ¶
type FlexTextPOSITION string
const ( FlexTextPOSITION_RELATIVE FlexTextPOSITION = "relative" FlexTextPOSITION_ABSOLUTE FlexTextPOSITION = "absolute" )
FlexTextPOSITION constants
type FlexTextSTYLE ¶
type FlexTextSTYLE string
const ( FlexTextSTYLE_NORMAL FlexTextSTYLE = "normal" FlexTextSTYLE_ITALIC FlexTextSTYLE = "italic" )
FlexTextSTYLE constants
type FlexTextWEIGHT ¶
type FlexTextWEIGHT string
const ( FlexTextWEIGHT_REGULAR FlexTextWEIGHT = "regular" FlexTextWEIGHT_BOLD FlexTextWEIGHT = "bold" )
FlexTextWEIGHT constants
type FlexVideo ¶
type FlexVideo struct { FlexComponent /** * Get Url */ Url string `json:"url"` /** * Get PreviewUrl */ PreviewUrl string `json:"previewUrl"` /** * Get AltContent */ AltContent FlexComponentInterface `json:"altContent"` /** * Get AspectRatio */ AspectRatio string `json:"aspectRatio,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` }
func (*FlexVideo) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the FlexVideo struct.
func (*FlexVideo) UnmarshalJSON ¶
type GenderDemographic ¶
type GenderDemographic string
GenderDemographic type
const ( GenderDemographic_MALE GenderDemographic = "male" GenderDemographic_FEMALE GenderDemographic = "female" )
GenderDemographic constants
type GenderDemographicFilter ¶
type GenderDemographicFilter struct { DemographicFilter /** * Get OneOf */ OneOf []GenderDemographic `json:"oneOf,omitempty"` }
func (*GenderDemographicFilter) MarshalJSON ¶
func (r *GenderDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the GenderDemographicFilter struct.
type GetAggregationUnitNameListResponse ¶
type GetAggregationUnitNameListResponse struct { /** * An array of strings indicating the names of aggregation units used this month. (Required) */ CustomAggregationUnits []string `json:"customAggregationUnits"` /** * A continuation token to get the next array of unit names. Returned only when there are remaining aggregation units that weren't returned in customAggregationUnits in the original request. */ Next string `json:"next,omitempty"` }
GetAggregationUnitNameListResponse GetAggregationUnitNameListResponse https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
type GetAggregationUnitUsageResponse ¶
type GetAggregationUnitUsageResponse struct { /** * Number of aggregation units used this month. (Required) */ NumOfCustomAggregationUnits int64 `json:"numOfCustomAggregationUnits"` }
GetAggregationUnitUsageResponse GetAggregationUnitUsageResponse https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
type GetFollowersResponse ¶
type GetFollowersResponse struct { /** * An array of strings indicating user IDs of users that have added the LINE Official Account as a friend. Only users of LINE for iOS and LINE for Android are included in `userIds`. (Required) */ UserIds []string `json:"userIds"` /** * A continuation token to get the next array of user IDs. Returned only when there are remaining user IDs that weren't returned in `userIds` in the original request. The number of user IDs in the `userIds` element doesn't have to reach the maximum number specified by `limit` for the `next` property to be included in the response. */ Next string `json:"next,omitempty"` }
GetFollowersResponse GetFollowersResponse https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
type GetJoinedMembershipUsersResponse ¶ added in v8.12.0
type GetJoinedMembershipUsersResponse struct { /** * A list of user IDs who joined the membership. Users who have not agreed to the bot user agreement, are not following the bot, or are not active will be excluded. If there are no users in the membership, an empty list will be returned. (Required) */ UserIds []string `json:"userIds"` /** * A continuation token to get next remaining membership user IDs. Returned only when there are remaining user IDs that weren't returned in the userIds property in the previous request. The continuation token expires in 24 hours (86,400 seconds). */ Next string `json:"next,omitempty"` }
GetJoinedMembershipUsersResponse List of users who have joined the membership https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
type GetMembershipSubscriptionResponse ¶ added in v8.5.0
type GetMembershipSubscriptionResponse struct { /** * List of subscription information (Required) */ Subscriptions []Subscription `json:"subscriptions"` }
GetMembershipSubscriptionResponse A user's membership subscription status https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status
type GetMessageContentTranscodingResponse ¶
type GetMessageContentTranscodingResponse struct { /** * The preparation status. One of: `processing`: Preparing to get content. `succeeded`: Ready to get the content. You can get the content sent by users. `failed`: Failed to prepare to get the content. (Required) */ Status GetMessageContentTranscodingResponseSTATUS `json:"status"` }
GetMessageContentTranscodingResponse Transcoding response https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status
type GetMessageContentTranscodingResponseSTATUS ¶
type GetMessageContentTranscodingResponseSTATUS string
GetMessageContentTranscodingResponseSTATUS type
The preparation status. One of: `processing`: Preparing to get content. `succeeded`: Ready to get the content. You can get the content sent by users. `failed`: Failed to prepare to get the content.
const ( GetMessageContentTranscodingResponseSTATUS_PROCESSING GetMessageContentTranscodingResponseSTATUS = "processing" GetMessageContentTranscodingResponseSTATUS_SUCCEEDED GetMessageContentTranscodingResponseSTATUS = "succeeded" GetMessageContentTranscodingResponseSTATUS_FAILED GetMessageContentTranscodingResponseSTATUS = "failed" )
GetMessageContentTranscodingResponseSTATUS constants
type GetWebhookEndpointResponse ¶
type GetWebhookEndpointResponse struct { /** * Webhook URL (Required) */ Endpoint string `json:"endpoint"` /** * Webhook usage status. Send a webhook event from the LINE Platform to the webhook URL only if enabled. `true`: Webhook usage is enabled. `false`: Webhook usage is disabled. (Required) */ Active bool `json:"active"` }
GetWebhookEndpointResponse GetWebhookEndpointResponse https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
type GroupMemberCountResponse ¶
type GroupMemberCountResponse struct { /** * The count of members in the group chat. The number returned excludes the LINE Official Account. (Required) */ Count int32 `json:"count"` }
GroupMemberCountResponse GroupMemberCountResponse https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
type GroupSummaryResponse ¶
type GroupSummaryResponse struct { /** * Group ID (Required) */ GroupId string `json:"groupId"` /** * Group name (Required) */ GroupName string `json:"groupName"` /** * Group icon URL. Not included in the response if the user doesn't set a group profile icon. */ PictureUrl string `json:"pictureUrl,omitempty"` }
GroupSummaryResponse GroupSummaryResponse https://developers.line.biz/en/reference/messaging-api/#get-group-summary
type GroupUserProfileResponse ¶
type GroupUserProfileResponse struct { /** * User's display name (Required) */ DisplayName string `json:"displayName"` /** * User ID (Required) */ UserId string `json:"userId"` /** * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image. */ PictureUrl string `json:"pictureUrl,omitempty"` }
GroupUserProfileResponse GroupUserProfileResponse https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
type ImageCarouselColumn ¶
type ImageCarouselColumn struct { /** * Get ImageUrl */ ImageUrl string `json:"imageUrl"` /** * Get Action */ Action ActionInterface `json:"action"` }
func (*ImageCarouselColumn) MarshalJSON ¶
func (r *ImageCarouselColumn) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ImageCarouselColumn struct.
func (*ImageCarouselColumn) UnmarshalJSON ¶
func (cr *ImageCarouselColumn) UnmarshalJSON(data []byte) error
type ImageCarouselTemplate ¶
type ImageCarouselTemplate struct { Template /** * Get Columns */ Columns []ImageCarouselColumn `json:"columns"` }
func (*ImageCarouselTemplate) MarshalJSON ¶
func (r *ImageCarouselTemplate) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ImageCarouselTemplate struct.
type ImageMessage ¶
type ImageMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get OriginalContentUrl */ OriginalContentUrl string `json:"originalContentUrl"` /** * Get PreviewImageUrl */ PreviewImageUrl string `json:"previewImageUrl"` }
ImageMessage ImageMessage https://developers.line.biz/en/reference/messaging-api/#image-message
func (*ImageMessage) MarshalJSON ¶
func (r *ImageMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ImageMessage struct.
type ImagemapAction ¶
type ImagemapAction struct { Type string `json:"type"` Area ImagemapArea `json:"area"` }
func (ImagemapAction) GetType ¶
func (e ImagemapAction) GetType() string
type ImagemapActionInterface ¶
type ImagemapActionInterface interface {
GetType() string
}
func UnmarshalImagemapAction ¶
func UnmarshalImagemapAction(data []byte) (ImagemapActionInterface, error)
type ImagemapArea ¶
type ImagemapBaseSize ¶
type ImagemapExternalLink ¶
type ImagemapMessage ¶
type ImagemapMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get BaseUrl */ BaseUrl string `json:"baseUrl"` /** * Get AltText */ AltText string `json:"altText"` /** * Get BaseSize */ BaseSize *ImagemapBaseSize `json:"baseSize"` /** * Get Actions */ Actions []ImagemapActionInterface `json:"actions"` /** * Get Video */ Video *ImagemapVideo `json:"video,omitempty"` }
ImagemapMessage ImagemapMessage https://developers.line.biz/en/reference/messaging-api/#imagemap-message
func (*ImagemapMessage) MarshalJSON ¶
func (r *ImagemapMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ImagemapMessage struct.
func (*ImagemapMessage) UnmarshalJSON ¶
func (cr *ImagemapMessage) UnmarshalJSON(data []byte) error
type ImagemapVideo ¶
type ImagemapVideo struct { /** * Get OriginalContentUrl */ OriginalContentUrl string `json:"originalContentUrl,omitempty"` /** * Get PreviewImageUrl */ PreviewImageUrl string `json:"previewImageUrl,omitempty"` /** * Get Area */ Area *ImagemapArea `json:"area,omitempty"` /** * Get ExternalLink */ ExternalLink *ImagemapExternalLink `json:"externalLink,omitempty"` }
type IssueLinkTokenResponse ¶
type IssueLinkTokenResponse struct { /** * Link token. Link tokens are valid for 10 minutes and can only be used once. (Required) */ LinkToken string `json:"linkToken"` }
IssueLinkTokenResponse IssueLinkTokenResponse https://developers.line.biz/en/reference/messaging-api/#issue-link-token
type Limit ¶
type Limit struct { /** * The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random. * minimum: 1 */ Max int32 `json:"max,omitempty"` /** * If true, the message will be sent within the maximum number of deliverable messages. The default value is `false`. Targets will be selected at random. */ UpToRemainingQuota bool `json:"upToRemainingQuota"` }
Limit Limit of the Narrowcast https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
type LocationAction ¶
type LocationAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` }
func (*LocationAction) MarshalJSON ¶
func (r *LocationAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the LocationAction struct.
type LocationMessage ¶
type LocationMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get Title */ Title string `json:"title"` /** * Get Address */ Address string `json:"address"` /** * Get Latitude */ Latitude float64 `json:"latitude"` /** * Get Longitude */ Longitude float64 `json:"longitude"` }
LocationMessage LocationMessage https://developers.line.biz/en/reference/messaging-api/#location-message
func (*LocationMessage) MarshalJSON ¶
func (r *LocationMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the LocationMessage struct.
type LotteryAcquisitionConditionRequest ¶ added in v8.14.2
type LotteryAcquisitionConditionRequest struct { AcquisitionConditionRequest /** * Probability (1-99) of winning the coupon in lottery-type campaigns. (Required) * minimum: 1 * maximum: 99 */ LotteryProbability int32 `json:"lotteryProbability"` /** * Maximum number of coupons that can be issued in total. Use -1 to indicate no limit (Required) * maximum: 999999 */ MaxAcquireCount int32 `json:"maxAcquireCount"` }
func (*LotteryAcquisitionConditionRequest) MarshalJSON ¶ added in v8.14.2
func (r *LotteryAcquisitionConditionRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the LotteryAcquisitionConditionRequest struct.
type LotteryAcquisitionConditionResponse ¶ added in v8.14.2
type LotteryAcquisitionConditionResponse struct { AcquisitionConditionResponse /** * Get LotteryProbability */ LotteryProbability int32 `json:"lotteryProbability"` /** * Get MaxAcquireCount */ MaxAcquireCount int32 `json:"maxAcquireCount"` }
func (*LotteryAcquisitionConditionResponse) MarshalJSON ¶ added in v8.14.2
func (r *LotteryAcquisitionConditionResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the LotteryAcquisitionConditionResponse struct.
type MarkMessagesAsReadRequest ¶
type MarkMessagesAsReadRequest struct { /** * Get Chat */ Chat *ChatReference `json:"chat"` }
MarkMessagesAsReadRequest MarkMessagesAsReadRequest https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
type MembersIdsResponse ¶
type MembersIdsResponse struct { /** * List of user IDs of members in the group chat. Only users of LINE for iOS and LINE for Android are included in `memberIds`. (Required) */ MemberIds []string `json:"memberIds"` /** * A continuation token to get the next array of user IDs of the members in the group chat. Returned only when there are remaining user IDs that were not returned in `memberIds` in the original request. */ Next string `json:"next,omitempty"` }
type Membership ¶ added in v8.5.0
type Membership struct { /** * Membership plan ID. (Required) */ MembershipId int32 `json:"membershipId"` /** * Membership plan name. (Required) */ Title string `json:"title"` /** * Membership plan description. (Required) */ Description string `json:"description"` /** * List of membership plan perks. (Required) */ Benefits []string `json:"benefits"` /** * Monthly fee for membership plan. (e.g. 1500.00) (Required) */ Price float64 `json:"price"` /** * The currency of membership.price. (Required) */ Currency MembershipCURRENCY `json:"currency"` /** * Number of members subscribed to the membership plan. (Required) */ MemberCount int32 `json:"memberCount"` /** * The upper limit of members who can subscribe. If no upper limit is set, it will be null. (Required) */ MemberLimit int32 `json:"memberLimit"` /** * Payment method for users who subscribe to a membership plan. (Required) */ IsInAppPurchase bool `json:"isInAppPurchase"` /** * Membership plan status. (Required) */ IsPublished bool `json:"isPublished"` }
type MembershipCURRENCY ¶ added in v8.5.0
type MembershipCURRENCY string
MembershipCURRENCY type
The currency of membership.price.
const ( MembershipCURRENCY_JPY MembershipCURRENCY = "JPY" MembershipCURRENCY_TWD MembershipCURRENCY = "TWD" MembershipCURRENCY_THB MembershipCURRENCY = "THB" )
MembershipCURRENCY constants
type MembershipListResponse ¶ added in v8.5.0
type MembershipListResponse struct { /** * List of membership information (Required) */ Memberships []Membership `json:"memberships"` }
type MentionSubstitutionObject ¶ added in v8.10.0
type MentionSubstitutionObject struct { SubstitutionObject /** * Get Mentionee */ Mentionee MentionTargetInterface `json:"mentionee"` }
MentionSubstitutionObject An object representing a mention substitution. https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mention-object
func (*MentionSubstitutionObject) MarshalJSON ¶ added in v8.10.0
func (r *MentionSubstitutionObject) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the MentionSubstitutionObject struct.
func (*MentionSubstitutionObject) UnmarshalJSON ¶ added in v8.10.0
func (cr *MentionSubstitutionObject) UnmarshalJSON(data []byte) error
type MentionTarget ¶ added in v8.10.0
type MentionTarget struct {
Type string `json:"type"`
}
func (MentionTarget) GetType ¶ added in v8.10.0
func (e MentionTarget) GetType() string
type MentionTargetInterface ¶ added in v8.10.0
type MentionTargetInterface interface {
GetType() string
}
func UnmarshalMentionTarget ¶ added in v8.10.0
func UnmarshalMentionTarget(data []byte) (MentionTargetInterface, error)
type Message ¶
type Message struct { Type string `json:"type"` QuickReply QuickReply `json:"quickReply,omitempty"` Sender Sender `json:"sender,omitempty"` }
type MessageAction ¶
type MessageAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Get Text */ Text string `json:"text,omitempty"` }
func (*MessageAction) MarshalJSON ¶
func (r *MessageAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the MessageAction struct.
type MessageImagemapAction ¶
type MessageImagemapAction struct { ImagemapAction /** * Get Area */ Area *ImagemapArea `json:"area"` /** * Get Text */ Text string `json:"text"` /** * Get Label */ Label string `json:"label,omitempty"` }
func (*MessageImagemapAction) MarshalJSON ¶
func (r *MessageImagemapAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the MessageImagemapAction struct.
type MessageInterface ¶
type MessageInterface interface {
GetType() string
}
func UnmarshalMessage ¶
func UnmarshalMessage(data []byte) (MessageInterface, error)
type MessageQuotaResponse ¶
type MessageQuotaResponse struct { /** * Get Type */ Type QuotaType `json:"type"` /** * The target limit for sending messages in the current month. This property is returned when the `type` property has a value of `limited`. */ Value int64 `json:"value"` }
MessageQuotaResponse MessageQuotaResponse https://developers.line.biz/en/reference/messaging-api/#get-quota
type MessagingApiAPI ¶
type MessagingApiAPI struct {
// contains filtered or unexported fields
}
func NewMessagingApiAPI ¶
func NewMessagingApiAPI(channelToken string, options ...MessagingApiAPIOption) (*MessagingApiAPI, error)
New returns a new bot client instance.
func (*MessagingApiAPI) Broadcast ¶
func (client *MessagingApiAPI) Broadcast( broadcastRequest *BroadcastRequest, xLineRetryKey string, ) (*map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
func (*MessagingApiAPI) BroadcastWithHttpInfo ¶
func (client *MessagingApiAPI) BroadcastWithHttpInfo( broadcastRequest *BroadcastRequest, xLineRetryKey string, ) (*http.Response, *map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-broadcast-message
func (*MessagingApiAPI) CancelDefaultRichMenu ¶
func (client *MessagingApiAPI) CancelDefaultRichMenu() (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu
func (*MessagingApiAPI) CancelDefaultRichMenuWithHttpInfo ¶
func (client *MessagingApiAPI) CancelDefaultRichMenuWithHttpInfo() (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#cancel-default-rich-menu
func (*MessagingApiAPI) CloseCoupon ¶ added in v8.14.2
func (client *MessagingApiAPI) CloseCoupon( couponId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon
func (*MessagingApiAPI) CloseCouponWithHttpInfo ¶ added in v8.14.2
func (client *MessagingApiAPI) CloseCouponWithHttpInfo( couponId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#discontinue-coupon
func (*MessagingApiAPI) CreateCoupon ¶ added in v8.14.2
func (client *MessagingApiAPI) CreateCoupon( couponCreateRequest *CouponCreateRequest, ) (*CouponCreateResponse, error)
https://developers.line.biz/en/reference/messaging-api/#create-coupon
func (*MessagingApiAPI) CreateCouponWithHttpInfo ¶ added in v8.14.2
func (client *MessagingApiAPI) CreateCouponWithHttpInfo( couponCreateRequest *CouponCreateRequest, ) (*http.Response, *CouponCreateResponse, error)
https://developers.line.biz/en/reference/messaging-api/#create-coupon
func (*MessagingApiAPI) CreateRichMenu ¶
func (client *MessagingApiAPI) CreateRichMenu( richMenuRequest *RichMenuRequest, ) (*RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#create-rich-menu
func (*MessagingApiAPI) CreateRichMenuAlias ¶
func (client *MessagingApiAPI) CreateRichMenuAlias( createRichMenuAliasRequest *CreateRichMenuAliasRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
func (*MessagingApiAPI) CreateRichMenuAliasWithHttpInfo ¶
func (client *MessagingApiAPI) CreateRichMenuAliasWithHttpInfo( createRichMenuAliasRequest *CreateRichMenuAliasRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#create-rich-menu-alias
func (*MessagingApiAPI) CreateRichMenuWithHttpInfo ¶
func (client *MessagingApiAPI) CreateRichMenuWithHttpInfo( richMenuRequest *RichMenuRequest, ) (*http.Response, *RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#create-rich-menu
func (*MessagingApiAPI) DeleteRichMenu ¶
func (client *MessagingApiAPI) DeleteRichMenu( richMenuId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu
func (*MessagingApiAPI) DeleteRichMenuAlias ¶
func (client *MessagingApiAPI) DeleteRichMenuAlias( richMenuAliasId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias
func (*MessagingApiAPI) DeleteRichMenuAliasWithHttpInfo ¶
func (client *MessagingApiAPI) DeleteRichMenuAliasWithHttpInfo( richMenuAliasId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu-alias
func (*MessagingApiAPI) DeleteRichMenuWithHttpInfo ¶
func (client *MessagingApiAPI) DeleteRichMenuWithHttpInfo( richMenuId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#delete-rich-menu
func (*MessagingApiAPI) GetAggregationUnitNameList ¶
func (client *MessagingApiAPI) GetAggregationUnitNameList( limit string, start string, ) (*GetAggregationUnitNameListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
func (*MessagingApiAPI) GetAggregationUnitNameListWithHttpInfo ¶
func (client *MessagingApiAPI) GetAggregationUnitNameListWithHttpInfo( limit string, start string, ) (*http.Response, *GetAggregationUnitNameListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-name-list-of-units-used-this-month
func (*MessagingApiAPI) GetAggregationUnitUsage ¶
func (client *MessagingApiAPI) GetAggregationUnitUsage() (*GetAggregationUnitUsageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
func (*MessagingApiAPI) GetAggregationUnitUsageWithHttpInfo ¶
func (client *MessagingApiAPI) GetAggregationUnitUsageWithHttpInfo() (*http.Response, *GetAggregationUnitUsageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-units-used-this-month
func (*MessagingApiAPI) GetBotInfo ¶
func (client *MessagingApiAPI) GetBotInfo() (*BotInfoResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-bot-info
func (*MessagingApiAPI) GetBotInfoWithHttpInfo ¶
func (client *MessagingApiAPI) GetBotInfoWithHttpInfo() (*http.Response, *BotInfoResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-bot-info
func (*MessagingApiAPI) GetCouponDetail ¶ added in v8.14.2
func (client *MessagingApiAPI) GetCouponDetail( couponId string, ) (*CouponResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-coupon
func (*MessagingApiAPI) GetCouponDetailWithHttpInfo ¶ added in v8.14.2
func (client *MessagingApiAPI) GetCouponDetailWithHttpInfo( couponId string, ) (*http.Response, *CouponResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-coupon
func (*MessagingApiAPI) GetDefaultRichMenuId ¶
func (client *MessagingApiAPI) GetDefaultRichMenuId() (*RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id
func (*MessagingApiAPI) GetDefaultRichMenuIdWithHttpInfo ¶
func (client *MessagingApiAPI) GetDefaultRichMenuIdWithHttpInfo() (*http.Response, *RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-default-rich-menu-id
func (*MessagingApiAPI) GetFollowers ¶
func (client *MessagingApiAPI) GetFollowers( start string, limit int32, ) (*GetFollowersResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
func (*MessagingApiAPI) GetFollowersWithHttpInfo ¶
func (client *MessagingApiAPI) GetFollowersWithHttpInfo( start string, limit int32, ) (*http.Response, *GetFollowersResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-follower-ids
func (*MessagingApiAPI) GetGroupMemberCount ¶
func (client *MessagingApiAPI) GetGroupMemberCount( groupId string, ) (*GroupMemberCountResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
func (*MessagingApiAPI) GetGroupMemberCountWithHttpInfo ¶
func (client *MessagingApiAPI) GetGroupMemberCountWithHttpInfo( groupId string, ) (*http.Response, *GroupMemberCountResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-members-group-count
func (*MessagingApiAPI) GetGroupMemberProfile ¶
func (client *MessagingApiAPI) GetGroupMemberProfile( groupId string, userId string, ) (*GroupUserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
func (*MessagingApiAPI) GetGroupMemberProfileWithHttpInfo ¶
func (client *MessagingApiAPI) GetGroupMemberProfileWithHttpInfo( groupId string, userId string, ) (*http.Response, *GroupUserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-member-profile
func (*MessagingApiAPI) GetGroupMembersIds ¶
func (client *MessagingApiAPI) GetGroupMembersIds( groupId string, start string, ) (*MembersIdsResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids
func (*MessagingApiAPI) GetGroupMembersIdsWithHttpInfo ¶
func (client *MessagingApiAPI) GetGroupMembersIdsWithHttpInfo( groupId string, start string, ) (*http.Response, *MembersIdsResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-member-user-ids
func (*MessagingApiAPI) GetGroupSummary ¶
func (client *MessagingApiAPI) GetGroupSummary( groupId string, ) (*GroupSummaryResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-summary
func (*MessagingApiAPI) GetGroupSummaryWithHttpInfo ¶
func (client *MessagingApiAPI) GetGroupSummaryWithHttpInfo( groupId string, ) (*http.Response, *GroupSummaryResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-group-summary
func (*MessagingApiAPI) GetJoinedMembershipUsers ¶ added in v8.12.0
func (client *MessagingApiAPI) GetJoinedMembershipUsers( membershipId int32, start string, limit int32, ) (*GetJoinedMembershipUsersResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
func (*MessagingApiAPI) GetJoinedMembershipUsersWithHttpInfo ¶ added in v8.12.0
func (client *MessagingApiAPI) GetJoinedMembershipUsersWithHttpInfo( membershipId int32, start string, limit int32, ) (*http.Response, *GetJoinedMembershipUsersResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids
func (*MessagingApiAPI) GetMembershipList ¶ added in v8.5.0
func (client *MessagingApiAPI) GetMembershipList() (*MembershipListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-membership-plans
func (*MessagingApiAPI) GetMembershipListWithHttpInfo ¶ added in v8.5.0
func (client *MessagingApiAPI) GetMembershipListWithHttpInfo() (*http.Response, *MembershipListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-membership-plans
func (*MessagingApiAPI) GetMembershipSubscription ¶ added in v8.5.0
func (client *MessagingApiAPI) GetMembershipSubscription( userId string, ) (*GetMembershipSubscriptionResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status
func (*MessagingApiAPI) GetMembershipSubscriptionWithHttpInfo ¶ added in v8.5.0
func (client *MessagingApiAPI) GetMembershipSubscriptionWithHttpInfo( userId string, ) (*http.Response, *GetMembershipSubscriptionResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-a-users-membership-subscription-status
func (*MessagingApiAPI) GetMessageQuota ¶
func (client *MessagingApiAPI) GetMessageQuota() (*MessageQuotaResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-quota
func (*MessagingApiAPI) GetMessageQuotaConsumption ¶
func (client *MessagingApiAPI) GetMessageQuotaConsumption() (*QuotaConsumptionResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-consumption
func (*MessagingApiAPI) GetMessageQuotaConsumptionWithHttpInfo ¶
func (client *MessagingApiAPI) GetMessageQuotaConsumptionWithHttpInfo() (*http.Response, *QuotaConsumptionResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-consumption
func (*MessagingApiAPI) GetMessageQuotaWithHttpInfo ¶
func (client *MessagingApiAPI) GetMessageQuotaWithHttpInfo() (*http.Response, *MessageQuotaResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-quota
func (*MessagingApiAPI) GetNarrowcastProgress ¶
func (client *MessagingApiAPI) GetNarrowcastProgress( requestId string, ) (*NarrowcastProgressResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
func (*MessagingApiAPI) GetNarrowcastProgressWithHttpInfo ¶
func (client *MessagingApiAPI) GetNarrowcastProgressWithHttpInfo( requestId string, ) (*http.Response, *NarrowcastProgressResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
func (*MessagingApiAPI) GetNumberOfSentBroadcastMessages ¶
func (client *MessagingApiAPI) GetNumberOfSentBroadcastMessages( date string, ) (*NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages
func (*MessagingApiAPI) GetNumberOfSentBroadcastMessagesWithHttpInfo ¶
func (client *MessagingApiAPI) GetNumberOfSentBroadcastMessagesWithHttpInfo( date string, ) (*http.Response, *NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-broadcast-messages
func (*MessagingApiAPI) GetNumberOfSentMulticastMessages ¶
func (client *MessagingApiAPI) GetNumberOfSentMulticastMessages( date string, ) (*NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages
func (*MessagingApiAPI) GetNumberOfSentMulticastMessagesWithHttpInfo ¶
func (client *MessagingApiAPI) GetNumberOfSentMulticastMessagesWithHttpInfo( date string, ) (*http.Response, *NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-multicast-messages
func (*MessagingApiAPI) GetNumberOfSentPushMessages ¶
func (client *MessagingApiAPI) GetNumberOfSentPushMessages( date string, ) (*NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages
func (*MessagingApiAPI) GetNumberOfSentPushMessagesWithHttpInfo ¶
func (client *MessagingApiAPI) GetNumberOfSentPushMessagesWithHttpInfo( date string, ) (*http.Response, *NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-push-messages
func (*MessagingApiAPI) GetNumberOfSentReplyMessages ¶
func (client *MessagingApiAPI) GetNumberOfSentReplyMessages( date string, ) (*NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages
func (*MessagingApiAPI) GetNumberOfSentReplyMessagesWithHttpInfo ¶
func (client *MessagingApiAPI) GetNumberOfSentReplyMessagesWithHttpInfo( date string, ) (*http.Response, *NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-number-of-reply-messages
func (*MessagingApiAPI) GetPNPMessageStatistics ¶
func (client *MessagingApiAPI) GetPNPMessageStatistics( date string, ) (*NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages
func (*MessagingApiAPI) GetPNPMessageStatisticsWithHttpInfo ¶
func (client *MessagingApiAPI) GetPNPMessageStatisticsWithHttpInfo( date string, ) (*http.Response, *NumberOfMessagesResponse, error)
https://developers.line.biz/en/reference/partner-docs/#get-number-of-sent-line-notification-messages
func (*MessagingApiAPI) GetProfile ¶
func (client *MessagingApiAPI) GetProfile( userId string, ) (*UserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-profile
func (*MessagingApiAPI) GetProfileWithHttpInfo ¶
func (client *MessagingApiAPI) GetProfileWithHttpInfo( userId string, ) (*http.Response, *UserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-profile
func (*MessagingApiAPI) GetRichMenu ¶
func (client *MessagingApiAPI) GetRichMenu( richMenuId string, ) (*RichMenuResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu
func (*MessagingApiAPI) GetRichMenuAlias ¶
func (client *MessagingApiAPI) GetRichMenuAlias( richMenuAliasId string, ) (*RichMenuAliasResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id
func (*MessagingApiAPI) GetRichMenuAliasList ¶
func (client *MessagingApiAPI) GetRichMenuAliasList() (*RichMenuAliasListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
func (*MessagingApiAPI) GetRichMenuAliasListWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuAliasListWithHttpInfo() (*http.Response, *RichMenuAliasListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
func (*MessagingApiAPI) GetRichMenuAliasWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuAliasWithHttpInfo( richMenuAliasId string, ) (*http.Response, *RichMenuAliasResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-by-id
func (*MessagingApiAPI) GetRichMenuBatchProgress ¶
func (client *MessagingApiAPI) GetRichMenuBatchProgress( requestId string, ) (*RichMenuBatchProgressResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status
func (*MessagingApiAPI) GetRichMenuBatchProgressWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuBatchProgressWithHttpInfo( requestId string, ) (*http.Response, *RichMenuBatchProgressResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status
func (*MessagingApiAPI) GetRichMenuIdOfUser ¶
func (client *MessagingApiAPI) GetRichMenuIdOfUser( userId string, ) (*RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user
func (*MessagingApiAPI) GetRichMenuIdOfUserWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuIdOfUserWithHttpInfo( userId string, ) (*http.Response, *RichMenuIdResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-id-of-user
func (*MessagingApiAPI) GetRichMenuList ¶
func (client *MessagingApiAPI) GetRichMenuList() (*RichMenuListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
func (*MessagingApiAPI) GetRichMenuListWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuListWithHttpInfo() (*http.Response, *RichMenuListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
func (*MessagingApiAPI) GetRichMenuWithHttpInfo ¶
func (client *MessagingApiAPI) GetRichMenuWithHttpInfo( richMenuId string, ) (*http.Response, *RichMenuResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-rich-menu
func (*MessagingApiAPI) GetRoomMemberCount ¶
func (client *MessagingApiAPI) GetRoomMemberCount( roomId string, ) (*RoomMemberCountResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
func (*MessagingApiAPI) GetRoomMemberCountWithHttpInfo ¶
func (client *MessagingApiAPI) GetRoomMemberCountWithHttpInfo( roomId string, ) (*http.Response, *RoomMemberCountResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
func (*MessagingApiAPI) GetRoomMemberProfile ¶
func (client *MessagingApiAPI) GetRoomMemberProfile( roomId string, userId string, ) (*RoomUserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
func (*MessagingApiAPI) GetRoomMemberProfileWithHttpInfo ¶
func (client *MessagingApiAPI) GetRoomMemberProfileWithHttpInfo( roomId string, userId string, ) (*http.Response, *RoomUserProfileResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
func (*MessagingApiAPI) GetRoomMembersIds ¶
func (client *MessagingApiAPI) GetRoomMembersIds( roomId string, start string, ) (*MembersIdsResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids
func (*MessagingApiAPI) GetRoomMembersIdsWithHttpInfo ¶
func (client *MessagingApiAPI) GetRoomMembersIdsWithHttpInfo( roomId string, start string, ) (*http.Response, *MembersIdsResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-room-member-user-ids
func (*MessagingApiAPI) GetWebhookEndpoint ¶
func (client *MessagingApiAPI) GetWebhookEndpoint() (*GetWebhookEndpointResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
func (*MessagingApiAPI) GetWebhookEndpointWithHttpInfo ¶
func (client *MessagingApiAPI) GetWebhookEndpointWithHttpInfo() (*http.Response, *GetWebhookEndpointResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-webhook-endpoint-information
func (*MessagingApiAPI) IssueLinkToken ¶
func (client *MessagingApiAPI) IssueLinkToken( userId string, ) (*IssueLinkTokenResponse, error)
https://developers.line.biz/en/reference/messaging-api/#issue-link-token
func (*MessagingApiAPI) IssueLinkTokenWithHttpInfo ¶
func (client *MessagingApiAPI) IssueLinkTokenWithHttpInfo( userId string, ) (*http.Response, *IssueLinkTokenResponse, error)
https://developers.line.biz/en/reference/messaging-api/#issue-link-token
func (*MessagingApiAPI) LeaveGroup ¶
func (client *MessagingApiAPI) LeaveGroup( groupId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#leave-group
func (*MessagingApiAPI) LeaveGroupWithHttpInfo ¶
func (client *MessagingApiAPI) LeaveGroupWithHttpInfo( groupId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#leave-group
func (*MessagingApiAPI) LeaveRoom ¶
func (client *MessagingApiAPI) LeaveRoom( roomId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#leave-room
func (*MessagingApiAPI) LeaveRoomWithHttpInfo ¶
func (client *MessagingApiAPI) LeaveRoomWithHttpInfo( roomId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#leave-room
func (*MessagingApiAPI) LinkRichMenuIdToUser ¶
func (client *MessagingApiAPI) LinkRichMenuIdToUser( userId string, richMenuId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user
func (*MessagingApiAPI) LinkRichMenuIdToUserWithHttpInfo ¶
func (client *MessagingApiAPI) LinkRichMenuIdToUserWithHttpInfo( userId string, richMenuId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-user
func (*MessagingApiAPI) LinkRichMenuIdToUsers ¶
func (client *MessagingApiAPI) LinkRichMenuIdToUsers( richMenuBulkLinkRequest *RichMenuBulkLinkRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
func (*MessagingApiAPI) LinkRichMenuIdToUsersWithHttpInfo ¶
func (client *MessagingApiAPI) LinkRichMenuIdToUsersWithHttpInfo( richMenuBulkLinkRequest *RichMenuBulkLinkRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
func (*MessagingApiAPI) ListCoupon ¶ added in v8.14.2
func (client *MessagingApiAPI) ListCoupon( status *[]string, start string, limit int32, ) (*MessagingApiPagerCouponListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-coupons-list
func (*MessagingApiAPI) ListCouponWithHttpInfo ¶ added in v8.14.2
func (client *MessagingApiAPI) ListCouponWithHttpInfo( status *[]string, start string, limit int32, ) (*http.Response, *MessagingApiPagerCouponListResponse, error)
https://developers.line.biz/en/reference/messaging-api/#get-coupons-list
func (*MessagingApiAPI) MarkMessagesAsRead ¶
func (client *MessagingApiAPI) MarkMessagesAsRead( markMessagesAsReadRequest *MarkMessagesAsReadRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
func (*MessagingApiAPI) MarkMessagesAsReadWithHttpInfo ¶
func (client *MessagingApiAPI) MarkMessagesAsReadWithHttpInfo( markMessagesAsReadRequest *MarkMessagesAsReadRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/partner-docs/#mark-messages-from-users-as-read
func (*MessagingApiAPI) Multicast ¶
func (client *MessagingApiAPI) Multicast( multicastRequest *MulticastRequest, xLineRetryKey string, ) (*map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
func (*MessagingApiAPI) MulticastWithHttpInfo ¶
func (client *MessagingApiAPI) MulticastWithHttpInfo( multicastRequest *MulticastRequest, xLineRetryKey string, ) (*http.Response, *map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
func (*MessagingApiAPI) Narrowcast ¶
func (client *MessagingApiAPI) Narrowcast( narrowcastRequest *NarrowcastRequest, xLineRetryKey string, ) (*map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
func (*MessagingApiAPI) NarrowcastWithHttpInfo ¶
func (client *MessagingApiAPI) NarrowcastWithHttpInfo( narrowcastRequest *NarrowcastRequest, xLineRetryKey string, ) (*http.Response, *map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
func (*MessagingApiAPI) PushMessage ¶
func (client *MessagingApiAPI) PushMessage( pushMessageRequest *PushMessageRequest, xLineRetryKey string, ) (*PushMessageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#send-push-message
func (*MessagingApiAPI) PushMessageWithHttpInfo ¶
func (client *MessagingApiAPI) PushMessageWithHttpInfo( pushMessageRequest *PushMessageRequest, xLineRetryKey string, ) (*http.Response, *PushMessageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#send-push-message
func (*MessagingApiAPI) PushMessagesByPhone ¶
func (client *MessagingApiAPI) PushMessagesByPhone( pnpMessagesRequest *PnpMessagesRequest, xLineDeliveryTag string, ) (struct{}, error)
https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
func (*MessagingApiAPI) PushMessagesByPhoneWithHttpInfo ¶
func (client *MessagingApiAPI) PushMessagesByPhoneWithHttpInfo( pnpMessagesRequest *PnpMessagesRequest, xLineDeliveryTag string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
func (*MessagingApiAPI) ReplyMessage ¶
func (client *MessagingApiAPI) ReplyMessage( replyMessageRequest *ReplyMessageRequest, ) (*ReplyMessageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#send-reply-message
func (*MessagingApiAPI) ReplyMessageWithHttpInfo ¶
func (client *MessagingApiAPI) ReplyMessageWithHttpInfo( replyMessageRequest *ReplyMessageRequest, ) (*http.Response, *ReplyMessageResponse, error)
https://developers.line.biz/en/reference/messaging-api/#send-reply-message
func (*MessagingApiAPI) RichMenuBatch ¶
func (client *MessagingApiAPI) RichMenuBatch( richMenuBatchRequest *RichMenuBatchRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users
func (*MessagingApiAPI) RichMenuBatchWithHttpInfo ¶
func (client *MessagingApiAPI) RichMenuBatchWithHttpInfo( richMenuBatchRequest *RichMenuBatchRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users
func (*MessagingApiAPI) SetDefaultRichMenu ¶
func (client *MessagingApiAPI) SetDefaultRichMenu( richMenuId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu
func (*MessagingApiAPI) SetDefaultRichMenuWithHttpInfo ¶
func (client *MessagingApiAPI) SetDefaultRichMenuWithHttpInfo( richMenuId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#set-default-rich-menu
func (*MessagingApiAPI) SetWebhookEndpoint ¶
func (client *MessagingApiAPI) SetWebhookEndpoint( setWebhookEndpointRequest *SetWebhookEndpointRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
func (*MessagingApiAPI) SetWebhookEndpointWithHttpInfo ¶
func (client *MessagingApiAPI) SetWebhookEndpointWithHttpInfo( setWebhookEndpointRequest *SetWebhookEndpointRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
func (*MessagingApiAPI) ShowLoadingAnimation ¶ added in v8.6.0
func (client *MessagingApiAPI) ShowLoadingAnimation( showLoadingAnimationRequest *ShowLoadingAnimationRequest, ) (*map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator
func (*MessagingApiAPI) ShowLoadingAnimationWithHttpInfo ¶ added in v8.6.0
func (client *MessagingApiAPI) ShowLoadingAnimationWithHttpInfo( showLoadingAnimationRequest *ShowLoadingAnimationRequest, ) (*http.Response, *map[string]interface{}, error)
https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator
func (*MessagingApiAPI) TestWebhookEndpoint ¶
func (client *MessagingApiAPI) TestWebhookEndpoint( testWebhookEndpointRequest *TestWebhookEndpointRequest, ) (*TestWebhookEndpointResponse, error)
https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
func (*MessagingApiAPI) TestWebhookEndpointWithHttpInfo ¶
func (client *MessagingApiAPI) TestWebhookEndpointWithHttpInfo( testWebhookEndpointRequest *TestWebhookEndpointRequest, ) (*http.Response, *TestWebhookEndpointResponse, error)
https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
func (*MessagingApiAPI) UnlinkRichMenuIdFromUser ¶
func (client *MessagingApiAPI) UnlinkRichMenuIdFromUser( userId string, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user
func (*MessagingApiAPI) UnlinkRichMenuIdFromUserWithHttpInfo ¶
func (client *MessagingApiAPI) UnlinkRichMenuIdFromUserWithHttpInfo( userId string, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-user
func (*MessagingApiAPI) UnlinkRichMenuIdFromUsers ¶
func (client *MessagingApiAPI) UnlinkRichMenuIdFromUsers( richMenuBulkUnlinkRequest *RichMenuBulkUnlinkRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
func (*MessagingApiAPI) UnlinkRichMenuIdFromUsersWithHttpInfo ¶
func (client *MessagingApiAPI) UnlinkRichMenuIdFromUsersWithHttpInfo( richMenuBulkUnlinkRequest *RichMenuBulkUnlinkRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
func (*MessagingApiAPI) UpdateRichMenuAlias ¶
func (client *MessagingApiAPI) UpdateRichMenuAlias( richMenuAliasId string, updateRichMenuAliasRequest *UpdateRichMenuAliasRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
func (*MessagingApiAPI) UpdateRichMenuAliasWithHttpInfo ¶
func (client *MessagingApiAPI) UpdateRichMenuAliasWithHttpInfo( richMenuAliasId string, updateRichMenuAliasRequest *UpdateRichMenuAliasRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
func (*MessagingApiAPI) Url ¶
func (client *MessagingApiAPI) Url(endpointPath string) string
func (*MessagingApiAPI) ValidateBroadcast ¶
func (client *MessagingApiAPI) ValidateBroadcast( validateMessageRequest *ValidateMessageRequest, ) (struct{}, error)
func (*MessagingApiAPI) ValidateBroadcastWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateBroadcastWithHttpInfo( validateMessageRequest *ValidateMessageRequest, ) (*http.Response, struct{}, error)
func (*MessagingApiAPI) ValidateMulticast ¶
func (client *MessagingApiAPI) ValidateMulticast( validateMessageRequest *ValidateMessageRequest, ) (struct{}, error)
func (*MessagingApiAPI) ValidateMulticastWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateMulticastWithHttpInfo( validateMessageRequest *ValidateMessageRequest, ) (*http.Response, struct{}, error)
func (*MessagingApiAPI) ValidateNarrowcast ¶
func (client *MessagingApiAPI) ValidateNarrowcast( validateMessageRequest *ValidateMessageRequest, ) (struct{}, error)
func (*MessagingApiAPI) ValidateNarrowcastWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateNarrowcastWithHttpInfo( validateMessageRequest *ValidateMessageRequest, ) (*http.Response, struct{}, error)
func (*MessagingApiAPI) ValidatePush ¶
func (client *MessagingApiAPI) ValidatePush( validateMessageRequest *ValidateMessageRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message
func (*MessagingApiAPI) ValidatePushWithHttpInfo ¶
func (client *MessagingApiAPI) ValidatePushWithHttpInfo( validateMessageRequest *ValidateMessageRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-push-message
func (*MessagingApiAPI) ValidateReply ¶
func (client *MessagingApiAPI) ValidateReply( validateMessageRequest *ValidateMessageRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message
func (*MessagingApiAPI) ValidateReplyWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateReplyWithHttpInfo( validateMessageRequest *ValidateMessageRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-message-objects-of-reply-message
func (*MessagingApiAPI) ValidateRichMenuBatchRequest ¶
func (client *MessagingApiAPI) ValidateRichMenuBatchRequest( richMenuBatchRequest *RichMenuBatchRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request
func (*MessagingApiAPI) ValidateRichMenuBatchRequestWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateRichMenuBatchRequestWithHttpInfo( richMenuBatchRequest *RichMenuBatchRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-batch-control-rich-menus-request
func (*MessagingApiAPI) ValidateRichMenuObject ¶
func (client *MessagingApiAPI) ValidateRichMenuObject( richMenuRequest *RichMenuRequest, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object
func (*MessagingApiAPI) ValidateRichMenuObjectWithHttpInfo ¶
func (client *MessagingApiAPI) ValidateRichMenuObjectWithHttpInfo( richMenuRequest *RichMenuRequest, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#validate-rich-menu-object
func (*MessagingApiAPI) WithContext ¶
func (call *MessagingApiAPI) WithContext(ctx context.Context) *MessagingApiAPI
WithContext method
type MessagingApiAPIOption ¶
type MessagingApiAPIOption func(*MessagingApiAPI) error
MessagingApiAPIOption type
func WithHTTPClient ¶
func WithHTTPClient(c *http.Client) MessagingApiAPIOption
WithHTTPClient function
type MessagingApiBlobAPI ¶
type MessagingApiBlobAPI struct {
// contains filtered or unexported fields
}
func NewMessagingApiBlobAPI ¶
func NewMessagingApiBlobAPI(channelToken string, options ...MessagingApiBlobAPIOption) (*MessagingApiBlobAPI, error)
New returns a new bot client instance.
func (*MessagingApiBlobAPI) GetMessageContent ¶
func (client *MessagingApiBlobAPI) GetMessageContent( messageId string, ) (*http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#get-content
func (*MessagingApiBlobAPI) GetMessageContentPreview ¶
func (client *MessagingApiBlobAPI) GetMessageContentPreview( messageId string, ) (*http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview
func (*MessagingApiBlobAPI) GetMessageContentPreviewWithHttpInfo ¶
func (client *MessagingApiBlobAPI) GetMessageContentPreviewWithHttpInfo( messageId string, ) (*http.Response, *http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#get-image-or-video-preview
func (*MessagingApiBlobAPI) GetMessageContentTranscodingByMessageId ¶
func (client *MessagingApiBlobAPI) GetMessageContentTranscodingByMessageId( messageId string, ) (*GetMessageContentTranscodingResponse, error)
https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status
func (*MessagingApiBlobAPI) GetMessageContentTranscodingByMessageIdWithHttpInfo ¶
func (client *MessagingApiBlobAPI) GetMessageContentTranscodingByMessageIdWithHttpInfo( messageId string, ) (*http.Response, *GetMessageContentTranscodingResponse, error)
https://developers.line.biz/en/reference/messaging-api/#verify-video-or-audio-preparation-status
func (*MessagingApiBlobAPI) GetMessageContentWithHttpInfo ¶
func (client *MessagingApiBlobAPI) GetMessageContentWithHttpInfo( messageId string, ) (*http.Response, *http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#get-content
func (*MessagingApiBlobAPI) GetRichMenuImage ¶
func (client *MessagingApiBlobAPI) GetRichMenuImage( richMenuId string, ) (*http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image
func (*MessagingApiBlobAPI) GetRichMenuImageWithHttpInfo ¶
func (client *MessagingApiBlobAPI) GetRichMenuImageWithHttpInfo( richMenuId string, ) (*http.Response, *http.Response, error)
You must close the response body when finished with it. https://developers.line.biz/en/reference/messaging-api/#download-rich-menu-image
func (*MessagingApiBlobAPI) SetRichMenuImage ¶
func (client *MessagingApiBlobAPI) SetRichMenuImage( richMenuId string, bodyContentType string, bodyReader io.Reader, ) (struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
func (*MessagingApiBlobAPI) SetRichMenuImageWithHttpInfo ¶
func (client *MessagingApiBlobAPI) SetRichMenuImageWithHttpInfo( richMenuId string, bodyContentType string, bodyReader io.Reader, ) (*http.Response, struct{}, error)
https://developers.line.biz/en/reference/messaging-api/#upload-rich-menu-image
func (*MessagingApiBlobAPI) Url ¶
func (client *MessagingApiBlobAPI) Url(endpointPath string) string
func (*MessagingApiBlobAPI) WithContext ¶
func (call *MessagingApiBlobAPI) WithContext(ctx context.Context) *MessagingApiBlobAPI
WithContext method
type MessagingApiBlobAPIOption ¶
type MessagingApiBlobAPIOption func(*MessagingApiBlobAPI) error
MessagingApiBlobAPIOption type
func WithBlobEndpoint ¶
func WithBlobEndpoint(endpoint string) MessagingApiBlobAPIOption
WithBlobEndpoint function
func WithBlobHTTPClient ¶
func WithBlobHTTPClient(c *http.Client) MessagingApiBlobAPIOption
WithBlobHTTPClient function
type MessagingApiPagerCouponListResponse ¶ added in v8.14.2
type MessagingApiPagerCouponListResponse struct { /** * List of coupon summary objects. (Required) */ Items []CouponListResponse `json:"items"` /** * Token for fetching the next page of results. */ Next string `json:"next,omitempty"` }
type MulticastRequest ¶
type MulticastRequest struct { /** * Messages to send (Required) */ Messages []MessageInterface `json:"messages"` /** * Array of user IDs. Use userId values which are returned in webhook event objects. Do not use LINE IDs found on LINE. (Required) */ To []string `json:"to"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` /** * Name of aggregation unit. Case-sensitive. */ CustomAggregationUnits []string `json:"customAggregationUnits"` }
MulticastRequest MulticastRequest https://developers.line.biz/en/reference/messaging-api/#send-multicast-message
func (*MulticastRequest) MarshalJSON ¶
func (r *MulticastRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the MulticastRequest struct.
func (*MulticastRequest) UnmarshalJSON ¶
func (cr *MulticastRequest) UnmarshalJSON(data []byte) error
type NarrowcastProgressResponse ¶
type NarrowcastProgressResponse struct { /** * The current status. One of: `waiting`: Messages are not yet ready to be sent. They are currently being filtered or processed in some way. `sending`: Messages are currently being sent. `succeeded`: Messages were sent successfully. This may not mean the messages were successfully received. `failed`: Messages failed to be sent. Use the failedDescription property to find the cause of the failure. (Required) */ Phase NarrowcastProgressResponsePHASE `json:"phase"` /** * The number of users who successfully received the message. */ SuccessCount int64 `json:"successCount"` /** * The number of users who failed to send the message. */ FailureCount int64 `json:"failureCount"` /** * The number of intended recipients of the message. */ TargetCount int64 `json:"targetCount"` /** * The reason the message failed to be sent. This is only included with a `phase` property value of `failed`. */ FailedDescription string `json:"failedDescription,omitempty"` /** * Error summary. This is only included with a phase property value of failed. One of: `1`: An internal error occurred. `2`: An error occurred because there weren't enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried. `4`: An audience of less than 50 recipients is included as a condition of sending. */ ErrorCode int64 `json:"errorCode"` /** * Narrowcast message request accepted time in milliseconds. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC (Required) */ AcceptedTime time.Time `json:"acceptedTime"` /** * Processing of narrowcast message request completion time in milliseconds. Returned when the phase property is succeeded or failed. Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z) Timezone: UTC */ CompletedTime time.Time `json:"completedTime,omitempty"` }
NarrowcastProgressResponse NarrowcastProgressResponse https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
type NarrowcastProgressResponsePHASE ¶
type NarrowcastProgressResponsePHASE string
NarrowcastProgressResponsePHASE type
The current status. One of: `waiting`: Messages are not yet ready to be sent. They are currently being filtered or processed in some way. `sending`: Messages are currently being sent. `succeeded`: Messages were sent successfully. This may not mean the messages were successfully received. `failed`: Messages failed to be sent. Use the failedDescription property to find the cause of the failure.
const ( NarrowcastProgressResponsePHASE_WAITING NarrowcastProgressResponsePHASE = "waiting" NarrowcastProgressResponsePHASE_SENDING NarrowcastProgressResponsePHASE = "sending" NarrowcastProgressResponsePHASE_SUCCEEDED NarrowcastProgressResponsePHASE = "succeeded" NarrowcastProgressResponsePHASE_FAILED NarrowcastProgressResponsePHASE = "failed" )
NarrowcastProgressResponsePHASE constants
type NarrowcastRequest ¶
type NarrowcastRequest struct { /** * List of Message objects. (Required) */ Messages []MessageInterface `json:"messages"` /** * Get Recipient */ Recipient RecipientInterface `json:"recipient,omitempty"` /** * Get Filter */ Filter *Filter `json:"filter,omitempty"` /** * Get Limit */ Limit *Limit `json:"limit,omitempty"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` }
NarrowcastRequest NarrowcastRequest https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message
func (*NarrowcastRequest) MarshalJSON ¶
func (r *NarrowcastRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the NarrowcastRequest struct.
func (*NarrowcastRequest) UnmarshalJSON ¶
func (cr *NarrowcastRequest) UnmarshalJSON(data []byte) error
type NormalAcquisitionConditionRequest ¶ added in v8.14.2
type NormalAcquisitionConditionRequest struct {
AcquisitionConditionRequest
}
func (*NormalAcquisitionConditionRequest) MarshalJSON ¶ added in v8.14.2
func (r *NormalAcquisitionConditionRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the NormalAcquisitionConditionRequest struct.
type NormalAcquisitionConditionResponse ¶ added in v8.14.2
type NormalAcquisitionConditionResponse struct {
AcquisitionConditionResponse
}
func (*NormalAcquisitionConditionResponse) MarshalJSON ¶ added in v8.14.2
func (r *NormalAcquisitionConditionResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the NormalAcquisitionConditionResponse struct.
type NumberOfMessagesResponse ¶
type NumberOfMessagesResponse struct { /** * Aggregation process status. One of: `ready`: The number of messages can be obtained. `unready`: We haven't finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day. `unavailable_for_privacy`: The total number of messages on the specified day is less than 20. `out_of_service`: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018). (Required) */ Status NumberOfMessagesResponseSTATUS `json:"status"` /** * The number of messages delivered using the phone number on the date specified in `date`. The response has this property only when the value of `status` is `ready`. */ Success int64 `json:"success"` }
type NumberOfMessagesResponseSTATUS ¶
type NumberOfMessagesResponseSTATUS string
NumberOfMessagesResponseSTATUS type
Aggregation process status. One of: `ready`: The number of messages can be obtained. `unready`: We haven't finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day. `unavailable_for_privacy`: The total number of messages on the specified day is less than 20. `out_of_service`: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018).
const ( NumberOfMessagesResponseSTATUS_READY NumberOfMessagesResponseSTATUS = "ready" NumberOfMessagesResponseSTATUS_UNREADY NumberOfMessagesResponseSTATUS = "unready" NumberOfMessagesResponseSTATUS_UNAVAILABLE_FOR_PRIVACY NumberOfMessagesResponseSTATUS = "unavailable_for_privacy" NumberOfMessagesResponseSTATUS_OUT_OF_SERVICE NumberOfMessagesResponseSTATUS = "out_of_service" )
NumberOfMessagesResponseSTATUS constants
type OperatorDemographicFilter ¶
type OperatorDemographicFilter struct { DemographicFilter /** * Get And */ And []DemographicFilterInterface `json:"and,omitempty"` /** * Get Or */ Or []DemographicFilterInterface `json:"or,omitempty"` /** * Get Not */ Not DemographicFilterInterface `json:"not,omitempty"` }
func (*OperatorDemographicFilter) MarshalJSON ¶
func (r *OperatorDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the OperatorDemographicFilter struct.
func (*OperatorDemographicFilter) UnmarshalJSON ¶
func (cr *OperatorDemographicFilter) UnmarshalJSON(data []byte) error
type OperatorRecipient ¶
type OperatorRecipient struct { Recipient /** * Create a new recipient object by taking the logical conjunction (AND) of the specified array of recipient objects. */ And []RecipientInterface `json:"and,omitempty"` /** * Create a new recipient object by taking the logical disjunction (OR) of the specified array of recipient objects. */ Or []RecipientInterface `json:"or,omitempty"` /** * Get Not */ Not RecipientInterface `json:"not,omitempty"` }
func (*OperatorRecipient) MarshalJSON ¶
func (r *OperatorRecipient) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the OperatorRecipient struct.
func (*OperatorRecipient) UnmarshalJSON ¶
func (cr *OperatorRecipient) UnmarshalJSON(data []byte) error
type PnpMessagesRequest ¶
type PnpMessagesRequest struct { /** * Message to be sent. (Required) */ Messages []MessageInterface `json:"messages"` /** * Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256. (Required) */ To string `json:"to"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` }
PnpMessagesRequest PnpMessagesRequest https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message
func (*PnpMessagesRequest) MarshalJSON ¶
func (r *PnpMessagesRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the PnpMessagesRequest struct.
func (*PnpMessagesRequest) UnmarshalJSON ¶
func (cr *PnpMessagesRequest) UnmarshalJSON(data []byte) error
type PostbackAction ¶
type PostbackAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Get Data */ Data string `json:"data,omitempty"` /** * Get DisplayText */ DisplayText string `json:"displayText,omitempty"` /** * Get Text */ Text string `json:"text,omitempty"` /** * Get InputOption */ InputOption PostbackActionINPUT_OPTION `json:"inputOption,omitempty"` /** * Get FillInText */ FillInText string `json:"fillInText,omitempty"` }
func (*PostbackAction) MarshalJSON ¶
func (r *PostbackAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the PostbackAction struct.
type PostbackActionINPUT_OPTION ¶
type PostbackActionINPUT_OPTION string
const ( PostbackActionINPUT_OPTION_CLOSE_RICH_MENU PostbackActionINPUT_OPTION = "closeRichMenu" PostbackActionINPUT_OPTION_OPEN_RICH_MENU PostbackActionINPUT_OPTION = "openRichMenu" PostbackActionINPUT_OPTION_OPEN_KEYBOARD PostbackActionINPUT_OPTION = "openKeyboard" PostbackActionINPUT_OPTION_OPEN_VOICE PostbackActionINPUT_OPTION = "openVoice" )
PostbackActionINPUT_OPTION constants
type PushMessageRequest ¶
type PushMessageRequest struct { /** * ID of the receiver. (Required) */ To string `json:"to"` /** * List of Message objects. (Required) */ Messages []MessageInterface `json:"messages"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` /** * List of aggregation unit name. Case-sensitive. This functions can only be used by corporate users who have submitted the required applications. */ CustomAggregationUnits []string `json:"customAggregationUnits"` }
PushMessageRequest PushMessageRequest https://developers.line.biz/en/reference/messaging-api/#send-push-message
func (*PushMessageRequest) MarshalJSON ¶
func (r *PushMessageRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the PushMessageRequest struct.
func (*PushMessageRequest) UnmarshalJSON ¶
func (cr *PushMessageRequest) UnmarshalJSON(data []byte) error
type PushMessageResponse ¶
type PushMessageResponse struct { /** * Array of sent messages. (Required) */ SentMessages []SentMessage `json:"sentMessages"` }
PushMessageResponse PushMessageResponse https://developers.line.biz/en/reference/messaging-api/#send-push-message-response
type QuickReply ¶
type QuickReply struct { /** * Quick reply button objects. */ Items []QuickReplyItem `json:"items,omitempty"` }
QuickReply Quick reply https://developers.line.biz/en/reference/messaging-api/#items-object
type QuickReplyItem ¶
type QuickReplyItem struct { /** * URL of the icon that is displayed at the beginning of the button */ ImageUrl string `json:"imageUrl,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` /** * `action` */ Type string `json:"type,omitempty"` }
QuickReplyItem QuickReplyItem https://developers.line.biz/en/reference/messaging-api/#items-object
func (*QuickReplyItem) MarshalJSON ¶
func (r *QuickReplyItem) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the QuickReplyItem struct.
func (*QuickReplyItem) UnmarshalJSON ¶
func (cr *QuickReplyItem) UnmarshalJSON(data []byte) error
type QuotaConsumptionResponse ¶
type QuotaConsumptionResponse struct { /** * The number of sent messages in the current month (Required) */ TotalUsage int64 `json:"totalUsage"` }
QuotaConsumptionResponse QuotaConsumptionResponse https://developers.line.biz/en/reference/messaging-api/#get-consumption
type RecipientInterface ¶
type RecipientInterface interface {
GetType() string
}
func UnmarshalRecipient ¶
func UnmarshalRecipient(data []byte) (RecipientInterface, error)
type RedeliveryRecipient ¶
type RedeliveryRecipient struct { Recipient /** * Get RequestId */ RequestId string `json:"requestId,omitempty"` }
func (*RedeliveryRecipient) MarshalJSON ¶
func (r *RedeliveryRecipient) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RedeliveryRecipient struct.
type ReferralAcquisitionConditionResponse ¶ added in v8.14.2
type ReferralAcquisitionConditionResponse struct {
AcquisitionConditionResponse
}
func (*ReferralAcquisitionConditionResponse) MarshalJSON ¶ added in v8.14.2
func (r *ReferralAcquisitionConditionResponse) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ReferralAcquisitionConditionResponse struct.
type ReplyMessageRequest ¶
type ReplyMessageRequest struct { /** * replyToken received via webhook. (Required) */ ReplyToken string `json:"replyToken"` /** * List of messages. (Required) */ Messages []MessageInterface `json:"messages"` /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. */ NotificationDisabled bool `json:"notificationDisabled"` }
ReplyMessageRequest ReplyMessageRequest https://developers.line.biz/en/reference/messaging-api/#send-reply-message
func (*ReplyMessageRequest) MarshalJSON ¶
func (r *ReplyMessageRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ReplyMessageRequest struct.
func (*ReplyMessageRequest) UnmarshalJSON ¶
func (cr *ReplyMessageRequest) UnmarshalJSON(data []byte) error
type ReplyMessageResponse ¶
type ReplyMessageResponse struct { /** * Array of sent messages. (Required) */ SentMessages []SentMessage `json:"sentMessages"` }
ReplyMessageResponse ReplyMessageResponse https://developers.line.biz/en/reference/messaging-api/#send-reply-message-response
type RichMenuAliasListResponse ¶
type RichMenuAliasListResponse struct { /** * Rich menu aliases. (Required) */ Aliases []RichMenuAliasResponse `json:"aliases"` }
RichMenuAliasListResponse RichMenuAliasListResponse https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-alias-list
type RichMenuAliasResponse ¶
type RichMenuArea ¶
type RichMenuArea struct { /** * Get Bounds */ Bounds *RichMenuBounds `json:"bounds,omitempty"` /** * Get Action */ Action ActionInterface `json:"action,omitempty"` }
func (*RichMenuArea) MarshalJSON ¶
func (r *RichMenuArea) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuArea struct.
func (*RichMenuArea) UnmarshalJSON ¶
func (cr *RichMenuArea) UnmarshalJSON(data []byte) error
type RichMenuBatchLinkOperation ¶
type RichMenuBatchLinkOperation struct { RichMenuBatchOperation /** * Get From */ From string `json:"from"` /** * Get To */ To string `json:"to"` }
func (*RichMenuBatchLinkOperation) MarshalJSON ¶
func (r *RichMenuBatchLinkOperation) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuBatchLinkOperation struct.
type RichMenuBatchOperation ¶
type RichMenuBatchOperation struct {
Type string `json:"type"`
}
func (RichMenuBatchOperation) GetType ¶
func (e RichMenuBatchOperation) GetType() string
type RichMenuBatchOperationInterface ¶
type RichMenuBatchOperationInterface interface {
GetType() string
}
func UnmarshalRichMenuBatchOperation ¶
func UnmarshalRichMenuBatchOperation(data []byte) (RichMenuBatchOperationInterface, error)
type RichMenuBatchProgressPhase ¶
type RichMenuBatchProgressPhase string
RichMenuBatchProgressPhase type
const ( RichMenuBatchProgressPhase_ONGOING RichMenuBatchProgressPhase = "ongoing" RichMenuBatchProgressPhase_SUCCEEDED RichMenuBatchProgressPhase = "succeeded" RichMenuBatchProgressPhase_FAILED RichMenuBatchProgressPhase = "failed" )
RichMenuBatchProgressPhase constants
type RichMenuBatchProgressResponse ¶
type RichMenuBatchProgressResponse struct { /** * Get Phase */ Phase RichMenuBatchProgressPhase `json:"phase"` /** * The accepted time in milliseconds of the request of batch control the rich menu. Format: ISO 8601 (e.g. 2023-06-08T10:15:30.121Z) Timezone: UTC (Required) */ AcceptedTime time.Time `json:"acceptedTime"` /** * The completed time in milliseconds of rich menu batch control. Returned when the phase property is succeeded or failed. Format: ISO 8601 (e.g. 2023-06-08T10:15:30.121Z) Timezone: UTC */ CompletedTime time.Time `json:"completedTime,omitempty"` }
RichMenuBatchProgressResponse RichMenuBatchProgressResponse https://developers.line.biz/en/reference/messaging-api/#get-batch-control-rich-menus-progress-status-response
type RichMenuBatchRequest ¶
type RichMenuBatchRequest struct { /** * Array of Rich menu operation object... (Required) */ Operations []RichMenuBatchOperationInterface `json:"operations"` /** * Key for retry. Key value is a string matching the regular expression pattern */ ResumeRequestKey string `json:"resumeRequestKey,omitempty"` }
func (*RichMenuBatchRequest) MarshalJSON ¶
func (r *RichMenuBatchRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuBatchRequest struct.
func (*RichMenuBatchRequest) UnmarshalJSON ¶
func (cr *RichMenuBatchRequest) UnmarshalJSON(data []byte) error
type RichMenuBatchUnlinkAllOperation ¶
type RichMenuBatchUnlinkAllOperation struct {
RichMenuBatchOperation
}
func (*RichMenuBatchUnlinkAllOperation) MarshalJSON ¶
func (r *RichMenuBatchUnlinkAllOperation) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuBatchUnlinkAllOperation struct.
type RichMenuBatchUnlinkOperation ¶
type RichMenuBatchUnlinkOperation struct { RichMenuBatchOperation /** * Get From */ From string `json:"from"` }
func (*RichMenuBatchUnlinkOperation) MarshalJSON ¶
func (r *RichMenuBatchUnlinkOperation) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuBatchUnlinkOperation struct.
type RichMenuBounds ¶
type RichMenuBounds struct { /** * Horizontal position relative to the top-left corner of the area. * minimum: 0 * maximum: 2147483647 */ X int64 `json:"x"` /** * Vertical position relative to the top-left corner of the area. * minimum: 0 * maximum: 2147483647 */ Y int64 `json:"y"` /** * Width of the area. * minimum: 1 * maximum: 2147483647 */ Width int64 `json:"width"` /** * Height of the area. * minimum: 1 * maximum: 2147483647 */ Height int64 `json:"height"` }
RichMenuBounds Rich menu bounds https://developers.line.biz/en/reference/messaging-api/#bounds-object
type RichMenuBulkLinkRequest ¶
type RichMenuBulkLinkRequest struct { /** * ID of a rich menu (Required) */ RichMenuId string `json:"richMenuId"` /** * Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (Required) */ UserIds []string `json:"userIds"` }
RichMenuBulkLinkRequest RichMenuBulkLinkRequest https://developers.line.biz/en/reference/messaging-api/#link-rich-menu-to-users
type RichMenuBulkUnlinkRequest ¶
type RichMenuBulkUnlinkRequest struct { /** * Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE. (Required) */ UserIds []string `json:"userIds"` }
RichMenuBulkUnlinkRequest RichMenuBulkUnlinkRequest https://developers.line.biz/en/reference/messaging-api/#unlink-rich-menu-from-users
type RichMenuIdResponse ¶
type RichMenuIdResponse struct { /** * Rich menu ID (Required) */ RichMenuId string `json:"richMenuId"` }
type RichMenuListResponse ¶
type RichMenuListResponse struct { RichMenuResponse `json:"richmenus"` }Richmenus []
RichMenuListResponse RichMenuListResponse https://developers.line.biz/en/reference/messaging-api/#get-rich-menu-list
type RichMenuRequest ¶
type RichMenuRequest struct { /** * Get Size */ Size *RichMenuSize `json:"size,omitempty"` /** * `true` to display the rich menu by default. Otherwise, `false`. */ Selected bool `json:"selected"` /** * Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users. */ Name string `json:"name,omitempty"` /** * Text displayed in the chat bar */ ChatBarText string `json:"chatBarText,omitempty"` /** * Array of area objects which define the coordinates and size of tappable areas */ Areas []RichMenuArea `json:"areas,omitempty"` }
type RichMenuResponse ¶
type RichMenuResponse struct { /** * ID of a rich menu (Required) */ RichMenuId string `json:"richMenuId"` /** * Get Size */ Size *RichMenuSize `json:"size"` /** * `true` to display the rich menu by default. Otherwise, `false`. (Required) */ Selected bool `json:"selected"` /** * Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users. (Required) */ Name string `json:"name"` /** * Text displayed in the chat bar (Required) */ ChatBarText string `json:"chatBarText"` /** * Array of area objects which define the coordinates and size of tappable areas (Required) */ Areas []RichMenuArea `json:"areas"` }
type RichMenuSize ¶
type RichMenuSwitchAction ¶
type RichMenuSwitchAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Get Data */ Data string `json:"data,omitempty"` /** * Get RichMenuAliasId */ RichMenuAliasId string `json:"richMenuAliasId,omitempty"` }
func (*RichMenuSwitchAction) MarshalJSON ¶
func (r *RichMenuSwitchAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the RichMenuSwitchAction struct.
type RoomMemberCountResponse ¶
type RoomMemberCountResponse struct { /** * The count of members in the multi-person chat. The number returned excludes the LINE Official Account. (Required) */ Count int32 `json:"count"` }
RoomMemberCountResponse RoomMemberCountResponse https://developers.line.biz/en/reference/messaging-api/#get-members-room-count
type RoomUserProfileResponse ¶
type RoomUserProfileResponse struct { /** * User's display name (Required) */ DisplayName string `json:"displayName"` /** * User ID (Required) */ UserId string `json:"userId"` /** * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image. */ PictureUrl string `json:"pictureUrl,omitempty"` }
RoomUserProfileResponse RoomUserProfileResponse https://developers.line.biz/en/reference/messaging-api/#get-room-member-profile
type SentMessage ¶
type SetWebhookEndpointRequest ¶
type SetWebhookEndpointRequest struct { /** * A valid webhook URL. (Required) */ Endpoint string `json:"endpoint"` }
SetWebhookEndpointRequest SetWebhookEndpointRequest https://developers.line.biz/en/reference/messaging-api/#set-webhook-endpoint-url
type ShowLoadingAnimationRequest ¶ added in v8.6.0
type ShowLoadingAnimationRequest struct { /** * User ID of the target user for whom the loading animation is to be displayed. (Required) */ ChatId string `json:"chatId"` /** * The number of seconds to display the loading indicator. It must be a multiple of 5. The maximum value is 60 seconds. * minimum: 5 * maximum: 60 */ LoadingSeconds int32 `json:"loadingSeconds,omitempty"` }
ShowLoadingAnimationRequest ShowLoadingAnimationRequest https://developers.line.biz/en/reference/messaging-api/#display-a-loading-indicator-request-body
type StickerMessage ¶
type StickerMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get PackageId */ PackageId string `json:"packageId"` /** * Get StickerId */ StickerId string `json:"stickerId"` /** * Quote token of the message you want to quote. */ QuoteToken string `json:"quoteToken,omitempty"` }
StickerMessage StickerMessage https://developers.line.biz/en/reference/messaging-api/#sticker-message
func (*StickerMessage) MarshalJSON ¶
func (r *StickerMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the StickerMessage struct.
type SubscribedMembershipPlan ¶ added in v8.5.0
type SubscribedMembershipPlan struct { /** * Membership plan ID. (Required) */ MembershipId int32 `json:"membershipId"` /** * Membership plan name. (Required) */ Title string `json:"title"` /** * Membership plan description. (Required) */ Description string `json:"description"` /** * List of membership plan perks. (Required) */ Benefits []string `json:"benefits"` /** * Monthly fee for membership plan. (e.g. 1500.00) (Required) */ Price float64 `json:"price"` /** * The currency of membership.price. (Required) */ Currency SubscribedMembershipPlanCURRENCY `json:"currency"` }
type SubscribedMembershipPlanCURRENCY ¶ added in v8.5.0
type SubscribedMembershipPlanCURRENCY string
SubscribedMembershipPlanCURRENCY type
The currency of membership.price.
const ( SubscribedMembershipPlanCURRENCY_JPY SubscribedMembershipPlanCURRENCY = "JPY" SubscribedMembershipPlanCURRENCY_TWD SubscribedMembershipPlanCURRENCY = "TWD" SubscribedMembershipPlanCURRENCY_THB SubscribedMembershipPlanCURRENCY = "THB" )
SubscribedMembershipPlanCURRENCY constants
type SubscribedMembershipUser ¶ added in v8.5.0
type SubscribedMembershipUser struct { /** * The user's member number in the membership plan. (Required) */ MembershipNo int32 `json:"membershipNo"` /** * UNIX timestamp at which the user subscribed to the membership. (Required) */ JoinedTime int32 `json:"joinedTime"` /** * Next payment date for membership plan. - Format: yyyy-MM-dd (e.g. 2024-02-08) - Timezone: UTC+9 (Required) */ NextBillingDate string `json:"nextBillingDate"` /** * 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. (Required) */ TotalSubscriptionMonths int32 `json:"totalSubscriptionMonths"` }
type Subscription ¶ added in v8.5.0
type Subscription struct { /** * Get Membership */ Membership *SubscribedMembershipPlan `json:"membership"` /** * Get User */ User *SubscribedMembershipUser `json:"user"` }
type SubscriptionPeriodDemographic ¶
type SubscriptionPeriodDemographic string
SubscriptionPeriodDemographic type
const ( SubscriptionPeriodDemographic__7 SubscriptionPeriodDemographic = "day_7" SubscriptionPeriodDemographic__30 SubscriptionPeriodDemographic = "day_30" SubscriptionPeriodDemographic__90 SubscriptionPeriodDemographic = "day_90" SubscriptionPeriodDemographic__180 SubscriptionPeriodDemographic = "day_180" SubscriptionPeriodDemographic__365 SubscriptionPeriodDemographic = "day_365" )
SubscriptionPeriodDemographic constants
type SubscriptionPeriodDemographicFilter ¶
type SubscriptionPeriodDemographicFilter struct { DemographicFilter /** * Get Gte */ Gte SubscriptionPeriodDemographic `json:"gte,omitempty"` /** * Get Lt */ Lt SubscriptionPeriodDemographic `json:"lt,omitempty"` }
func (*SubscriptionPeriodDemographicFilter) MarshalJSON ¶
func (r *SubscriptionPeriodDemographicFilter) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the SubscriptionPeriodDemographicFilter struct.
type SubstitutionObject ¶ added in v8.10.0
type SubstitutionObject struct {
Type string `json:"type"`
}
func (SubstitutionObject) GetType ¶ added in v8.10.0
func (e SubstitutionObject) GetType() string
type SubstitutionObjectInterface ¶ added in v8.10.0
type SubstitutionObjectInterface interface {
GetType() string
}
func UnmarshalSubstitutionObject ¶ added in v8.10.0
func UnmarshalSubstitutionObject(data []byte) (SubstitutionObjectInterface, error)
type TemplateImageAspectRatio ¶ added in v8.2.0
type TemplateImageAspectRatio string
TemplateImageAspectRatio type
const ( TemplateImageAspectRatio_RECTANGLE TemplateImageAspectRatio = "rectangle" TemplateImageAspectRatio_SQUARE TemplateImageAspectRatio = "square" )
TemplateImageAspectRatio constants
type TemplateImageSize ¶ added in v8.2.0
type TemplateImageSize string
TemplateImageSize type
const ( TemplateImageSize_COVER TemplateImageSize = "cover" TemplateImageSize_CONTAIN TemplateImageSize = "contain" )
TemplateImageSize constants
type TemplateInterface ¶
type TemplateInterface interface {
GetType() string
}
func UnmarshalTemplate ¶
func UnmarshalTemplate(data []byte) (TemplateInterface, error)
type TemplateMessage ¶
type TemplateMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get AltText */ AltText string `json:"altText"` /** * Get Template */ Template TemplateInterface `json:"template"` }
TemplateMessage TemplateMessage https://developers.line.biz/en/reference/messaging-api/#template-messages
func (*TemplateMessage) MarshalJSON ¶
func (r *TemplateMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the TemplateMessage struct.
func (*TemplateMessage) UnmarshalJSON ¶
func (cr *TemplateMessage) UnmarshalJSON(data []byte) error
type TestWebhookEndpointRequest ¶
type TestWebhookEndpointRequest struct { /** * A webhook URL to be validated. */ Endpoint string `json:"endpoint,omitempty"` }
TestWebhookEndpointRequest TestWebhookEndpointRequest https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
type TestWebhookEndpointResponse ¶
type TestWebhookEndpointResponse struct { /** * Result of the communication from the LINE platform to the webhook URL. */ Success bool `json:"success"` /** * Time of the event in milliseconds. Even in the case of a redelivered webhook, it represents the time the event occurred, not the time it was redelivered. (Required) */ Timestamp time.Time `json:"timestamp"` /** * The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number. (Required) */ StatusCode int32 `json:"statusCode"` /** * Reason for the response. (Required) */ Reason string `json:"reason"` /** * Details of the response. (Required) */ Detail string `json:"detail"` }
TestWebhookEndpointResponse TestWebhookEndpointResponse https://developers.line.biz/en/reference/messaging-api/#test-webhook-endpoint
type TextMessage ¶
type TextMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get Text */ Text string `json:"text"` /** * Get Emojis */ Emojis []Emoji `json:"emojis,omitempty"` /** * Quote token of the message you want to quote. */ QuoteToken string `json:"quoteToken,omitempty"` }
TextMessage TextMessage https://developers.line.biz/en/reference/messaging-api/#text-message
func (*TextMessage) MarshalJSON ¶
func (r *TextMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the TextMessage struct.
type TextMessageV2 ¶ added in v8.10.0
type TextMessageV2 struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get Text */ Text string `json:"text"` /** * A mapping that specifies substitutions for parts enclosed in {} within the `text` field. */ Substitution map[string]SubstitutionObjectInterface `json:"substitution,omitempty"` /** * Quote token of the message you want to quote. */ QuoteToken string `json:"quoteToken,omitempty"` }
TextMessageV2 TextMessageV2 https://developers.line.biz/en/reference/messaging-api/#text-message-v2
func (*TextMessageV2) MarshalJSON ¶ added in v8.10.0
func (r *TextMessageV2) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the TextMessageV2 struct.
type UnknownAcquisitionConditionRequest ¶ added in v8.14.2
type UnknownAcquisitionConditionRequest struct { AcquisitionConditionRequestInterface Type string Raw map[string]json.RawMessage }
func (UnknownAcquisitionConditionRequest) GetType ¶ added in v8.14.2
func (e UnknownAcquisitionConditionRequest) GetType() string
type UnknownAcquisitionConditionResponse ¶ added in v8.14.2
type UnknownAcquisitionConditionResponse struct { AcquisitionConditionResponseInterface Type string Raw map[string]json.RawMessage }
func (UnknownAcquisitionConditionResponse) GetType ¶ added in v8.14.2
func (e UnknownAcquisitionConditionResponse) GetType() string
type UnknownAction ¶
type UnknownAction struct { ActionInterface Type string Raw map[string]json.RawMessage }
func (UnknownAction) GetType ¶
func (e UnknownAction) GetType() string
type UnknownCashBackPriceInfoRequest ¶ added in v8.14.2
type UnknownCashBackPriceInfoRequest struct { CashBackPriceInfoRequestInterface Type string Raw map[string]json.RawMessage }
func (UnknownCashBackPriceInfoRequest) GetType ¶ added in v8.14.2
func (e UnknownCashBackPriceInfoRequest) GetType() string
type UnknownCashBackPriceInfoResponse ¶ added in v8.14.2
type UnknownCashBackPriceInfoResponse struct { CashBackPriceInfoResponseInterface Type string Raw map[string]json.RawMessage }
func (UnknownCashBackPriceInfoResponse) GetType ¶ added in v8.14.2
func (e UnknownCashBackPriceInfoResponse) GetType() string
type UnknownCouponRewardRequest ¶ added in v8.14.2
type UnknownCouponRewardRequest struct { CouponRewardRequestInterface Type string Raw map[string]json.RawMessage }
func (UnknownCouponRewardRequest) GetType ¶ added in v8.14.2
func (e UnknownCouponRewardRequest) GetType() string
type UnknownCouponRewardResponse ¶ added in v8.14.2
type UnknownCouponRewardResponse struct { CouponRewardResponseInterface Type string Raw map[string]json.RawMessage }
func (UnknownCouponRewardResponse) GetType ¶ added in v8.14.2
func (e UnknownCouponRewardResponse) GetType() string
type UnknownDemographicFilter ¶
type UnknownDemographicFilter struct { DemographicFilterInterface Type string Raw map[string]json.RawMessage }
func (UnknownDemographicFilter) GetType ¶
func (e UnknownDemographicFilter) GetType() string
type UnknownDiscountPriceInfoRequest ¶ added in v8.14.2
type UnknownDiscountPriceInfoRequest struct { DiscountPriceInfoRequestInterface Type string Raw map[string]json.RawMessage }
func (UnknownDiscountPriceInfoRequest) GetType ¶ added in v8.14.2
func (e UnknownDiscountPriceInfoRequest) GetType() string
type UnknownDiscountPriceInfoResponse ¶ added in v8.14.2
type UnknownDiscountPriceInfoResponse struct { DiscountPriceInfoResponseInterface Type string Raw map[string]json.RawMessage }
func (UnknownDiscountPriceInfoResponse) GetType ¶ added in v8.14.2
func (e UnknownDiscountPriceInfoResponse) GetType() string
type UnknownFlexBoxBackground ¶
type UnknownFlexBoxBackground struct { FlexBoxBackgroundInterface Type string Raw map[string]json.RawMessage }
func (UnknownFlexBoxBackground) GetType ¶
func (e UnknownFlexBoxBackground) GetType() string
type UnknownFlexComponent ¶
type UnknownFlexComponent struct { FlexComponentInterface Type string Raw map[string]json.RawMessage }
func (UnknownFlexComponent) GetType ¶
func (e UnknownFlexComponent) GetType() string
type UnknownFlexContainer ¶
type UnknownFlexContainer struct { FlexContainerInterface Type string Raw map[string]json.RawMessage }
func (UnknownFlexContainer) GetType ¶
func (e UnknownFlexContainer) GetType() string
type UnknownImagemapAction ¶
type UnknownImagemapAction struct { ImagemapActionInterface Type string Raw map[string]json.RawMessage }
func (UnknownImagemapAction) GetType ¶
func (e UnknownImagemapAction) GetType() string
type UnknownMentionTarget ¶ added in v8.10.0
type UnknownMentionTarget struct { MentionTargetInterface Type string Raw map[string]json.RawMessage }
func (UnknownMentionTarget) GetType ¶ added in v8.10.0
func (e UnknownMentionTarget) GetType() string
type UnknownMessage ¶
type UnknownMessage struct { MessageInterface Type string Raw map[string]json.RawMessage }
func (UnknownMessage) GetType ¶
func (e UnknownMessage) GetType() string
type UnknownRecipient ¶
type UnknownRecipient struct { RecipientInterface Type string Raw map[string]json.RawMessage }
func (UnknownRecipient) GetType ¶
func (e UnknownRecipient) GetType() string
type UnknownRichMenuBatchOperation ¶
type UnknownRichMenuBatchOperation struct { RichMenuBatchOperationInterface Type string Raw map[string]json.RawMessage }
func (UnknownRichMenuBatchOperation) GetType ¶
func (e UnknownRichMenuBatchOperation) GetType() string
type UnknownSubstitutionObject ¶ added in v8.10.0
type UnknownSubstitutionObject struct { SubstitutionObjectInterface Type string Raw map[string]json.RawMessage }
func (UnknownSubstitutionObject) GetType ¶ added in v8.10.0
func (e UnknownSubstitutionObject) GetType() string
type UnknownTemplate ¶
type UnknownTemplate struct { TemplateInterface Type string Raw map[string]json.RawMessage }
func (UnknownTemplate) GetType ¶
func (e UnknownTemplate) GetType() string
type UpdateRichMenuAliasRequest ¶
type UpdateRichMenuAliasRequest struct { /** * The rich menu ID to be associated with the rich menu alias. (Required) */ RichMenuId string `json:"richMenuId"` }
UpdateRichMenuAliasRequest UpdateRichMenuAliasRequest https://developers.line.biz/en/reference/messaging-api/#update-rich-menu-alias
type UriAction ¶
type UriAction struct { Action /** * Label for the action. */ Label string `json:"label,omitempty"` /** * Get Uri */ Uri string `json:"uri,omitempty"` /** * Get AltUri */ AltUri *AltUri `json:"altUri,omitempty"` }
func (*UriAction) MarshalJSON ¶
MarshalJSON customizes the JSON serialization of the UriAction struct.
type UriImagemapAction ¶
type UriImagemapAction struct { ImagemapAction /** * Get Area */ Area *ImagemapArea `json:"area"` /** * Get LinkUri */ LinkUri string `json:"linkUri"` /** * Get Label */ Label string `json:"label,omitempty"` }
func (*UriImagemapAction) MarshalJSON ¶
func (r *UriImagemapAction) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the UriImagemapAction struct.
type UserMentionTarget ¶ added in v8.10.0
type UserMentionTarget struct { MentionTarget /** * Get UserId */ UserId string `json:"userId"` }
UserMentionTarget UserMentionTarget https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mentionee-user
func (*UserMentionTarget) MarshalJSON ¶ added in v8.10.0
func (r *UserMentionTarget) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the UserMentionTarget struct.
type UserProfileResponse ¶
type UserProfileResponse struct { /** * User's display name (Required) */ DisplayName string `json:"displayName"` /** * User ID (Required) */ UserId string `json:"userId"` /** * Profile image URL. `https` image URL. Not included in the response if the user doesn't have a profile image. */ PictureUrl string `json:"pictureUrl,omitempty"` /** * User's status message. Not included in the response if the user doesn't have a status message. */ StatusMessage string `json:"statusMessage,omitempty"` /** * User's language, as a BCP 47 language tag. Not included in the response if the user hasn't yet consented to the LINE Privacy Policy. */ Language string `json:"language,omitempty"` }
UserProfileResponse UserProfileResponse https://developers.line.biz/en/reference/messaging-api/#get-profile
type ValidateMessageRequest ¶
type ValidateMessageRequest struct { /** * Array of message objects to validate (Required) */ Messages []MessageInterface `json:"messages"` }
func (*ValidateMessageRequest) MarshalJSON ¶
func (r *ValidateMessageRequest) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the ValidateMessageRequest struct.
func (*ValidateMessageRequest) UnmarshalJSON ¶
func (cr *ValidateMessageRequest) UnmarshalJSON(data []byte) error
type VideoMessage ¶
type VideoMessage struct { Message /** * Get QuickReply */ QuickReply *QuickReply `json:"quickReply,omitempty"` /** * Get Sender */ Sender *Sender `json:"sender,omitempty"` /** * Get OriginalContentUrl */ OriginalContentUrl string `json:"originalContentUrl"` /** * Get PreviewImageUrl */ PreviewImageUrl string `json:"previewImageUrl"` /** * Get TrackingId */ TrackingId string `json:"trackingId,omitempty"` }
VideoMessage VideoMessage https://developers.line.biz/en/reference/messaging-api/#video-message
func (*VideoMessage) MarshalJSON ¶
func (r *VideoMessage) MarshalJSON() ([]byte, error)
MarshalJSON customizes the JSON serialization of the VideoMessage struct.
Source Files
¶
- api_messaging_api.go
- api_messaging_api_blob.go
- model_acquisition_condition_request.go
- model_acquisition_condition_response.go
- model_action.go
- model_age_demographic.go
- model_age_demographic_filter.go
- model_all_mention_target.go
- model_alt_uri.go
- model_app_type_demographic.go
- model_app_type_demographic_filter.go
- model_area_demographic.go
- model_area_demographic_filter.go
- model_audience_match_messages_request.go
- model_audience_recipient.go
- model_audio_message.go
- model_bot_info_response.go
- model_broadcast_request.go
- model_buttons_template.go
- model_camera_action.go
- model_camera_roll_action.go
- model_carousel_column.go
- model_carousel_template.go
- model_cash_back_fixed_price_info_request.go
- model_cash_back_fixed_price_info_response.go
- model_cash_back_percentage_price_info_request.go
- model_cash_back_percentage_price_info_response.go
- model_cash_back_price_info_request.go
- model_cash_back_price_info_response.go
- model_chat_reference.go
- model_clipboard_action.go
- model_clipboard_imagemap_action.go
- model_confirm_template.go
- model_coupon_cash_back_reward_request.go
- model_coupon_cash_back_reward_response.go
- model_coupon_create_request.go
- model_coupon_create_response.go
- model_coupon_discount_reward_request.go
- model_coupon_discount_reward_response.go
- model_coupon_free_reward_request.go
- model_coupon_free_reward_response.go
- model_coupon_gift_reward_request.go
- model_coupon_gift_reward_response.go
- model_coupon_list_response.go
- model_coupon_message.go
- model_coupon_others_reward_request.go
- model_coupon_others_reward_response.go
- model_coupon_response.go
- model_coupon_reward_request.go
- model_coupon_reward_response.go
- model_create_rich_menu_alias_request.go
- model_datetime_picker_action.go
- model_demographic_filter.go
- model_discount_explicit_price_info_request.go
- model_discount_explicit_price_info_response.go
- model_discount_fixed_price_info_request.go
- model_discount_fixed_price_info_response.go
- model_discount_percentage_price_info_request.go
- model_discount_percentage_price_info_response.go
- model_discount_price_info_request.go
- model_discount_price_info_response.go
- model_emoji.go
- model_emoji_substitution_object.go
- model_error_detail.go
- model_error_response.go
- model_filter.go
- model_flex_block_style.go
- model_flex_box.go
- model_flex_box_background.go
- model_flex_box_border_width.go
- model_flex_box_corner_radius.go
- model_flex_box_linear_gradient.go
- model_flex_box_padding.go
- model_flex_box_spacing.go
- model_flex_bubble.go
- model_flex_bubble_styles.go
- model_flex_button.go
- model_flex_carousel.go
- model_flex_component.go
- model_flex_container.go
- model_flex_filler.go
- model_flex_icon.go
- model_flex_icon_size.go
- model_flex_image.go
- model_flex_image_size.go
- model_flex_margin.go
- model_flex_message.go
- model_flex_offset.go
- model_flex_separator.go
- model_flex_span.go
- model_flex_span_size.go
- model_flex_text.go
- model_flex_text_font_size.go
- model_flex_video.go
- model_gender_demographic.go
- model_gender_demographic_filter.go
- model_get_aggregation_unit_name_list_response.go
- model_get_aggregation_unit_usage_response.go
- model_get_followers_response.go
- model_get_joined_membership_users_response.go
- model_get_membership_subscription_response.go
- model_get_message_content_transcoding_response.go
- model_get_webhook_endpoint_response.go
- model_group_member_count_response.go
- model_group_summary_response.go
- model_group_user_profile_response.go
- model_image_carousel_column.go
- model_image_carousel_template.go
- model_image_message.go
- model_imagemap_action.go
- model_imagemap_area.go
- model_imagemap_base_size.go
- model_imagemap_external_link.go
- model_imagemap_message.go
- model_imagemap_video.go
- model_issue_link_token_response.go
- model_limit.go
- model_location_action.go
- model_location_message.go
- model_lottery_acquisition_condition_request.go
- model_lottery_acquisition_condition_response.go
- model_mark_messages_as_read_request.go
- model_members_ids_response.go
- model_membership.go
- model_membership_list_response.go
- model_mention_substitution_object.go
- model_mention_target.go
- model_message.go
- model_message_action.go
- model_message_imagemap_action.go
- model_message_quota_response.go
- model_messaging_api_pager_coupon_list_response.go
- model_multicast_request.go
- model_narrowcast_progress_response.go
- model_narrowcast_request.go
- model_normal_acquisition_condition_request.go
- model_normal_acquisition_condition_response.go
- model_number_of_messages_response.go
- model_operator_demographic_filter.go
- model_operator_recipient.go
- model_pnp_messages_request.go
- model_postback_action.go
- model_push_message_request.go
- model_push_message_response.go
- model_quick_reply.go
- model_quick_reply_item.go
- model_quota_consumption_response.go
- model_quota_type.go
- model_recipient.go
- model_redelivery_recipient.go
- model_referral_acquisition_condition_response.go
- model_reply_message_request.go
- model_reply_message_response.go
- model_rich_menu_alias_list_response.go
- model_rich_menu_alias_response.go
- model_rich_menu_area.go
- model_rich_menu_batch_link_operation.go
- model_rich_menu_batch_operation.go
- model_rich_menu_batch_progress_phase.go
- model_rich_menu_batch_progress_response.go
- model_rich_menu_batch_request.go
- model_rich_menu_batch_unlink_all_operation.go
- model_rich_menu_batch_unlink_operation.go
- model_rich_menu_bounds.go
- model_rich_menu_bulk_link_request.go
- model_rich_menu_bulk_unlink_request.go
- model_rich_menu_id_response.go
- model_rich_menu_list_response.go
- model_rich_menu_request.go
- model_rich_menu_response.go
- model_rich_menu_size.go
- model_rich_menu_switch_action.go
- model_room_member_count_response.go
- model_room_user_profile_response.go
- model_sender.go
- model_sent_message.go
- model_set_webhook_endpoint_request.go
- model_show_loading_animation_request.go
- model_sticker_message.go
- model_subscribed_membership_plan.go
- model_subscribed_membership_user.go
- model_subscription.go
- model_subscription_period_demographic.go
- model_subscription_period_demographic_filter.go
- model_substitution_object.go
- model_template.go
- model_template_image_aspect_ratio.go
- model_template_image_size.go
- model_template_message.go
- model_test_webhook_endpoint_request.go
- model_test_webhook_endpoint_response.go
- model_text_message.go
- model_text_message_v2.go
- model_update_rich_menu_alias_request.go
- model_uri_action.go
- model_uri_imagemap_action.go
- model_user_mention_target.go
- model_user_profile_response.go
- model_validate_message_request.go
- model_video_message.go