Documentation
¶
Overview ¶
Package messagingapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Index ¶
- Constants
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- type AcquisitionConditionRequest
- type AcquisitionConditionResponse
- type Action
- type BotInfoResponse
- type BotInfoResponseChatMode
- type BotInfoResponseMarkAsReadMode
- type Broadcast200JSONResponse
- type Broadcast400JSONResponse
- type Broadcast403JSONResponse
- type Broadcast409JSONResponse
- type Broadcast429JSONResponse
- type BroadcastJSONRequestBody
- type BroadcastParams
- type BroadcastRequest
- type BroadcastRequestObject
- type BroadcastResponse
- type BroadcastResponseObject
- type CancelDefaultRichMenu200Response
- type CancelDefaultRichMenuRequestObject
- type CancelDefaultRichMenuResponseObject
- type ChatReference
- type ChiServerOptions
- type CloseCoupon200Response
- type CloseCoupon400JSONResponse
- type CloseCoupon404JSONResponse
- type CloseCoupon410JSONResponse
- type CloseCouponRequestObject
- type CloseCouponResponseObject
- type CouponCreateRequest
- type CouponCreateRequestTimezone
- type CouponCreateRequestVisibility
- type CouponCreateResponse
- type CouponListResponse
- type CouponResponse
- type CouponResponseStatus
- type CouponResponseTimezone
- type CouponResponseVisibility
- type CouponRewardRequest
- type CouponRewardResponse
- type CreateCoupon200JSONResponse
- type CreateCoupon400JSONResponse
- type CreateCouponJSONRequestBody
- type CreateCouponRequestObject
- type CreateCouponResponseObject
- type CreateRichMenu200JSONResponse
- type CreateRichMenuAlias200Response
- type CreateRichMenuAlias400JSONResponse
- type CreateRichMenuAliasJSONRequestBody
- type CreateRichMenuAliasRequest
- type CreateRichMenuAliasRequestObject
- type CreateRichMenuAliasResponseObject
- type CreateRichMenuJSONRequestBody
- type CreateRichMenuRequestObject
- type CreateRichMenuResponseObject
- type DeleteRichMenu200Response
- type DeleteRichMenuAlias200Response
- type DeleteRichMenuAlias400JSONResponse
- type DeleteRichMenuAliasRequestObject
- type DeleteRichMenuAliasResponseObject
- type DeleteRichMenuRequestObject
- type DeleteRichMenuResponseObject
- type DemographicFilter
- type ErrorDetail
- type ErrorResponse
- type Filter
- type GetAggregationUnitNameList200JSONResponse
- type GetAggregationUnitNameListParams
- type GetAggregationUnitNameListRequestObject
- type GetAggregationUnitNameListResponse
- type GetAggregationUnitNameListResponseObject
- type GetAggregationUnitUsage200JSONResponse
- type GetAggregationUnitUsageRequestObject
- type GetAggregationUnitUsageResponse
- type GetAggregationUnitUsageResponseObject
- type GetBotInfo200JSONResponse
- type GetBotInfoRequestObject
- type GetBotInfoResponseObject
- type GetCouponDetail200JSONResponse
- type GetCouponDetail400JSONResponse
- type GetCouponDetail404JSONResponse
- type GetCouponDetailRequestObject
- type GetCouponDetailResponseObject
- type GetDefaultRichMenuId200JSONResponse
- type GetDefaultRichMenuIdRequestObject
- type GetDefaultRichMenuIdResponseObject
- type GetFollowers200JSONResponse
- type GetFollowersParams
- type GetFollowersRequestObject
- type GetFollowersResponse
- type GetFollowersResponseObject
- type GetGroupMemberCount200JSONResponse
- type GetGroupMemberCountRequestObject
- type GetGroupMemberCountResponseObject
- type GetGroupMemberProfile200JSONResponse
- type GetGroupMemberProfileRequestObject
- type GetGroupMemberProfileResponseObject
- type GetGroupMembersIds200JSONResponse
- type GetGroupMembersIdsParams
- type GetGroupMembersIdsRequestObject
- type GetGroupMembersIdsResponseObject
- type GetGroupSummary200JSONResponse
- type GetGroupSummaryRequestObject
- type GetGroupSummaryResponseObject
- type GetJoinedMembershipUsers200JSONResponse
- type GetJoinedMembershipUsers400JSONResponse
- type GetJoinedMembershipUsers404JSONResponse
- type GetJoinedMembershipUsersParams
- type GetJoinedMembershipUsersRequestObject
- type GetJoinedMembershipUsersResponse
- type GetJoinedMembershipUsersResponseObject
- type GetMembershipList200JSONResponse
- type GetMembershipList404JSONResponse
- type GetMembershipListRequestObject
- type GetMembershipListResponseObject
- type GetMembershipSubscription200JSONResponse
- type GetMembershipSubscription400JSONResponse
- type GetMembershipSubscription404JSONResponse
- type GetMembershipSubscriptionRequestObject
- type GetMembershipSubscriptionResponse
- type GetMembershipSubscriptionResponseObject
- type GetMessageContent200AsteriskResponse
- type GetMessageContentPreview200AsteriskResponse
- type GetMessageContentPreviewRequestObject
- type GetMessageContentPreviewResponseObject
- type GetMessageContentRequestObject
- type GetMessageContentResponseObject
- type GetMessageContentTranscodingByMessageId200JSONResponse
- type GetMessageContentTranscodingByMessageIdRequestObject
- type GetMessageContentTranscodingByMessageIdResponseObject
- type GetMessageContentTranscodingResponse
- type GetMessageContentTranscodingResponseStatus
- type GetMessageQuota200JSONResponse
- type GetMessageQuotaConsumption200JSONResponse
- type GetMessageQuotaConsumptionRequestObject
- type GetMessageQuotaConsumptionResponseObject
- type GetMessageQuotaRequestObject
- type GetMessageQuotaResponseObject
- type GetNarrowcastProgress200JSONResponse
- type GetNarrowcastProgressParams
- type GetNarrowcastProgressRequestObject
- type GetNarrowcastProgressResponseObject
- type GetNumberOfSentBroadcastMessages200JSONResponse
- type GetNumberOfSentBroadcastMessagesParams
- type GetNumberOfSentBroadcastMessagesRequestObject
- type GetNumberOfSentBroadcastMessagesResponseObject
- type GetNumberOfSentMulticastMessages200JSONResponse
- type GetNumberOfSentMulticastMessagesParams
- type GetNumberOfSentMulticastMessagesRequestObject
- type GetNumberOfSentMulticastMessagesResponseObject
- type GetNumberOfSentPushMessages200JSONResponse
- type GetNumberOfSentPushMessagesParams
- type GetNumberOfSentPushMessagesRequestObject
- type GetNumberOfSentPushMessagesResponseObject
- type GetNumberOfSentReplyMessages200JSONResponse
- type GetNumberOfSentReplyMessagesParams
- type GetNumberOfSentReplyMessagesRequestObject
- type GetNumberOfSentReplyMessagesResponseObject
- type GetPNPMessageStatistics200JSONResponse
- type GetPNPMessageStatisticsParams
- type GetPNPMessageStatisticsRequestObject
- type GetPNPMessageStatisticsResponseObject
- type GetProfile200JSONResponse
- type GetProfileRequestObject
- type GetProfileResponseObject
- type GetRichMenu200JSONResponse
- type GetRichMenuAlias200JSONResponse
- type GetRichMenuAliasList200JSONResponse
- type GetRichMenuAliasListRequestObject
- type GetRichMenuAliasListResponseObject
- type GetRichMenuAliasRequestObject
- type GetRichMenuAliasResponseObject
- type GetRichMenuBatchProgress200JSONResponse
- type GetRichMenuBatchProgressParams
- type GetRichMenuBatchProgressRequestObject
- type GetRichMenuBatchProgressResponseObject
- type GetRichMenuIdOfUser200JSONResponse
- type GetRichMenuIdOfUserRequestObject
- type GetRichMenuIdOfUserResponseObject
- type GetRichMenuImage200AsteriskResponse
- type GetRichMenuImageRequestObject
- type GetRichMenuImageResponseObject
- type GetRichMenuList200JSONResponse
- type GetRichMenuListRequestObject
- type GetRichMenuListResponseObject
- type GetRichMenuRequestObject
- type GetRichMenuResponseObject
- type GetRoomMemberCount200JSONResponse
- type GetRoomMemberCountRequestObject
- type GetRoomMemberCountResponseObject
- type GetRoomMemberProfile200JSONResponse
- type GetRoomMemberProfileRequestObject
- type GetRoomMemberProfileResponseObject
- type GetRoomMembersIds200JSONResponse
- type GetRoomMembersIdsParams
- type GetRoomMembersIdsRequestObject
- type GetRoomMembersIdsResponseObject
- type GetWebhookEndpoint200JSONResponse
- type GetWebhookEndpointRequestObject
- type GetWebhookEndpointResponse
- type GetWebhookEndpointResponseObject
- type GroupMemberCountResponse
- type GroupSummaryResponse
- type GroupUserProfileResponse
- type InvalidParamFormatError
- type IssueLinkToken200JSONResponse
- type IssueLinkTokenRequestObject
- type IssueLinkTokenResponse
- type IssueLinkTokenResponseObject
- type LeaveGroup200Response
- type LeaveGroup400JSONResponse
- type LeaveGroup404JSONResponse
- type LeaveGroupRequestObject
- type LeaveGroupResponseObject
- type LeaveRoom200Response
- type LeaveRoomRequestObject
- type LeaveRoomResponseObject
- type Limit
- type LinkRichMenuIdToUser200Response
- type LinkRichMenuIdToUserRequestObject
- type LinkRichMenuIdToUserResponseObject
- type LinkRichMenuIdToUsers202Response
- type LinkRichMenuIdToUsersJSONRequestBody
- type LinkRichMenuIdToUsersRequestObject
- type LinkRichMenuIdToUsersResponseObject
- type ListCoupon200JSONResponse
- type ListCoupon400JSONResponse
- type ListCouponParams
- type ListCouponParamsStatus
- type ListCouponRequestObject
- type ListCouponResponseObject
- type MarkMessagesAsRead200Response
- type MarkMessagesAsReadJSONRequestBody
- type MarkMessagesAsReadRequest
- type MarkMessagesAsReadRequestObject
- type MarkMessagesAsReadResponseObject
- type MembersIdsResponse
- type Membership
- type MembershipCurrency
- type MembershipListResponse
- type Message
- type MessageQuotaResponse
- type MessagingApiPagerCouponListResponse
- type MiddlewareFunc
- type Multicast200JSONResponse
- type Multicast400JSONResponse
- type Multicast403JSONResponse
- type Multicast409JSONResponse
- type Multicast429JSONResponse
- type MulticastJSONRequestBody
- type MulticastParams
- type MulticastRequest
- type MulticastRequestObject
- type MulticastResponse
- type MulticastResponseObject
- type Narrowcast202JSONResponse
- type Narrowcast400JSONResponse
- type Narrowcast403JSONResponse
- type Narrowcast409JSONResponse
- type Narrowcast429JSONResponse
- type NarrowcastJSONRequestBody
- type NarrowcastParams
- type NarrowcastProgressResponse
- type NarrowcastProgressResponsePhase
- type NarrowcastRequest
- type NarrowcastRequestObject
- type NarrowcastResponse
- type NarrowcastResponseObject
- type NotificationDisabled
- type NumberOfMessagesResponse
- type NumberOfMessagesResponseStatus
- type PnpMessagesRequest
- type PushMessage200JSONResponse
- type PushMessage400JSONResponse
- type PushMessage403JSONResponse
- type PushMessage409JSONResponse
- type PushMessage429JSONResponse
- type PushMessageJSONRequestBody
- type PushMessageParams
- type PushMessageRequest
- type PushMessageRequestObject
- type PushMessageResponse
- type PushMessageResponseObject
- type PushMessagesByPhone200Response
- type PushMessagesByPhone422JSONResponse
- type PushMessagesByPhoneJSONRequestBody
- type PushMessagesByPhoneParams
- type PushMessagesByPhoneRequestObject
- type PushMessagesByPhoneResponseObject
- type QuickReply
- type QuickReplyItem
- type QuotaConsumptionResponse
- type QuotaType
- type Recipient
- type ReplyMessage200JSONResponse
- type ReplyMessage400JSONResponse
- type ReplyMessage429JSONResponse
- type ReplyMessageJSONRequestBody
- type ReplyMessageRequest
- type ReplyMessageRequestObject
- type ReplyMessageResponse
- type ReplyMessageResponseObject
- type RequiredHeaderError
- type RequiredParamError
- type RichMenuAliasListResponse
- type RichMenuAliasResponse
- type RichMenuArea
- type RichMenuBatch202Response
- type RichMenuBatchJSONRequestBody
- type RichMenuBatchOperation
- type RichMenuBatchProgressPhase
- type RichMenuBatchProgressResponse
- type RichMenuBatchRequest
- type RichMenuBatchRequestObject
- type RichMenuBatchResponseObject
- type RichMenuBounds
- type RichMenuBulkLinkRequest
- type RichMenuBulkUnlinkRequest
- type RichMenuIdResponse
- type RichMenuListResponse
- type RichMenuRequest
- type RichMenuResponse
- type RichMenuSize
- type RoomMemberCountResponse
- type RoomUserProfileResponse
- type Sender
- type SentMessage
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) Broadcast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelDefaultRichMenu(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CloseCoupon(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateCoupon(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateRichMenu(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateRichMenuAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRichMenu(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRichMenuAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAggregationUnitNameList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAggregationUnitUsage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetBotInfo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCouponDetail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDefaultRichMenuId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetFollowers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroupMemberCount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroupMemberProfile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroupMembersIds(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroupSummary(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetJoinedMembershipUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMembershipList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMembershipSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageContent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageContentPreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageContentTranscodingByMessageId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageQuota(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMessageQuotaConsumption(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNarrowcastProgress(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNumberOfSentBroadcastMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNumberOfSentMulticastMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNumberOfSentPushMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNumberOfSentReplyMessages(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPNPMessageStatistics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProfile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenu(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuAliasList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuBatchProgress(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuIdOfUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuImage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRichMenuList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomMemberCount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomMemberProfile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRoomMembersIds(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IssueLinkToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LeaveGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LeaveRoom(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LinkRichMenuIdToUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LinkRichMenuIdToUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCoupon(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MarkMessagesAsRead(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Multicast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Narrowcast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PushMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PushMessagesByPhone(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReplyMessage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RichMenuBatch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDefaultRichMenu(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetRichMenuImage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ShowLoadingAnimation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TestWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnlinkRichMenuIdFromUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnlinkRichMenuIdFromUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateRichMenuAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateBroadcast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateMulticast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateNarrowcast(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidatePush(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateReply(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateRichMenuBatchRequest(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateRichMenuObject(w http.ResponseWriter, r *http.Request)
- type SetDefaultRichMenu200Response
- type SetDefaultRichMenuRequestObject
- type SetDefaultRichMenuResponseObject
- type SetRichMenuImage200Response
- type SetRichMenuImageRequestObject
- type SetRichMenuImageResponseObject
- type SetWebhookEndpoint200Response
- type SetWebhookEndpointJSONRequestBody
- type SetWebhookEndpointRequest
- type SetWebhookEndpointRequestObject
- type SetWebhookEndpointResponseObject
- type ShowLoadingAnimation202JSONResponse
- type ShowLoadingAnimation400JSONResponse
- type ShowLoadingAnimationJSONRequestBody
- type ShowLoadingAnimationRequest
- type ShowLoadingAnimationRequestObject
- type ShowLoadingAnimationResponse
- type ShowLoadingAnimationResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SubscribedMembershipPlan
- type SubscribedMembershipPlanCurrency
- type SubscribedMembershipUser
- type Subscription
- type TestWebhookEndpoint200JSONResponse
- type TestWebhookEndpointJSONRequestBody
- type TestWebhookEndpointRequest
- type TestWebhookEndpointRequestObject
- type TestWebhookEndpointResponse
- type TestWebhookEndpointResponseObject
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) Broadcast(w http.ResponseWriter, r *http.Request, params BroadcastParams)
- func (_ Unimplemented) CancelDefaultRichMenu(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CloseCoupon(w http.ResponseWriter, r *http.Request, couponId string)
- func (_ Unimplemented) CreateCoupon(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateRichMenu(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateRichMenuAlias(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
- func (_ Unimplemented) DeleteRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
- func (_ Unimplemented) GetAggregationUnitNameList(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetAggregationUnitUsage(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetBotInfo(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetCouponDetail(w http.ResponseWriter, r *http.Request, couponId string)
- func (_ Unimplemented) GetDefaultRichMenuId(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetFollowers(w http.ResponseWriter, r *http.Request, params GetFollowersParams)
- func (_ Unimplemented) GetGroupMemberCount(w http.ResponseWriter, r *http.Request, groupId string)
- func (_ Unimplemented) GetGroupMemberProfile(w http.ResponseWriter, r *http.Request, groupId string, userId string)
- func (_ Unimplemented) GetGroupMembersIds(w http.ResponseWriter, r *http.Request, groupId string, ...)
- func (_ Unimplemented) GetGroupSummary(w http.ResponseWriter, r *http.Request, groupId string)
- func (_ Unimplemented) GetJoinedMembershipUsers(w http.ResponseWriter, r *http.Request, membershipId int, ...)
- func (_ Unimplemented) GetMembershipList(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetMembershipSubscription(w http.ResponseWriter, r *http.Request, userId string)
- func (_ Unimplemented) GetMessageContent(w http.ResponseWriter, r *http.Request, messageId string)
- func (_ Unimplemented) GetMessageContentPreview(w http.ResponseWriter, r *http.Request, messageId string)
- func (_ Unimplemented) GetMessageContentTranscodingByMessageId(w http.ResponseWriter, r *http.Request, messageId string)
- func (_ Unimplemented) GetMessageQuota(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetMessageQuotaConsumption(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetNarrowcastProgress(w http.ResponseWriter, r *http.Request, params GetNarrowcastProgressParams)
- func (_ Unimplemented) GetNumberOfSentBroadcastMessages(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetNumberOfSentMulticastMessages(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetNumberOfSentPushMessages(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetNumberOfSentReplyMessages(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetPNPMessageStatistics(w http.ResponseWriter, r *http.Request, params GetPNPMessageStatisticsParams)
- func (_ Unimplemented) GetProfile(w http.ResponseWriter, r *http.Request, userId string)
- func (_ Unimplemented) GetRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
- func (_ Unimplemented) GetRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
- func (_ Unimplemented) GetRichMenuAliasList(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetRichMenuBatchProgress(w http.ResponseWriter, r *http.Request, params GetRichMenuBatchProgressParams)
- func (_ Unimplemented) GetRichMenuIdOfUser(w http.ResponseWriter, r *http.Request, userId string)
- func (_ Unimplemented) GetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
- func (_ Unimplemented) GetRichMenuList(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetRoomMemberCount(w http.ResponseWriter, r *http.Request, roomId string)
- func (_ Unimplemented) GetRoomMemberProfile(w http.ResponseWriter, r *http.Request, roomId string, userId string)
- func (_ Unimplemented) GetRoomMembersIds(w http.ResponseWriter, r *http.Request, roomId string, ...)
- func (_ Unimplemented) GetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) IssueLinkToken(w http.ResponseWriter, r *http.Request, userId string)
- func (_ Unimplemented) LeaveGroup(w http.ResponseWriter, r *http.Request, groupId string)
- func (_ Unimplemented) LeaveRoom(w http.ResponseWriter, r *http.Request, roomId string)
- func (_ Unimplemented) LinkRichMenuIdToUser(w http.ResponseWriter, r *http.Request, userId string, richMenuId string)
- func (_ Unimplemented) LinkRichMenuIdToUsers(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListCoupon(w http.ResponseWriter, r *http.Request, params ListCouponParams)
- func (_ Unimplemented) MarkMessagesAsRead(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) Multicast(w http.ResponseWriter, r *http.Request, params MulticastParams)
- func (_ Unimplemented) Narrowcast(w http.ResponseWriter, r *http.Request, params NarrowcastParams)
- func (_ Unimplemented) PushMessage(w http.ResponseWriter, r *http.Request, params PushMessageParams)
- func (_ Unimplemented) PushMessagesByPhone(w http.ResponseWriter, r *http.Request, params PushMessagesByPhoneParams)
- func (_ Unimplemented) ReplyMessage(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RichMenuBatch(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SetDefaultRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
- func (_ Unimplemented) SetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
- func (_ Unimplemented) SetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ShowLoadingAnimation(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) TestWebhookEndpoint(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UnlinkRichMenuIdFromUser(w http.ResponseWriter, r *http.Request, userId string)
- func (_ Unimplemented) UnlinkRichMenuIdFromUsers(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UpdateRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
- func (_ Unimplemented) ValidateBroadcast(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidateMulticast(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidateNarrowcast(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidatePush(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidateReply(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidateRichMenuBatchRequest(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ValidateRichMenuObject(w http.ResponseWriter, r *http.Request)
- type UnlinkRichMenuIdFromUser200Response
- type UnlinkRichMenuIdFromUserRequestObject
- type UnlinkRichMenuIdFromUserResponseObject
- type UnlinkRichMenuIdFromUsers202Response
- type UnlinkRichMenuIdFromUsersJSONRequestBody
- type UnlinkRichMenuIdFromUsersRequestObject
- type UnlinkRichMenuIdFromUsersResponseObject
- type UnmarshalingParamError
- type UpdateRichMenuAlias200Response
- type UpdateRichMenuAlias400JSONResponse
- type UpdateRichMenuAliasJSONRequestBody
- type UpdateRichMenuAliasRequest
- type UpdateRichMenuAliasRequestObject
- type UpdateRichMenuAliasResponseObject
- type UserProfileResponse
- type ValidateBroadcast200Response
- type ValidateBroadcastJSONRequestBody
- type ValidateBroadcastRequestObject
- type ValidateBroadcastResponseObject
- type ValidateMessageRequest
- type ValidateMulticast200Response
- type ValidateMulticastJSONRequestBody
- type ValidateMulticastRequestObject
- type ValidateMulticastResponseObject
- type ValidateNarrowcast200Response
- type ValidateNarrowcastJSONRequestBody
- type ValidateNarrowcastRequestObject
- type ValidateNarrowcastResponseObject
- type ValidatePush200Response
- type ValidatePushJSONRequestBody
- type ValidatePushRequestObject
- type ValidatePushResponseObject
- type ValidateReply200Response
- type ValidateReplyJSONRequestBody
- type ValidateReplyRequestObject
- type ValidateReplyResponseObject
- type ValidateRichMenuBatchRequest200Response
- type ValidateRichMenuBatchRequestJSONRequestBody
- type ValidateRichMenuBatchRequestRequestObject
- type ValidateRichMenuBatchRequestResponseObject
- type ValidateRichMenuObject200Response
- type ValidateRichMenuObjectJSONRequestBody
- type ValidateRichMenuObjectRequestObject
- type ValidateRichMenuObjectResponseObject
Constants ¶
const (
BearerScopes = "Bearer.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AcquisitionConditionRequest ¶
type AcquisitionConditionRequest struct {
// Type Determines how the coupon is distributed or used.
Type string `json:"type"`
}
AcquisitionConditionRequest defines model for AcquisitionConditionRequest.
type AcquisitionConditionResponse ¶
type AcquisitionConditionResponse struct {
// Type Determines how the coupon is distributed or used.
Type string `json:"type"`
}
AcquisitionConditionResponse defines model for AcquisitionConditionResponse.
type Action ¶
type Action struct {
// Label Label for the action.
Label *string `json:"label,omitempty"`
// Type Type of action
Type *string `json:"type,omitempty"`
}
Action Action
type BotInfoResponse ¶
type BotInfoResponse struct {
// BasicId Bot's basic ID
BasicId string `json:"basicId"`
// ChatMode Chat settings set in the LINE Official Account Manager. One of:
//
// `chat`: Chat is set to "On".
// `bot`: Chat is set to "Off".
ChatMode BotInfoResponseChatMode `json:"chatMode"`
// DisplayName Bot's display name
DisplayName string `json:"displayName"`
// MarkAsReadMode 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.
//
MarkAsReadMode BotInfoResponseMarkAsReadMode `json:"markAsReadMode"`
// PictureUrl 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"`
// PremiumId Bot's premium ID. Not included in the response if the premium ID isn't set.
PremiumId *string `json:"premiumId,omitempty"`
// UserId Bot's user ID
UserId string `json:"userId"`
}
BotInfoResponse defines model for BotInfoResponse.
type BotInfoResponseChatMode ¶
type BotInfoResponseChatMode string
BotInfoResponseChatMode Chat settings set in the LINE Official Account Manager. One of:
`chat`: Chat is set to "On". `bot`: Chat is set to "Off".
const ( Bot BotInfoResponseChatMode = "bot" Chat BotInfoResponseChatMode = "chat" )
Defines values for BotInfoResponseChatMode.
type BotInfoResponseMarkAsReadMode ¶
type BotInfoResponseMarkAsReadMode string
BotInfoResponseMarkAsReadMode 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 ( Auto BotInfoResponseMarkAsReadMode = "auto" Manual BotInfoResponseMarkAsReadMode = "manual" )
Defines values for BotInfoResponseMarkAsReadMode.
type Broadcast200JSONResponse ¶
type Broadcast200JSONResponse BroadcastResponse
func (Broadcast200JSONResponse) VisitBroadcastResponse ¶
func (response Broadcast200JSONResponse) VisitBroadcastResponse(w http.ResponseWriter) error
type Broadcast400JSONResponse ¶
type Broadcast400JSONResponse ErrorResponse
func (Broadcast400JSONResponse) VisitBroadcastResponse ¶
func (response Broadcast400JSONResponse) VisitBroadcastResponse(w http.ResponseWriter) error
type Broadcast403JSONResponse ¶
type Broadcast403JSONResponse ErrorResponse
func (Broadcast403JSONResponse) VisitBroadcastResponse ¶
func (response Broadcast403JSONResponse) VisitBroadcastResponse(w http.ResponseWriter) error
type Broadcast409JSONResponse ¶
type Broadcast409JSONResponse ErrorResponse
func (Broadcast409JSONResponse) VisitBroadcastResponse ¶
func (response Broadcast409JSONResponse) VisitBroadcastResponse(w http.ResponseWriter) error
type Broadcast429JSONResponse ¶
type Broadcast429JSONResponse ErrorResponse
func (Broadcast429JSONResponse) VisitBroadcastResponse ¶
func (response Broadcast429JSONResponse) VisitBroadcastResponse(w http.ResponseWriter) error
type BroadcastJSONRequestBody ¶
type BroadcastJSONRequestBody = BroadcastRequest
BroadcastJSONRequestBody defines body for Broadcast for application/json ContentType.
type BroadcastParams ¶
type BroadcastParams struct {
// XLineRetryKey Retry key.
// Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method.
// The retry key isn't generated by LINE. Each developer must generate their own retry key.
XLineRetryKey *openapi_types.UUID `json:"X-Line-Retry-Key,omitempty"`
}
BroadcastParams defines parameters for Broadcast.
type BroadcastRequest ¶
type BroadcastRequest struct {
// Messages List of Message objects.
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
}
BroadcastRequest defines model for BroadcastRequest.
type BroadcastRequestObject ¶
type BroadcastRequestObject struct {
Params BroadcastParams
Body *BroadcastJSONRequestBody
}
type BroadcastResponse ¶
type BroadcastResponse = map[string]interface{}
BroadcastResponse defines model for BroadcastResponse.
type BroadcastResponseObject ¶
type BroadcastResponseObject interface {
VisitBroadcastResponse(w http.ResponseWriter) error
}
type CancelDefaultRichMenu200Response ¶
type CancelDefaultRichMenu200Response struct {
}
func (CancelDefaultRichMenu200Response) VisitCancelDefaultRichMenuResponse ¶
func (response CancelDefaultRichMenu200Response) VisitCancelDefaultRichMenuResponse(w http.ResponseWriter) error
type CancelDefaultRichMenuRequestObject ¶
type CancelDefaultRichMenuRequestObject struct {
}
type CancelDefaultRichMenuResponseObject ¶
type CancelDefaultRichMenuResponseObject interface {
VisitCancelDefaultRichMenuResponse(w http.ResponseWriter) error
}
type ChatReference ¶
type ChatReference struct {
// UserId The target user ID
UserId string `json:"userId"`
}
ChatReference Chat reference
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type CloseCoupon200Response ¶
type CloseCoupon200Response struct {
}
func (CloseCoupon200Response) VisitCloseCouponResponse ¶
func (response CloseCoupon200Response) VisitCloseCouponResponse(w http.ResponseWriter) error
type CloseCoupon400JSONResponse ¶
type CloseCoupon400JSONResponse ErrorResponse
func (CloseCoupon400JSONResponse) VisitCloseCouponResponse ¶
func (response CloseCoupon400JSONResponse) VisitCloseCouponResponse(w http.ResponseWriter) error
type CloseCoupon404JSONResponse ¶
type CloseCoupon404JSONResponse ErrorResponse
func (CloseCoupon404JSONResponse) VisitCloseCouponResponse ¶
func (response CloseCoupon404JSONResponse) VisitCloseCouponResponse(w http.ResponseWriter) error
type CloseCoupon410JSONResponse ¶
type CloseCoupon410JSONResponse ErrorResponse
func (CloseCoupon410JSONResponse) VisitCloseCouponResponse ¶
func (response CloseCoupon410JSONResponse) VisitCloseCouponResponse(w http.ResponseWriter) error
type CloseCouponRequestObject ¶
type CloseCouponRequestObject struct {
CouponId string `json:"couponId"`
}
type CloseCouponResponseObject ¶
type CloseCouponResponseObject interface {
VisitCloseCouponResponse(w http.ResponseWriter) error
}
type CouponCreateRequest ¶
type CouponCreateRequest struct {
AcquisitionCondition AcquisitionConditionRequest `json:"acquisitionCondition"`
// BarcodeImageUrl URL of the barcode image associated with the coupon. Used for in-store redemption.
BarcodeImageUrl *string `json:"barcodeImageUrl,omitempty"`
// CouponCode Unique code to be presented by the user to redeem the coupon. Optional.
CouponCode *string `json:"couponCode,omitempty"`
// Description Detailed description of the coupon. Displayed to users.
Description *string `json:"description,omitempty"`
// EndTimestamp Coupon expiration time (epoch seconds). Coupon cannot be used after this time.
EndTimestamp int64 `json:"endTimestamp"`
// ImageUrl URL of the main image representing the coupon. Displayed in the coupon list.
ImageUrl *string `json:"imageUrl,omitempty"`
// MaxUseCountPerTicket Maximum number of times a single coupon ticket can be used. Use -1 to indicate no limit.
MaxUseCountPerTicket int32 `json:"maxUseCountPerTicket"`
Reward *CouponRewardRequest `json:"reward,omitempty"`
// StartTimestamp Coupon start time (epoch seconds). Coupon can be used from this time.
StartTimestamp int64 `json:"startTimestamp"`
// Timezone Timezone for interpreting start and end timestamps.
Timezone CouponCreateRequestTimezone `json:"timezone"`
// Title Title of the coupon. Displayed in the coupon list.
Title string `json:"title"`
// UsageCondition Conditions for using the coupon. Shown to users.
UsageCondition *string `json:"usageCondition,omitempty"`
// Visibility Visibility of the coupon. Determines who can see or acquire the coupon.
Visibility CouponCreateRequestVisibility `json:"visibility"`
}
CouponCreateRequest Request object for creating a coupon. Contains all configurable coupon properties.
type CouponCreateRequestTimezone ¶
type CouponCreateRequestTimezone string
CouponCreateRequestTimezone Timezone for interpreting start and end timestamps.
const ( CouponCreateRequestTimezoneAMERICAANCHORAGE CouponCreateRequestTimezone = "AMERICA_ANCHORAGE" CouponCreateRequestTimezoneAMERICACARACAS CouponCreateRequestTimezone = "AMERICA_CARACAS" CouponCreateRequestTimezoneAMERICACHICAGO CouponCreateRequestTimezone = "AMERICA_CHICAGO" CouponCreateRequestTimezoneAMERICALOSANGELES CouponCreateRequestTimezone = "AMERICA_LOS_ANGELES" CouponCreateRequestTimezoneAMERICANEWYORK CouponCreateRequestTimezone = "AMERICA_NEW_YORK" CouponCreateRequestTimezoneAMERICAPHOENIX CouponCreateRequestTimezone = "AMERICA_PHOENIX" CouponCreateRequestTimezoneAMERICASANTIAGO CouponCreateRequestTimezone = "AMERICA_SANTIAGO" CouponCreateRequestTimezoneAMERICASAOPAULO CouponCreateRequestTimezone = "AMERICA_SAO_PAULO" CouponCreateRequestTimezoneAMERICASTJOHNS CouponCreateRequestTimezone = "AMERICA_ST_JOHNS" CouponCreateRequestTimezoneASIAALMATY CouponCreateRequestTimezone = "ASIA_ALMATY" CouponCreateRequestTimezoneASIABANGKOK CouponCreateRequestTimezone = "ASIA_BANGKOK" CouponCreateRequestTimezoneASIACOLOMBO CouponCreateRequestTimezone = "ASIA_COLOMBO" CouponCreateRequestTimezoneASIAKABUL CouponCreateRequestTimezone = "ASIA_KABUL" CouponCreateRequestTimezoneASIAKATHMANDU CouponCreateRequestTimezone = "ASIA_KATHMANDU" CouponCreateRequestTimezoneASIARANGOON CouponCreateRequestTimezone = "ASIA_RANGOON" CouponCreateRequestTimezoneASIATAIPEI CouponCreateRequestTimezone = "ASIA_TAIPEI" CouponCreateRequestTimezoneASIATASHKENT CouponCreateRequestTimezone = "ASIA_TASHKENT" CouponCreateRequestTimezoneASIATBILISI CouponCreateRequestTimezone = "ASIA_TBILISI" CouponCreateRequestTimezoneASIATEHRAN CouponCreateRequestTimezone = "ASIA_TEHRAN" CouponCreateRequestTimezoneASIATOKYO CouponCreateRequestTimezone = "ASIA_TOKYO" CouponCreateRequestTimezoneASIAVLADIVOSTOK CouponCreateRequestTimezone = "ASIA_VLADIVOSTOK" CouponCreateRequestTimezoneATLANTICCAPEVERDE CouponCreateRequestTimezone = "ATLANTIC_CAPE_VERDE" CouponCreateRequestTimezoneAUSTRALIADARWIN CouponCreateRequestTimezone = "AUSTRALIA_DARWIN" CouponCreateRequestTimezoneAUSTRALIASYDNEY CouponCreateRequestTimezone = "AUSTRALIA_SYDNEY" CouponCreateRequestTimezoneETCGMTMINUS11 CouponCreateRequestTimezone = "ETC_GMT_MINUS_11" CouponCreateRequestTimezoneETCGMTMINUS12 CouponCreateRequestTimezone = "ETC_GMT_MINUS_12" CouponCreateRequestTimezoneETCGMTMINUS2 CouponCreateRequestTimezone = "ETC_GMT_MINUS_2" CouponCreateRequestTimezoneETCGMTPLUS12 CouponCreateRequestTimezone = "ETC_GMT_PLUS_12" CouponCreateRequestTimezoneEUROPEISTANBUL CouponCreateRequestTimezone = "EUROPE_ISTANBUL" CouponCreateRequestTimezoneEUROPELONDON CouponCreateRequestTimezone = "EUROPE_LONDON" CouponCreateRequestTimezoneEUROPEMOSCOW CouponCreateRequestTimezone = "EUROPE_MOSCOW" CouponCreateRequestTimezoneEUROPEPARIS CouponCreateRequestTimezone = "EUROPE_PARIS" CouponCreateRequestTimezonePACIFICHONOLULU CouponCreateRequestTimezone = "PACIFIC_HONOLULU" CouponCreateRequestTimezonePACIFICTONGATAPU CouponCreateRequestTimezone = "PACIFIC_TONGATAPU" )
Defines values for CouponCreateRequestTimezone.
type CouponCreateRequestVisibility ¶
type CouponCreateRequestVisibility string
CouponCreateRequestVisibility Visibility of the coupon. Determines who can see or acquire the coupon.
const ( CouponCreateRequestVisibilityPUBLIC CouponCreateRequestVisibility = "PUBLIC" CouponCreateRequestVisibilityUNLISTED CouponCreateRequestVisibility = "UNLISTED" )
Defines values for CouponCreateRequestVisibility.
type CouponCreateResponse ¶
type CouponCreateResponse struct {
// CouponId Unique identifier of the coupon.
CouponId string `json:"couponId"`
}
CouponCreateResponse Response object returned after creating a coupon. Contains the coupon ID.
type CouponListResponse ¶
type CouponListResponse struct {
// CouponId Unique identifier of the coupon.
CouponId string `json:"couponId"`
// Title Title of the coupon. Displayed in the coupon list.
Title string `json:"title"`
}
CouponListResponse Summary information about a coupon, used in coupon lists.
type CouponResponse ¶
type CouponResponse struct {
AcquisitionCondition *AcquisitionConditionResponse `json:"acquisitionCondition,omitempty"`
// BarcodeImageUrl URL of the barcode image associated with the coupon. Used for in-store redemption.
BarcodeImageUrl *string `json:"barcodeImageUrl,omitempty"`
// CouponCode Unique code to be presented by the user to redeem the coupon.
CouponCode *string `json:"couponCode,omitempty"`
// CouponId Unique identifier of the coupon.
CouponId *string `json:"couponId,omitempty"`
// CreatedTimestamp Created timestamp (seconds) of the coupon.
CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"`
// Description Detailed description of the coupon. Displayed to users.
Description *string `json:"description,omitempty"`
// EndTimestamp Coupon expiration time (epoch seconds). Coupon cannot be used after this time.
EndTimestamp *int64 `json:"endTimestamp,omitempty"`
// ImageUrl URL of the main image representing the coupon. Displayed in the coupon list.
ImageUrl *string `json:"imageUrl,omitempty"`
// MaxAcquireCount Maximum number of coupons that can be issued in total.
MaxAcquireCount *int64 `json:"maxAcquireCount,omitempty"`
// MaxTicketPerUser Maximum number of coupon tickets a single user can acquire.
MaxTicketPerUser *int64 `json:"maxTicketPerUser,omitempty"`
// MaxUseCountPerTicket Maximum number of times a single coupon ticket can be used.
MaxUseCountPerTicket *int32 `json:"maxUseCountPerTicket,omitempty"`
Reward *CouponRewardResponse `json:"reward,omitempty"`
// StartTimestamp Coupon start time (epoch seconds). Coupon can be used from this time.
StartTimestamp *int64 `json:"startTimestamp,omitempty"`
// Status Current status of the coupon.
Status *CouponResponseStatus `json:"status,omitempty"`
// Timezone Timezone for interpreting start and end timestamps.
Timezone *CouponResponseTimezone `json:"timezone,omitempty"`
// Title Title of the coupon. Displayed in the coupon list.
Title *string `json:"title,omitempty"`
// UsageCondition Conditions for using the coupon. Shown to users.
UsageCondition *string `json:"usageCondition,omitempty"`
// Visibility Visibility of the coupon. Determines who can see or acquire the coupon.
Visibility *CouponResponseVisibility `json:"visibility,omitempty"`
}
CouponResponse Detailed information about a coupon, including all properties and current status.
type CouponResponseStatus ¶
type CouponResponseStatus string
CouponResponseStatus Current status of the coupon.
const ( CouponResponseStatusCLOSED CouponResponseStatus = "CLOSED" CouponResponseStatusDRAFT CouponResponseStatus = "DRAFT" CouponResponseStatusRUNNING CouponResponseStatus = "RUNNING" )
Defines values for CouponResponseStatus.
type CouponResponseTimezone ¶
type CouponResponseTimezone string
CouponResponseTimezone Timezone for interpreting start and end timestamps.
const ( CouponResponseTimezoneAMERICAANCHORAGE CouponResponseTimezone = "AMERICA_ANCHORAGE" CouponResponseTimezoneAMERICACARACAS CouponResponseTimezone = "AMERICA_CARACAS" CouponResponseTimezoneAMERICACHICAGO CouponResponseTimezone = "AMERICA_CHICAGO" CouponResponseTimezoneAMERICALOSANGELES CouponResponseTimezone = "AMERICA_LOS_ANGELES" CouponResponseTimezoneAMERICANEWYORK CouponResponseTimezone = "AMERICA_NEW_YORK" CouponResponseTimezoneAMERICAPHOENIX CouponResponseTimezone = "AMERICA_PHOENIX" CouponResponseTimezoneAMERICASANTIAGO CouponResponseTimezone = "AMERICA_SANTIAGO" CouponResponseTimezoneAMERICASAOPAULO CouponResponseTimezone = "AMERICA_SAO_PAULO" CouponResponseTimezoneAMERICASTJOHNS CouponResponseTimezone = "AMERICA_ST_JOHNS" CouponResponseTimezoneASIAALMATY CouponResponseTimezone = "ASIA_ALMATY" CouponResponseTimezoneASIABANGKOK CouponResponseTimezone = "ASIA_BANGKOK" CouponResponseTimezoneASIACOLOMBO CouponResponseTimezone = "ASIA_COLOMBO" CouponResponseTimezoneASIAKABUL CouponResponseTimezone = "ASIA_KABUL" CouponResponseTimezoneASIAKATHMANDU CouponResponseTimezone = "ASIA_KATHMANDU" CouponResponseTimezoneASIARANGOON CouponResponseTimezone = "ASIA_RANGOON" CouponResponseTimezoneASIATAIPEI CouponResponseTimezone = "ASIA_TAIPEI" CouponResponseTimezoneASIATASHKENT CouponResponseTimezone = "ASIA_TASHKENT" CouponResponseTimezoneASIATBILISI CouponResponseTimezone = "ASIA_TBILISI" CouponResponseTimezoneASIATEHRAN CouponResponseTimezone = "ASIA_TEHRAN" CouponResponseTimezoneASIATOKYO CouponResponseTimezone = "ASIA_TOKYO" CouponResponseTimezoneASIAVLADIVOSTOK CouponResponseTimezone = "ASIA_VLADIVOSTOK" CouponResponseTimezoneATLANTICCAPEVERDE CouponResponseTimezone = "ATLANTIC_CAPE_VERDE" CouponResponseTimezoneAUSTRALIADARWIN CouponResponseTimezone = "AUSTRALIA_DARWIN" CouponResponseTimezoneAUSTRALIASYDNEY CouponResponseTimezone = "AUSTRALIA_SYDNEY" CouponResponseTimezoneETCGMTMINUS11 CouponResponseTimezone = "ETC_GMT_MINUS_11" CouponResponseTimezoneETCGMTMINUS12 CouponResponseTimezone = "ETC_GMT_MINUS_12" CouponResponseTimezoneETCGMTMINUS2 CouponResponseTimezone = "ETC_GMT_MINUS_2" CouponResponseTimezoneETCGMTPLUS12 CouponResponseTimezone = "ETC_GMT_PLUS_12" CouponResponseTimezoneEUROPEISTANBUL CouponResponseTimezone = "EUROPE_ISTANBUL" CouponResponseTimezoneEUROPELONDON CouponResponseTimezone = "EUROPE_LONDON" CouponResponseTimezoneEUROPEMOSCOW CouponResponseTimezone = "EUROPE_MOSCOW" CouponResponseTimezoneEUROPEPARIS CouponResponseTimezone = "EUROPE_PARIS" CouponResponseTimezonePACIFICHONOLULU CouponResponseTimezone = "PACIFIC_HONOLULU" CouponResponseTimezonePACIFICTONGATAPU CouponResponseTimezone = "PACIFIC_TONGATAPU" )
Defines values for CouponResponseTimezone.
type CouponResponseVisibility ¶
type CouponResponseVisibility string
CouponResponseVisibility Visibility of the coupon. Determines who can see or acquire the coupon.
const ( CouponResponseVisibilityPRIVATE CouponResponseVisibility = "PRIVATE" CouponResponseVisibilityPUBLIC CouponResponseVisibility = "PUBLIC" CouponResponseVisibilityUNLISTED CouponResponseVisibility = "UNLISTED" )
Defines values for CouponResponseVisibility.
type CouponRewardRequest ¶
type CouponRewardRequest struct {
// Type Type of coupon. Determines the benefit provided.
Type string `json:"type"`
}
CouponRewardRequest defines model for CouponRewardRequest.
type CouponRewardResponse ¶
type CouponRewardResponse struct {
// Type Type of coupon. Determines the benefit provided.
Type string `json:"type"`
}
CouponRewardResponse defines model for CouponRewardResponse.
type CreateCoupon200JSONResponse ¶
type CreateCoupon200JSONResponse CouponCreateResponse
func (CreateCoupon200JSONResponse) VisitCreateCouponResponse ¶
func (response CreateCoupon200JSONResponse) VisitCreateCouponResponse(w http.ResponseWriter) error
type CreateCoupon400JSONResponse ¶
type CreateCoupon400JSONResponse ErrorResponse
func (CreateCoupon400JSONResponse) VisitCreateCouponResponse ¶
func (response CreateCoupon400JSONResponse) VisitCreateCouponResponse(w http.ResponseWriter) error
type CreateCouponJSONRequestBody ¶
type CreateCouponJSONRequestBody = CouponCreateRequest
CreateCouponJSONRequestBody defines body for CreateCoupon for application/json ContentType.
type CreateCouponRequestObject ¶
type CreateCouponRequestObject struct {
Body *CreateCouponJSONRequestBody
}
type CreateCouponResponseObject ¶
type CreateCouponResponseObject interface {
VisitCreateCouponResponse(w http.ResponseWriter) error
}
type CreateRichMenu200JSONResponse ¶
type CreateRichMenu200JSONResponse RichMenuIdResponse
func (CreateRichMenu200JSONResponse) VisitCreateRichMenuResponse ¶
func (response CreateRichMenu200JSONResponse) VisitCreateRichMenuResponse(w http.ResponseWriter) error
type CreateRichMenuAlias200Response ¶
type CreateRichMenuAlias200Response struct {
}
func (CreateRichMenuAlias200Response) VisitCreateRichMenuAliasResponse ¶
func (response CreateRichMenuAlias200Response) VisitCreateRichMenuAliasResponse(w http.ResponseWriter) error
type CreateRichMenuAlias400JSONResponse ¶
type CreateRichMenuAlias400JSONResponse ErrorResponse
func (CreateRichMenuAlias400JSONResponse) VisitCreateRichMenuAliasResponse ¶
func (response CreateRichMenuAlias400JSONResponse) VisitCreateRichMenuAliasResponse(w http.ResponseWriter) error
type CreateRichMenuAliasJSONRequestBody ¶
type CreateRichMenuAliasJSONRequestBody = CreateRichMenuAliasRequest
CreateRichMenuAliasJSONRequestBody defines body for CreateRichMenuAlias for application/json ContentType.
type CreateRichMenuAliasRequest ¶
type CreateRichMenuAliasRequest struct {
// RichMenuAliasId Rich menu alias ID, which can be any ID, unique for each channel.
RichMenuAliasId string `json:"richMenuAliasId"`
// RichMenuId The rich menu ID to be associated with the rich menu alias.
RichMenuId string `json:"richMenuId"`
}
CreateRichMenuAliasRequest defines model for CreateRichMenuAliasRequest.
type CreateRichMenuAliasRequestObject ¶
type CreateRichMenuAliasRequestObject struct {
Body *CreateRichMenuAliasJSONRequestBody
}
type CreateRichMenuAliasResponseObject ¶
type CreateRichMenuAliasResponseObject interface {
VisitCreateRichMenuAliasResponse(w http.ResponseWriter) error
}
type CreateRichMenuJSONRequestBody ¶
type CreateRichMenuJSONRequestBody = RichMenuRequest
CreateRichMenuJSONRequestBody defines body for CreateRichMenu for application/json ContentType.
type CreateRichMenuRequestObject ¶
type CreateRichMenuRequestObject struct {
Body *CreateRichMenuJSONRequestBody
}
type CreateRichMenuResponseObject ¶
type CreateRichMenuResponseObject interface {
VisitCreateRichMenuResponse(w http.ResponseWriter) error
}
type DeleteRichMenu200Response ¶
type DeleteRichMenu200Response struct {
}
func (DeleteRichMenu200Response) VisitDeleteRichMenuResponse ¶
func (response DeleteRichMenu200Response) VisitDeleteRichMenuResponse(w http.ResponseWriter) error
type DeleteRichMenuAlias200Response ¶
type DeleteRichMenuAlias200Response struct {
}
func (DeleteRichMenuAlias200Response) VisitDeleteRichMenuAliasResponse ¶
func (response DeleteRichMenuAlias200Response) VisitDeleteRichMenuAliasResponse(w http.ResponseWriter) error
type DeleteRichMenuAlias400JSONResponse ¶
type DeleteRichMenuAlias400JSONResponse ErrorResponse
func (DeleteRichMenuAlias400JSONResponse) VisitDeleteRichMenuAliasResponse ¶
func (response DeleteRichMenuAlias400JSONResponse) VisitDeleteRichMenuAliasResponse(w http.ResponseWriter) error
type DeleteRichMenuAliasRequestObject ¶
type DeleteRichMenuAliasRequestObject struct {
RichMenuAliasId string `json:"richMenuAliasId"`
}
type DeleteRichMenuAliasResponseObject ¶
type DeleteRichMenuAliasResponseObject interface {
VisitDeleteRichMenuAliasResponse(w http.ResponseWriter) error
}
type DeleteRichMenuRequestObject ¶
type DeleteRichMenuRequestObject struct {
RichMenuId string `json:"richMenuId"`
}
type DeleteRichMenuResponseObject ¶
type DeleteRichMenuResponseObject interface {
VisitDeleteRichMenuResponse(w http.ResponseWriter) error
}
type DemographicFilter ¶
type DemographicFilter struct {
// Type Type of demographic filter
Type *string `json:"type,omitempty"`
}
DemographicFilter Demographic filter
type ErrorDetail ¶
type ErrorDetail struct {
// Message Details of the error. Not included in the response under certain situations.
Message *string `json:"message,omitempty"`
// Property 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"`
}
ErrorDetail defines model for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct {
// Details An array of error details. If the array is empty, this property will not be included in the response.
Details *[]ErrorDetail `json:"details,omitempty"`
// Message Message containing information about the error.
Message string `json:"message"`
// SentMessages Array of sent messages.
SentMessages *[]SentMessage `json:"sentMessages,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type Filter ¶
type Filter struct {
// Demographic Demographic filter
Demographic *DemographicFilter `json:"demographic,omitempty"`
}
Filter Filter for narrowcast
type GetAggregationUnitNameList200JSONResponse ¶
type GetAggregationUnitNameList200JSONResponse GetAggregationUnitNameListResponse
func (GetAggregationUnitNameList200JSONResponse) VisitGetAggregationUnitNameListResponse ¶
func (response GetAggregationUnitNameList200JSONResponse) VisitGetAggregationUnitNameListResponse(w http.ResponseWriter) error
type GetAggregationUnitNameListParams ¶
type GetAggregationUnitNameListParams struct {
// Limit The maximum number of aggregation units you can get per request.
Limit *string `form:"limit,omitempty" json:"limit,omitempty"`
// Start Value of the continuation token found in the next property of the JSON object returned in the response.
// If you can't get all the aggregation units in one request, include this parameter to get the remaining array.
Start *string `form:"start,omitempty" json:"start,omitempty"`
}
GetAggregationUnitNameListParams defines parameters for GetAggregationUnitNameList.
type GetAggregationUnitNameListRequestObject ¶
type GetAggregationUnitNameListRequestObject struct {
Params GetAggregationUnitNameListParams
}
type GetAggregationUnitNameListResponse ¶
type GetAggregationUnitNameListResponse struct {
// CustomAggregationUnits An array of strings indicating the names of aggregation units used this month.
CustomAggregationUnits []string `json:"customAggregationUnits"`
// Next 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 defines model for GetAggregationUnitNameListResponse.
type GetAggregationUnitNameListResponseObject ¶
type GetAggregationUnitNameListResponseObject interface {
VisitGetAggregationUnitNameListResponse(w http.ResponseWriter) error
}
type GetAggregationUnitUsage200JSONResponse ¶
type GetAggregationUnitUsage200JSONResponse GetAggregationUnitUsageResponse
func (GetAggregationUnitUsage200JSONResponse) VisitGetAggregationUnitUsageResponse ¶
func (response GetAggregationUnitUsage200JSONResponse) VisitGetAggregationUnitUsageResponse(w http.ResponseWriter) error
type GetAggregationUnitUsageRequestObject ¶
type GetAggregationUnitUsageRequestObject struct {
}
type GetAggregationUnitUsageResponse ¶
type GetAggregationUnitUsageResponse struct {
// NumOfCustomAggregationUnits Number of aggregation units used this month.
NumOfCustomAggregationUnits int64 `json:"numOfCustomAggregationUnits"`
}
GetAggregationUnitUsageResponse defines model for GetAggregationUnitUsageResponse.
type GetAggregationUnitUsageResponseObject ¶
type GetAggregationUnitUsageResponseObject interface {
VisitGetAggregationUnitUsageResponse(w http.ResponseWriter) error
}
type GetBotInfo200JSONResponse ¶
type GetBotInfo200JSONResponse BotInfoResponse
func (GetBotInfo200JSONResponse) VisitGetBotInfoResponse ¶
func (response GetBotInfo200JSONResponse) VisitGetBotInfoResponse(w http.ResponseWriter) error
type GetBotInfoRequestObject ¶
type GetBotInfoRequestObject struct {
}
type GetBotInfoResponseObject ¶
type GetBotInfoResponseObject interface {
VisitGetBotInfoResponse(w http.ResponseWriter) error
}
type GetCouponDetail200JSONResponse ¶
type GetCouponDetail200JSONResponse CouponResponse
func (GetCouponDetail200JSONResponse) VisitGetCouponDetailResponse ¶
func (response GetCouponDetail200JSONResponse) VisitGetCouponDetailResponse(w http.ResponseWriter) error
type GetCouponDetail400JSONResponse ¶
type GetCouponDetail400JSONResponse ErrorResponse
func (GetCouponDetail400JSONResponse) VisitGetCouponDetailResponse ¶
func (response GetCouponDetail400JSONResponse) VisitGetCouponDetailResponse(w http.ResponseWriter) error
type GetCouponDetail404JSONResponse ¶
type GetCouponDetail404JSONResponse ErrorResponse
func (GetCouponDetail404JSONResponse) VisitGetCouponDetailResponse ¶
func (response GetCouponDetail404JSONResponse) VisitGetCouponDetailResponse(w http.ResponseWriter) error
type GetCouponDetailRequestObject ¶
type GetCouponDetailRequestObject struct {
CouponId string `json:"couponId"`
}
type GetCouponDetailResponseObject ¶
type GetCouponDetailResponseObject interface {
VisitGetCouponDetailResponse(w http.ResponseWriter) error
}
type GetDefaultRichMenuId200JSONResponse ¶
type GetDefaultRichMenuId200JSONResponse RichMenuIdResponse
func (GetDefaultRichMenuId200JSONResponse) VisitGetDefaultRichMenuIdResponse ¶
func (response GetDefaultRichMenuId200JSONResponse) VisitGetDefaultRichMenuIdResponse(w http.ResponseWriter) error
type GetDefaultRichMenuIdRequestObject ¶
type GetDefaultRichMenuIdRequestObject struct {
}
type GetDefaultRichMenuIdResponseObject ¶
type GetDefaultRichMenuIdResponseObject interface {
VisitGetDefaultRichMenuIdResponse(w http.ResponseWriter) error
}
type GetFollowers200JSONResponse ¶
type GetFollowers200JSONResponse GetFollowersResponse
func (GetFollowers200JSONResponse) VisitGetFollowersResponse ¶
func (response GetFollowers200JSONResponse) VisitGetFollowersResponse(w http.ResponseWriter) error
type GetFollowersParams ¶
type GetFollowersParams struct {
// Start Value of the continuation token found in the next property of the JSON object returned in the response.
// Include this parameter to get the next array of user IDs.
Start *string `form:"start,omitempty" json:"start,omitempty"`
// Limit The maximum number of user IDs to retrieve in a single request.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetFollowersParams defines parameters for GetFollowers.
type GetFollowersRequestObject ¶
type GetFollowersRequestObject struct {
Params GetFollowersParams
}
type GetFollowersResponse ¶
type GetFollowersResponse struct {
// Next 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"`
// UserIds 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`.
UserIds []string `json:"userIds"`
}
GetFollowersResponse defines model for GetFollowersResponse.
type GetFollowersResponseObject ¶
type GetFollowersResponseObject interface {
VisitGetFollowersResponse(w http.ResponseWriter) error
}
type GetGroupMemberCount200JSONResponse ¶
type GetGroupMemberCount200JSONResponse GroupMemberCountResponse
func (GetGroupMemberCount200JSONResponse) VisitGetGroupMemberCountResponse ¶
func (response GetGroupMemberCount200JSONResponse) VisitGetGroupMemberCountResponse(w http.ResponseWriter) error
type GetGroupMemberCountRequestObject ¶
type GetGroupMemberCountRequestObject struct {
GroupId string `json:"groupId"`
}
type GetGroupMemberCountResponseObject ¶
type GetGroupMemberCountResponseObject interface {
VisitGetGroupMemberCountResponse(w http.ResponseWriter) error
}
type GetGroupMemberProfile200JSONResponse ¶
type GetGroupMemberProfile200JSONResponse GroupUserProfileResponse
func (GetGroupMemberProfile200JSONResponse) VisitGetGroupMemberProfileResponse ¶
func (response GetGroupMemberProfile200JSONResponse) VisitGetGroupMemberProfileResponse(w http.ResponseWriter) error
type GetGroupMemberProfileResponseObject ¶
type GetGroupMemberProfileResponseObject interface {
VisitGetGroupMemberProfileResponse(w http.ResponseWriter) error
}
type GetGroupMembersIds200JSONResponse ¶
type GetGroupMembersIds200JSONResponse MembersIdsResponse
func (GetGroupMembersIds200JSONResponse) VisitGetGroupMembersIdsResponse ¶
func (response GetGroupMembersIds200JSONResponse) VisitGetGroupMembersIdsResponse(w http.ResponseWriter) error
type GetGroupMembersIdsParams ¶
type GetGroupMembersIdsParams struct {
// Start Value of the continuation token found in the `next` property of the JSON object returned in the response.
// Include this parameter to get the next array of user IDs for the members of the group.
Start *string `form:"start,omitempty" json:"start,omitempty"`
}
GetGroupMembersIdsParams defines parameters for GetGroupMembersIds.
type GetGroupMembersIdsRequestObject ¶
type GetGroupMembersIdsRequestObject struct {
GroupId string `json:"groupId"`
Params GetGroupMembersIdsParams
}
type GetGroupMembersIdsResponseObject ¶
type GetGroupMembersIdsResponseObject interface {
VisitGetGroupMembersIdsResponse(w http.ResponseWriter) error
}
type GetGroupSummary200JSONResponse ¶
type GetGroupSummary200JSONResponse GroupSummaryResponse
func (GetGroupSummary200JSONResponse) VisitGetGroupSummaryResponse ¶
func (response GetGroupSummary200JSONResponse) VisitGetGroupSummaryResponse(w http.ResponseWriter) error
type GetGroupSummaryRequestObject ¶
type GetGroupSummaryRequestObject struct {
GroupId string `json:"groupId"`
}
type GetGroupSummaryResponseObject ¶
type GetGroupSummaryResponseObject interface {
VisitGetGroupSummaryResponse(w http.ResponseWriter) error
}
type GetJoinedMembershipUsers200JSONResponse ¶
type GetJoinedMembershipUsers200JSONResponse GetJoinedMembershipUsersResponse
func (GetJoinedMembershipUsers200JSONResponse) VisitGetJoinedMembershipUsersResponse ¶
func (response GetJoinedMembershipUsers200JSONResponse) VisitGetJoinedMembershipUsersResponse(w http.ResponseWriter) error
type GetJoinedMembershipUsers400JSONResponse ¶
type GetJoinedMembershipUsers400JSONResponse ErrorResponse
func (GetJoinedMembershipUsers400JSONResponse) VisitGetJoinedMembershipUsersResponse ¶
func (response GetJoinedMembershipUsers400JSONResponse) VisitGetJoinedMembershipUsersResponse(w http.ResponseWriter) error
type GetJoinedMembershipUsers404JSONResponse ¶
type GetJoinedMembershipUsers404JSONResponse ErrorResponse
func (GetJoinedMembershipUsers404JSONResponse) VisitGetJoinedMembershipUsersResponse ¶
func (response GetJoinedMembershipUsers404JSONResponse) VisitGetJoinedMembershipUsersResponse(w http.ResponseWriter) error
type GetJoinedMembershipUsersParams ¶
type GetJoinedMembershipUsersParams struct {
// Start 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).
Start *string `form:"start,omitempty" json:"start,omitempty"`
// Limit The max number of items to return for this API call.
// The value is set to 300 by default, but the max acceptable value is 1000.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
GetJoinedMembershipUsersParams defines parameters for GetJoinedMembershipUsers.
type GetJoinedMembershipUsersRequestObject ¶
type GetJoinedMembershipUsersRequestObject struct {
MembershipId int `json:"membershipId"`
Params GetJoinedMembershipUsersParams
}
type GetJoinedMembershipUsersResponse ¶
type GetJoinedMembershipUsersResponse struct {
// Next 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"`
// UserIds 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.
UserIds []string `json:"userIds"`
}
GetJoinedMembershipUsersResponse List of users who have joined the membership
type GetJoinedMembershipUsersResponseObject ¶
type GetJoinedMembershipUsersResponseObject interface {
VisitGetJoinedMembershipUsersResponse(w http.ResponseWriter) error
}
type GetMembershipList200JSONResponse ¶
type GetMembershipList200JSONResponse MembershipListResponse
func (GetMembershipList200JSONResponse) VisitGetMembershipListResponse ¶
func (response GetMembershipList200JSONResponse) VisitGetMembershipListResponse(w http.ResponseWriter) error
type GetMembershipList404JSONResponse ¶
type GetMembershipList404JSONResponse ErrorResponse
func (GetMembershipList404JSONResponse) VisitGetMembershipListResponse ¶
func (response GetMembershipList404JSONResponse) VisitGetMembershipListResponse(w http.ResponseWriter) error
type GetMembershipListRequestObject ¶
type GetMembershipListRequestObject struct {
}
type GetMembershipListResponseObject ¶
type GetMembershipListResponseObject interface {
VisitGetMembershipListResponse(w http.ResponseWriter) error
}
type GetMembershipSubscription200JSONResponse ¶
type GetMembershipSubscription200JSONResponse GetMembershipSubscriptionResponse
func (GetMembershipSubscription200JSONResponse) VisitGetMembershipSubscriptionResponse ¶
func (response GetMembershipSubscription200JSONResponse) VisitGetMembershipSubscriptionResponse(w http.ResponseWriter) error
type GetMembershipSubscription400JSONResponse ¶
type GetMembershipSubscription400JSONResponse ErrorResponse
func (GetMembershipSubscription400JSONResponse) VisitGetMembershipSubscriptionResponse ¶
func (response GetMembershipSubscription400JSONResponse) VisitGetMembershipSubscriptionResponse(w http.ResponseWriter) error
type GetMembershipSubscription404JSONResponse ¶
type GetMembershipSubscription404JSONResponse ErrorResponse
func (GetMembershipSubscription404JSONResponse) VisitGetMembershipSubscriptionResponse ¶
func (response GetMembershipSubscription404JSONResponse) VisitGetMembershipSubscriptionResponse(w http.ResponseWriter) error
type GetMembershipSubscriptionRequestObject ¶
type GetMembershipSubscriptionRequestObject struct {
UserId string `json:"userId"`
}
type GetMembershipSubscriptionResponse ¶
type GetMembershipSubscriptionResponse struct {
// Subscriptions List of subscription information
Subscriptions []Subscription `json:"subscriptions"`
}
GetMembershipSubscriptionResponse A user's membership subscription status
type GetMembershipSubscriptionResponseObject ¶
type GetMembershipSubscriptionResponseObject interface {
VisitGetMembershipSubscriptionResponse(w http.ResponseWriter) error
}
type GetMessageContent200AsteriskResponse ¶
type GetMessageContent200AsteriskResponse struct {
Body io.Reader
ContentType string
ContentLength int64
}
func (GetMessageContent200AsteriskResponse) VisitGetMessageContentResponse ¶
func (response GetMessageContent200AsteriskResponse) VisitGetMessageContentResponse(w http.ResponseWriter) error
type GetMessageContentPreview200AsteriskResponse ¶
type GetMessageContentPreview200AsteriskResponse struct {
Body io.Reader
ContentType string
ContentLength int64
}
func (GetMessageContentPreview200AsteriskResponse) VisitGetMessageContentPreviewResponse ¶
func (response GetMessageContentPreview200AsteriskResponse) VisitGetMessageContentPreviewResponse(w http.ResponseWriter) error
type GetMessageContentPreviewRequestObject ¶
type GetMessageContentPreviewRequestObject struct {
MessageId string `json:"messageId"`
}
type GetMessageContentPreviewResponseObject ¶
type GetMessageContentPreviewResponseObject interface {
VisitGetMessageContentPreviewResponse(w http.ResponseWriter) error
}
type GetMessageContentRequestObject ¶
type GetMessageContentRequestObject struct {
MessageId string `json:"messageId"`
}
type GetMessageContentResponseObject ¶
type GetMessageContentResponseObject interface {
VisitGetMessageContentResponse(w http.ResponseWriter) error
}
type GetMessageContentTranscodingByMessageId200JSONResponse ¶
type GetMessageContentTranscodingByMessageId200JSONResponse GetMessageContentTranscodingResponse
func (GetMessageContentTranscodingByMessageId200JSONResponse) VisitGetMessageContentTranscodingByMessageIdResponse ¶
func (response GetMessageContentTranscodingByMessageId200JSONResponse) VisitGetMessageContentTranscodingByMessageIdResponse(w http.ResponseWriter) error
type GetMessageContentTranscodingByMessageIdRequestObject ¶
type GetMessageContentTranscodingByMessageIdRequestObject struct {
MessageId string `json:"messageId"`
}
type GetMessageContentTranscodingByMessageIdResponseObject ¶
type GetMessageContentTranscodingByMessageIdResponseObject interface {
VisitGetMessageContentTranscodingByMessageIdResponse(w http.ResponseWriter) error
}
type GetMessageContentTranscodingResponse ¶
type GetMessageContentTranscodingResponse struct {
// Status 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.
Status GetMessageContentTranscodingResponseStatus `json:"status"`
}
GetMessageContentTranscodingResponse Transcoding response
type GetMessageContentTranscodingResponseStatus ¶
type GetMessageContentTranscodingResponseStatus string
GetMessageContentTranscodingResponseStatus 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 ( GetMessageContentTranscodingResponseStatusFailed GetMessageContentTranscodingResponseStatus = "failed" GetMessageContentTranscodingResponseStatusProcessing GetMessageContentTranscodingResponseStatus = "processing" GetMessageContentTranscodingResponseStatusSucceeded GetMessageContentTranscodingResponseStatus = "succeeded" )
Defines values for GetMessageContentTranscodingResponseStatus.
type GetMessageQuota200JSONResponse ¶
type GetMessageQuota200JSONResponse MessageQuotaResponse
func (GetMessageQuota200JSONResponse) VisitGetMessageQuotaResponse ¶
func (response GetMessageQuota200JSONResponse) VisitGetMessageQuotaResponse(w http.ResponseWriter) error
type GetMessageQuotaConsumption200JSONResponse ¶
type GetMessageQuotaConsumption200JSONResponse QuotaConsumptionResponse
func (GetMessageQuotaConsumption200JSONResponse) VisitGetMessageQuotaConsumptionResponse ¶
func (response GetMessageQuotaConsumption200JSONResponse) VisitGetMessageQuotaConsumptionResponse(w http.ResponseWriter) error
type GetMessageQuotaConsumptionRequestObject ¶
type GetMessageQuotaConsumptionRequestObject struct {
}
type GetMessageQuotaConsumptionResponseObject ¶
type GetMessageQuotaConsumptionResponseObject interface {
VisitGetMessageQuotaConsumptionResponse(w http.ResponseWriter) error
}
type GetMessageQuotaRequestObject ¶
type GetMessageQuotaRequestObject struct {
}
type GetMessageQuotaResponseObject ¶
type GetMessageQuotaResponseObject interface {
VisitGetMessageQuotaResponse(w http.ResponseWriter) error
}
type GetNarrowcastProgress200JSONResponse ¶
type GetNarrowcastProgress200JSONResponse NarrowcastProgressResponse
func (GetNarrowcastProgress200JSONResponse) VisitGetNarrowcastProgressResponse ¶
func (response GetNarrowcastProgress200JSONResponse) VisitGetNarrowcastProgressResponse(w http.ResponseWriter) error
type GetNarrowcastProgressParams ¶
type GetNarrowcastProgressParams struct {
// RequestId The narrowcast message's request ID. Each Messaging API request has a request ID.
RequestId string `form:"requestId" json:"requestId"`
}
GetNarrowcastProgressParams defines parameters for GetNarrowcastProgress.
type GetNarrowcastProgressRequestObject ¶
type GetNarrowcastProgressRequestObject struct {
Params GetNarrowcastProgressParams
}
type GetNarrowcastProgressResponseObject ¶
type GetNarrowcastProgressResponseObject interface {
VisitGetNarrowcastProgressResponse(w http.ResponseWriter) error
}
type GetNumberOfSentBroadcastMessages200JSONResponse ¶
type GetNumberOfSentBroadcastMessages200JSONResponse NumberOfMessagesResponse
func (GetNumberOfSentBroadcastMessages200JSONResponse) VisitGetNumberOfSentBroadcastMessagesResponse ¶
func (response GetNumberOfSentBroadcastMessages200JSONResponse) VisitGetNumberOfSentBroadcastMessagesResponse(w http.ResponseWriter) error
type GetNumberOfSentBroadcastMessagesParams ¶
type GetNumberOfSentBroadcastMessagesParams struct {
// Date Date the messages were sent
//
// Format: yyyyMMdd (e.g. 20191231)
// Timezone: UTC+9
Date string `form:"date" json:"date"`
}
GetNumberOfSentBroadcastMessagesParams defines parameters for GetNumberOfSentBroadcastMessages.
type GetNumberOfSentBroadcastMessagesRequestObject ¶
type GetNumberOfSentBroadcastMessagesRequestObject struct {
Params GetNumberOfSentBroadcastMessagesParams
}
type GetNumberOfSentBroadcastMessagesResponseObject ¶
type GetNumberOfSentBroadcastMessagesResponseObject interface {
VisitGetNumberOfSentBroadcastMessagesResponse(w http.ResponseWriter) error
}
type GetNumberOfSentMulticastMessages200JSONResponse ¶
type GetNumberOfSentMulticastMessages200JSONResponse NumberOfMessagesResponse
func (GetNumberOfSentMulticastMessages200JSONResponse) VisitGetNumberOfSentMulticastMessagesResponse ¶
func (response GetNumberOfSentMulticastMessages200JSONResponse) VisitGetNumberOfSentMulticastMessagesResponse(w http.ResponseWriter) error
type GetNumberOfSentMulticastMessagesParams ¶
type GetNumberOfSentMulticastMessagesParams struct {
// Date Date the messages were sent
//
// Format: `yyyyMMdd` (e.g. `20191231`)
// Timezone: UTC+9
Date string `form:"date" json:"date"`
}
GetNumberOfSentMulticastMessagesParams defines parameters for GetNumberOfSentMulticastMessages.
type GetNumberOfSentMulticastMessagesRequestObject ¶
type GetNumberOfSentMulticastMessagesRequestObject struct {
Params GetNumberOfSentMulticastMessagesParams
}
type GetNumberOfSentMulticastMessagesResponseObject ¶
type GetNumberOfSentMulticastMessagesResponseObject interface {
VisitGetNumberOfSentMulticastMessagesResponse(w http.ResponseWriter) error
}
type GetNumberOfSentPushMessages200JSONResponse ¶
type GetNumberOfSentPushMessages200JSONResponse NumberOfMessagesResponse
func (GetNumberOfSentPushMessages200JSONResponse) VisitGetNumberOfSentPushMessagesResponse ¶
func (response GetNumberOfSentPushMessages200JSONResponse) VisitGetNumberOfSentPushMessagesResponse(w http.ResponseWriter) error
type GetNumberOfSentPushMessagesParams ¶
type GetNumberOfSentPushMessagesParams struct {
// Date Date the messages were sent
//
// Format: `yyyyMMdd` (e.g. `20191231`)
// Timezone: UTC+9
Date string `form:"date" json:"date"`
}
GetNumberOfSentPushMessagesParams defines parameters for GetNumberOfSentPushMessages.
type GetNumberOfSentPushMessagesRequestObject ¶
type GetNumberOfSentPushMessagesRequestObject struct {
Params GetNumberOfSentPushMessagesParams
}
type GetNumberOfSentPushMessagesResponseObject ¶
type GetNumberOfSentPushMessagesResponseObject interface {
VisitGetNumberOfSentPushMessagesResponse(w http.ResponseWriter) error
}
type GetNumberOfSentReplyMessages200JSONResponse ¶
type GetNumberOfSentReplyMessages200JSONResponse NumberOfMessagesResponse
func (GetNumberOfSentReplyMessages200JSONResponse) VisitGetNumberOfSentReplyMessagesResponse ¶
func (response GetNumberOfSentReplyMessages200JSONResponse) VisitGetNumberOfSentReplyMessagesResponse(w http.ResponseWriter) error
type GetNumberOfSentReplyMessagesParams ¶
type GetNumberOfSentReplyMessagesParams struct {
// Date Date the messages were sent
//
// Format: `yyyyMMdd` (e.g. `20191231`)
// Timezone: UTC+9
Date string `form:"date" json:"date"`
}
GetNumberOfSentReplyMessagesParams defines parameters for GetNumberOfSentReplyMessages.
type GetNumberOfSentReplyMessagesRequestObject ¶
type GetNumberOfSentReplyMessagesRequestObject struct {
Params GetNumberOfSentReplyMessagesParams
}
type GetNumberOfSentReplyMessagesResponseObject ¶
type GetNumberOfSentReplyMessagesResponseObject interface {
VisitGetNumberOfSentReplyMessagesResponse(w http.ResponseWriter) error
}
type GetPNPMessageStatistics200JSONResponse ¶
type GetPNPMessageStatistics200JSONResponse NumberOfMessagesResponse
func (GetPNPMessageStatistics200JSONResponse) VisitGetPNPMessageStatisticsResponse ¶
func (response GetPNPMessageStatistics200JSONResponse) VisitGetPNPMessageStatisticsResponse(w http.ResponseWriter) error
type GetPNPMessageStatisticsParams ¶
type GetPNPMessageStatisticsParams struct {
// Date Date the message was sent
//
// Format: `yyyyMMdd` (Example:`20211231`)
// Time zone: UTC+9
Date string `form:"date" json:"date"`
}
GetPNPMessageStatisticsParams defines parameters for GetPNPMessageStatistics.
type GetPNPMessageStatisticsRequestObject ¶
type GetPNPMessageStatisticsRequestObject struct {
Params GetPNPMessageStatisticsParams
}
type GetPNPMessageStatisticsResponseObject ¶
type GetPNPMessageStatisticsResponseObject interface {
VisitGetPNPMessageStatisticsResponse(w http.ResponseWriter) error
}
type GetProfile200JSONResponse ¶
type GetProfile200JSONResponse UserProfileResponse
func (GetProfile200JSONResponse) VisitGetProfileResponse ¶
func (response GetProfile200JSONResponse) VisitGetProfileResponse(w http.ResponseWriter) error
type GetProfileRequestObject ¶
type GetProfileRequestObject struct {
UserId string `json:"userId"`
}
type GetProfileResponseObject ¶
type GetProfileResponseObject interface {
VisitGetProfileResponse(w http.ResponseWriter) error
}
type GetRichMenu200JSONResponse ¶
type GetRichMenu200JSONResponse RichMenuResponse
func (GetRichMenu200JSONResponse) VisitGetRichMenuResponse ¶
func (response GetRichMenu200JSONResponse) VisitGetRichMenuResponse(w http.ResponseWriter) error
type GetRichMenuAlias200JSONResponse ¶
type GetRichMenuAlias200JSONResponse RichMenuAliasResponse
func (GetRichMenuAlias200JSONResponse) VisitGetRichMenuAliasResponse ¶
func (response GetRichMenuAlias200JSONResponse) VisitGetRichMenuAliasResponse(w http.ResponseWriter) error
type GetRichMenuAliasList200JSONResponse ¶
type GetRichMenuAliasList200JSONResponse RichMenuAliasListResponse
func (GetRichMenuAliasList200JSONResponse) VisitGetRichMenuAliasListResponse ¶
func (response GetRichMenuAliasList200JSONResponse) VisitGetRichMenuAliasListResponse(w http.ResponseWriter) error
type GetRichMenuAliasListRequestObject ¶
type GetRichMenuAliasListRequestObject struct {
}
type GetRichMenuAliasListResponseObject ¶
type GetRichMenuAliasListResponseObject interface {
VisitGetRichMenuAliasListResponse(w http.ResponseWriter) error
}
type GetRichMenuAliasRequestObject ¶
type GetRichMenuAliasRequestObject struct {
RichMenuAliasId string `json:"richMenuAliasId"`
}
type GetRichMenuAliasResponseObject ¶
type GetRichMenuAliasResponseObject interface {
VisitGetRichMenuAliasResponse(w http.ResponseWriter) error
}
type GetRichMenuBatchProgress200JSONResponse ¶
type GetRichMenuBatchProgress200JSONResponse RichMenuBatchProgressResponse
func (GetRichMenuBatchProgress200JSONResponse) VisitGetRichMenuBatchProgressResponse ¶
func (response GetRichMenuBatchProgress200JSONResponse) VisitGetRichMenuBatchProgressResponse(w http.ResponseWriter) error
type GetRichMenuBatchProgressParams ¶
type GetRichMenuBatchProgressParams struct {
// RequestId A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID.
RequestId string `form:"requestId" json:"requestId"`
}
GetRichMenuBatchProgressParams defines parameters for GetRichMenuBatchProgress.
type GetRichMenuBatchProgressRequestObject ¶
type GetRichMenuBatchProgressRequestObject struct {
Params GetRichMenuBatchProgressParams
}
type GetRichMenuBatchProgressResponseObject ¶
type GetRichMenuBatchProgressResponseObject interface {
VisitGetRichMenuBatchProgressResponse(w http.ResponseWriter) error
}
type GetRichMenuIdOfUser200JSONResponse ¶
type GetRichMenuIdOfUser200JSONResponse RichMenuIdResponse
func (GetRichMenuIdOfUser200JSONResponse) VisitGetRichMenuIdOfUserResponse ¶
func (response GetRichMenuIdOfUser200JSONResponse) VisitGetRichMenuIdOfUserResponse(w http.ResponseWriter) error
type GetRichMenuIdOfUserRequestObject ¶
type GetRichMenuIdOfUserRequestObject struct {
UserId string `json:"userId"`
}
type GetRichMenuIdOfUserResponseObject ¶
type GetRichMenuIdOfUserResponseObject interface {
VisitGetRichMenuIdOfUserResponse(w http.ResponseWriter) error
}
type GetRichMenuImage200AsteriskResponse ¶
type GetRichMenuImage200AsteriskResponse struct {
Body io.Reader
ContentType string
ContentLength int64
}
func (GetRichMenuImage200AsteriskResponse) VisitGetRichMenuImageResponse ¶
func (response GetRichMenuImage200AsteriskResponse) VisitGetRichMenuImageResponse(w http.ResponseWriter) error
type GetRichMenuImageRequestObject ¶
type GetRichMenuImageRequestObject struct {
RichMenuId string `json:"richMenuId"`
}
type GetRichMenuImageResponseObject ¶
type GetRichMenuImageResponseObject interface {
VisitGetRichMenuImageResponse(w http.ResponseWriter) error
}
type GetRichMenuList200JSONResponse ¶
type GetRichMenuList200JSONResponse RichMenuListResponse
func (GetRichMenuList200JSONResponse) VisitGetRichMenuListResponse ¶
func (response GetRichMenuList200JSONResponse) VisitGetRichMenuListResponse(w http.ResponseWriter) error
type GetRichMenuListRequestObject ¶
type GetRichMenuListRequestObject struct {
}
type GetRichMenuListResponseObject ¶
type GetRichMenuListResponseObject interface {
VisitGetRichMenuListResponse(w http.ResponseWriter) error
}
type GetRichMenuRequestObject ¶
type GetRichMenuRequestObject struct {
RichMenuId string `json:"richMenuId"`
}
type GetRichMenuResponseObject ¶
type GetRichMenuResponseObject interface {
VisitGetRichMenuResponse(w http.ResponseWriter) error
}
type GetRoomMemberCount200JSONResponse ¶
type GetRoomMemberCount200JSONResponse RoomMemberCountResponse
func (GetRoomMemberCount200JSONResponse) VisitGetRoomMemberCountResponse ¶
func (response GetRoomMemberCount200JSONResponse) VisitGetRoomMemberCountResponse(w http.ResponseWriter) error
type GetRoomMemberCountRequestObject ¶
type GetRoomMemberCountRequestObject struct {
RoomId string `json:"roomId"`
}
type GetRoomMemberCountResponseObject ¶
type GetRoomMemberCountResponseObject interface {
VisitGetRoomMemberCountResponse(w http.ResponseWriter) error
}
type GetRoomMemberProfile200JSONResponse ¶
type GetRoomMemberProfile200JSONResponse RoomUserProfileResponse
func (GetRoomMemberProfile200JSONResponse) VisitGetRoomMemberProfileResponse ¶
func (response GetRoomMemberProfile200JSONResponse) VisitGetRoomMemberProfileResponse(w http.ResponseWriter) error
type GetRoomMemberProfileResponseObject ¶
type GetRoomMemberProfileResponseObject interface {
VisitGetRoomMemberProfileResponse(w http.ResponseWriter) error
}
type GetRoomMembersIds200JSONResponse ¶
type GetRoomMembersIds200JSONResponse MembersIdsResponse
func (GetRoomMembersIds200JSONResponse) VisitGetRoomMembersIdsResponse ¶
func (response GetRoomMembersIds200JSONResponse) VisitGetRoomMembersIdsResponse(w http.ResponseWriter) error
type GetRoomMembersIdsParams ¶
type GetRoomMembersIdsParams struct {
// Start Value of the continuation token found in the `next` property of the JSON object returned in the response.
// Include this parameter to get the next array of user IDs for the members of the group.
Start *string `form:"start,omitempty" json:"start,omitempty"`
}
GetRoomMembersIdsParams defines parameters for GetRoomMembersIds.
type GetRoomMembersIdsRequestObject ¶
type GetRoomMembersIdsRequestObject struct {
RoomId string `json:"roomId"`
Params GetRoomMembersIdsParams
}
type GetRoomMembersIdsResponseObject ¶
type GetRoomMembersIdsResponseObject interface {
VisitGetRoomMembersIdsResponse(w http.ResponseWriter) error
}
type GetWebhookEndpoint200JSONResponse ¶
type GetWebhookEndpoint200JSONResponse GetWebhookEndpointResponse
func (GetWebhookEndpoint200JSONResponse) VisitGetWebhookEndpointResponse ¶
func (response GetWebhookEndpoint200JSONResponse) VisitGetWebhookEndpointResponse(w http.ResponseWriter) error
type GetWebhookEndpointRequestObject ¶
type GetWebhookEndpointRequestObject struct {
}
type GetWebhookEndpointResponse ¶
type GetWebhookEndpointResponse struct {
// Active 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.
Active bool `json:"active"`
// Endpoint Webhook URL
Endpoint string `json:"endpoint"`
}
GetWebhookEndpointResponse defines model for GetWebhookEndpointResponse.
type GetWebhookEndpointResponseObject ¶
type GetWebhookEndpointResponseObject interface {
VisitGetWebhookEndpointResponse(w http.ResponseWriter) error
}
type GroupMemberCountResponse ¶
type GroupMemberCountResponse struct {
// Count The count of members in the group chat. The number returned excludes the LINE Official Account.
Count int32 `json:"count"`
}
GroupMemberCountResponse defines model for GroupMemberCountResponse.
type GroupSummaryResponse ¶
type GroupSummaryResponse struct {
// GroupId Group ID
GroupId string `json:"groupId"`
// GroupName Group name
GroupName string `json:"groupName"`
// PictureUrl Group icon URL. Not included in the response if the user doesn't set a group profile icon.
PictureUrl *string `json:"pictureUrl,omitempty"`
}
GroupSummaryResponse defines model for GroupSummaryResponse.
type GroupUserProfileResponse ¶
type GroupUserProfileResponse struct {
// DisplayName User's display name
DisplayName string `json:"displayName"`
// PictureUrl 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"`
// UserId User ID
UserId string `json:"userId"`
}
GroupUserProfileResponse defines model for GroupUserProfileResponse.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type IssueLinkToken200JSONResponse ¶
type IssueLinkToken200JSONResponse IssueLinkTokenResponse
func (IssueLinkToken200JSONResponse) VisitIssueLinkTokenResponse ¶
func (response IssueLinkToken200JSONResponse) VisitIssueLinkTokenResponse(w http.ResponseWriter) error
type IssueLinkTokenRequestObject ¶
type IssueLinkTokenRequestObject struct {
UserId string `json:"userId"`
}
type IssueLinkTokenResponse ¶
type IssueLinkTokenResponse struct {
// LinkToken Link token.
// Link tokens are valid for 10 minutes and can only be used once.
//
LinkToken string `json:"linkToken"`
}
IssueLinkTokenResponse defines model for IssueLinkTokenResponse.
type IssueLinkTokenResponseObject ¶
type IssueLinkTokenResponseObject interface {
VisitIssueLinkTokenResponse(w http.ResponseWriter) error
}
type LeaveGroup200Response ¶
type LeaveGroup200Response struct {
}
func (LeaveGroup200Response) VisitLeaveGroupResponse ¶
func (response LeaveGroup200Response) VisitLeaveGroupResponse(w http.ResponseWriter) error
type LeaveGroup400JSONResponse ¶
type LeaveGroup400JSONResponse ErrorResponse
func (LeaveGroup400JSONResponse) VisitLeaveGroupResponse ¶
func (response LeaveGroup400JSONResponse) VisitLeaveGroupResponse(w http.ResponseWriter) error
type LeaveGroup404JSONResponse ¶
type LeaveGroup404JSONResponse ErrorResponse
func (LeaveGroup404JSONResponse) VisitLeaveGroupResponse ¶
func (response LeaveGroup404JSONResponse) VisitLeaveGroupResponse(w http.ResponseWriter) error
type LeaveGroupRequestObject ¶
type LeaveGroupRequestObject struct {
GroupId string `json:"groupId"`
}
type LeaveGroupResponseObject ¶
type LeaveGroupResponseObject interface {
VisitLeaveGroupResponse(w http.ResponseWriter) error
}
type LeaveRoom200Response ¶
type LeaveRoom200Response struct {
}
func (LeaveRoom200Response) VisitLeaveRoomResponse ¶
func (response LeaveRoom200Response) VisitLeaveRoomResponse(w http.ResponseWriter) error
type LeaveRoomRequestObject ¶
type LeaveRoomRequestObject struct {
RoomId string `json:"roomId"`
}
type LeaveRoomResponseObject ¶
type LeaveRoomResponseObject interface {
VisitLeaveRoomResponse(w http.ResponseWriter) error
}
type Limit ¶
type Limit struct {
// Max 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.
Max *int32 `json:"max,omitempty"`
// UpToRemainingQuota 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,omitempty"`
}
Limit Limit of the Narrowcast
type LinkRichMenuIdToUser200Response ¶
type LinkRichMenuIdToUser200Response struct {
}
func (LinkRichMenuIdToUser200Response) VisitLinkRichMenuIdToUserResponse ¶
func (response LinkRichMenuIdToUser200Response) VisitLinkRichMenuIdToUserResponse(w http.ResponseWriter) error
type LinkRichMenuIdToUserResponseObject ¶
type LinkRichMenuIdToUserResponseObject interface {
VisitLinkRichMenuIdToUserResponse(w http.ResponseWriter) error
}
type LinkRichMenuIdToUsers202Response ¶
type LinkRichMenuIdToUsers202Response struct {
}
func (LinkRichMenuIdToUsers202Response) VisitLinkRichMenuIdToUsersResponse ¶
func (response LinkRichMenuIdToUsers202Response) VisitLinkRichMenuIdToUsersResponse(w http.ResponseWriter) error
type LinkRichMenuIdToUsersJSONRequestBody ¶
type LinkRichMenuIdToUsersJSONRequestBody = RichMenuBulkLinkRequest
LinkRichMenuIdToUsersJSONRequestBody defines body for LinkRichMenuIdToUsers for application/json ContentType.
type LinkRichMenuIdToUsersRequestObject ¶
type LinkRichMenuIdToUsersRequestObject struct {
Body *LinkRichMenuIdToUsersJSONRequestBody
}
type LinkRichMenuIdToUsersResponseObject ¶
type LinkRichMenuIdToUsersResponseObject interface {
VisitLinkRichMenuIdToUsersResponse(w http.ResponseWriter) error
}
type ListCoupon200JSONResponse ¶
type ListCoupon200JSONResponse MessagingApiPagerCouponListResponse
func (ListCoupon200JSONResponse) VisitListCouponResponse ¶
func (response ListCoupon200JSONResponse) VisitListCouponResponse(w http.ResponseWriter) error
type ListCoupon400JSONResponse ¶
type ListCoupon400JSONResponse ErrorResponse
func (ListCoupon400JSONResponse) VisitListCouponResponse ¶
func (response ListCoupon400JSONResponse) VisitListCouponResponse(w http.ResponseWriter) error
type ListCouponParams ¶
type ListCouponParams struct {
// Status Filter coupons by their status.
Status *[]ListCouponParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Start Pagination token to retrieve the next page of results.
Start *string `form:"start,omitempty" json:"start,omitempty"`
// Limit Maximum number of coupons to return per request.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCouponParams defines parameters for ListCoupon.
type ListCouponParamsStatus ¶
type ListCouponParamsStatus string
ListCouponParamsStatus defines parameters for ListCoupon.
const ( ListCouponParamsStatusCLOSED ListCouponParamsStatus = "CLOSED" ListCouponParamsStatusDRAFT ListCouponParamsStatus = "DRAFT" ListCouponParamsStatusRUNNING ListCouponParamsStatus = "RUNNING" )
Defines values for ListCouponParamsStatus.
type ListCouponRequestObject ¶
type ListCouponRequestObject struct {
Params ListCouponParams
}
type ListCouponResponseObject ¶
type ListCouponResponseObject interface {
VisitListCouponResponse(w http.ResponseWriter) error
}
type MarkMessagesAsRead200Response ¶
type MarkMessagesAsRead200Response struct {
}
func (MarkMessagesAsRead200Response) VisitMarkMessagesAsReadResponse ¶
func (response MarkMessagesAsRead200Response) VisitMarkMessagesAsReadResponse(w http.ResponseWriter) error
type MarkMessagesAsReadJSONRequestBody ¶
type MarkMessagesAsReadJSONRequestBody = MarkMessagesAsReadRequest
MarkMessagesAsReadJSONRequestBody defines body for MarkMessagesAsRead for application/json ContentType.
type MarkMessagesAsReadRequest ¶
type MarkMessagesAsReadRequest struct {
// Chat Chat reference
Chat ChatReference `json:"chat"`
}
MarkMessagesAsReadRequest defines model for MarkMessagesAsReadRequest.
type MarkMessagesAsReadRequestObject ¶
type MarkMessagesAsReadRequestObject struct {
Body *MarkMessagesAsReadJSONRequestBody
}
type MarkMessagesAsReadResponseObject ¶
type MarkMessagesAsReadResponseObject interface {
VisitMarkMessagesAsReadResponse(w http.ResponseWriter) error
}
type MembersIdsResponse ¶
type MembersIdsResponse struct {
// MemberIds List of user IDs of members in the group chat. Only users of LINE for iOS and LINE for Android are included in `memberIds`.
MemberIds []string `json:"memberIds"`
// Next 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"`
}
MembersIdsResponse defines model for MembersIdsResponse.
type Membership ¶
type Membership struct {
// Benefits List of membership plan perks.
Benefits []string `json:"benefits"`
// Currency The currency of membership.price.
Currency MembershipCurrency `json:"currency"`
// Description Membership plan description.
Description string `json:"description"`
// IsInAppPurchase Payment method for users who subscribe to a membership plan.
IsInAppPurchase bool `json:"isInAppPurchase"`
// IsPublished Membership plan status.
IsPublished bool `json:"isPublished"`
// MemberCount Number of members subscribed to the membership plan.
MemberCount int `json:"memberCount"`
// MemberLimit The upper limit of members who can subscribe. If no upper limit is set, it will be null.
MemberLimit *int `json:"memberLimit"`
// MembershipId Membership plan ID.
MembershipId int `json:"membershipId"`
// Price Monthly fee for membership plan. (e.g. 1500.00)
Price float64 `json:"price"`
// Title Membership plan name.
Title string `json:"title"`
}
Membership defines model for Membership.
type MembershipCurrency ¶
type MembershipCurrency string
MembershipCurrency The currency of membership.price.
const ( MembershipCurrencyJPY MembershipCurrency = "JPY" MembershipCurrencyTHB MembershipCurrency = "THB" MembershipCurrencyTWD MembershipCurrency = "TWD" )
Defines values for MembershipCurrency.
type MembershipListResponse ¶
type MembershipListResponse struct {
// Memberships List of membership information
Memberships []Membership `json:"memberships"`
}
MembershipListResponse List of memberships
type Message ¶
type Message struct {
// QuickReply Quick reply
QuickReply *QuickReply `json:"quickReply,omitempty"`
// Sender Change icon and display name
Sender *Sender `json:"sender,omitempty"`
// Type Type of message
Type string `json:"type"`
}
Message defines model for Message.
type MessageQuotaResponse ¶
type MessageQuotaResponse struct {
// Type One of the following values to indicate whether a target limit is set or not.
Type QuotaType `json:"type"`
// Value 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,omitempty"`
}
MessageQuotaResponse defines model for MessageQuotaResponse.
type MessagingApiPagerCouponListResponse ¶
type MessagingApiPagerCouponListResponse struct {
// Items List of coupon summary objects.
Items []CouponListResponse `json:"items"`
// Next Token for fetching the next page of results.
Next *string `json:"next,omitempty"`
}
MessagingApiPagerCouponListResponse Paginated response object containing a list of coupons.
type Multicast200JSONResponse ¶
type Multicast200JSONResponse MulticastResponse
func (Multicast200JSONResponse) VisitMulticastResponse ¶
func (response Multicast200JSONResponse) VisitMulticastResponse(w http.ResponseWriter) error
type Multicast400JSONResponse ¶
type Multicast400JSONResponse ErrorResponse
func (Multicast400JSONResponse) VisitMulticastResponse ¶
func (response Multicast400JSONResponse) VisitMulticastResponse(w http.ResponseWriter) error
type Multicast403JSONResponse ¶
type Multicast403JSONResponse ErrorResponse
func (Multicast403JSONResponse) VisitMulticastResponse ¶
func (response Multicast403JSONResponse) VisitMulticastResponse(w http.ResponseWriter) error
type Multicast409JSONResponse ¶
type Multicast409JSONResponse ErrorResponse
func (Multicast409JSONResponse) VisitMulticastResponse ¶
func (response Multicast409JSONResponse) VisitMulticastResponse(w http.ResponseWriter) error
type Multicast429JSONResponse ¶
type Multicast429JSONResponse ErrorResponse
func (Multicast429JSONResponse) VisitMulticastResponse ¶
func (response Multicast429JSONResponse) VisitMulticastResponse(w http.ResponseWriter) error
type MulticastJSONRequestBody ¶
type MulticastJSONRequestBody = MulticastRequest
MulticastJSONRequestBody defines body for Multicast for application/json ContentType.
type MulticastParams ¶
type MulticastParams struct {
// XLineRetryKey Retry key.
// Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method.
// The retry key isn't generated by LINE. Each developer must generate their own retry key.
XLineRetryKey *openapi_types.UUID `json:"X-Line-Retry-Key,omitempty"`
}
MulticastParams defines parameters for Multicast.
type MulticastRequest ¶
type MulticastRequest struct {
// CustomAggregationUnits Name of aggregation unit. Case-sensitive.
CustomAggregationUnits *[]string `json:"customAggregationUnits,omitempty"`
// Messages Messages to send
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
// To Array of user IDs. Use userId values which are returned in webhook event objects. Do not use LINE IDs found on LINE.
To []string `json:"to"`
}
MulticastRequest defines model for MulticastRequest.
type MulticastRequestObject ¶
type MulticastRequestObject struct {
Params MulticastParams
Body *MulticastJSONRequestBody
}
type MulticastResponse ¶
type MulticastResponse = map[string]interface{}
MulticastResponse defines model for MulticastResponse.
type MulticastResponseObject ¶
type MulticastResponseObject interface {
VisitMulticastResponse(w http.ResponseWriter) error
}
type Narrowcast202JSONResponse ¶
type Narrowcast202JSONResponse NarrowcastResponse
func (Narrowcast202JSONResponse) VisitNarrowcastResponse ¶
func (response Narrowcast202JSONResponse) VisitNarrowcastResponse(w http.ResponseWriter) error
type Narrowcast400JSONResponse ¶
type Narrowcast400JSONResponse ErrorResponse
func (Narrowcast400JSONResponse) VisitNarrowcastResponse ¶
func (response Narrowcast400JSONResponse) VisitNarrowcastResponse(w http.ResponseWriter) error
type Narrowcast403JSONResponse ¶
type Narrowcast403JSONResponse ErrorResponse
func (Narrowcast403JSONResponse) VisitNarrowcastResponse ¶
func (response Narrowcast403JSONResponse) VisitNarrowcastResponse(w http.ResponseWriter) error
type Narrowcast409JSONResponse ¶
type Narrowcast409JSONResponse ErrorResponse
func (Narrowcast409JSONResponse) VisitNarrowcastResponse ¶
func (response Narrowcast409JSONResponse) VisitNarrowcastResponse(w http.ResponseWriter) error
type Narrowcast429JSONResponse ¶
type Narrowcast429JSONResponse ErrorResponse
func (Narrowcast429JSONResponse) VisitNarrowcastResponse ¶
func (response Narrowcast429JSONResponse) VisitNarrowcastResponse(w http.ResponseWriter) error
type NarrowcastJSONRequestBody ¶
type NarrowcastJSONRequestBody = NarrowcastRequest
NarrowcastJSONRequestBody defines body for Narrowcast for application/json ContentType.
type NarrowcastParams ¶
type NarrowcastParams struct {
// XLineRetryKey Retry key.
// Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method.
// The retry key isn't generated by LINE. Each developer must generate their own retry key.
XLineRetryKey *openapi_types.UUID `json:"X-Line-Retry-Key,omitempty"`
}
NarrowcastParams defines parameters for Narrowcast.
type NarrowcastProgressResponse ¶
type NarrowcastProgressResponse struct {
// AcceptedTime Narrowcast message request accepted time in milliseconds.
//
// Format: ISO 8601 (e.g. 2020-12-03T10:15:30.121Z)
// Timezone: UTC
AcceptedTime time.Time `json:"acceptedTime"`
// CompletedTime 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"`
// ErrorCode 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,omitempty"`
// FailedDescription The reason the message failed to be sent. This is only included with a `phase` property value of `failed`.
FailedDescription *string `json:"failedDescription,omitempty"`
// FailureCount The number of users who failed to send the message.
FailureCount *int64 `json:"failureCount,omitempty"`
// Phase 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.
Phase NarrowcastProgressResponsePhase `json:"phase"`
// SuccessCount The number of users who successfully received the message.
SuccessCount *int64 `json:"successCount,omitempty"`
// TargetCount The number of intended recipients of the message.
TargetCount *int64 `json:"targetCount,omitempty"`
}
NarrowcastProgressResponse defines model for NarrowcastProgressResponse.
type NarrowcastProgressResponsePhase ¶
type NarrowcastProgressResponsePhase string
NarrowcastProgressResponsePhase 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 ( NarrowcastProgressResponsePhaseFailed NarrowcastProgressResponsePhase = "failed" NarrowcastProgressResponsePhaseSending NarrowcastProgressResponsePhase = "sending" NarrowcastProgressResponsePhaseSucceeded NarrowcastProgressResponsePhase = "succeeded" NarrowcastProgressResponsePhaseWaiting NarrowcastProgressResponsePhase = "waiting" )
Defines values for NarrowcastProgressResponsePhase.
type NarrowcastRequest ¶
type NarrowcastRequest struct {
// Filter Filter for narrowcast
Filter *Filter `json:"filter,omitempty"`
// Limit Limit of the Narrowcast
Limit *Limit `json:"limit,omitempty"`
// Messages List of Message objects.
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
// Recipient Recipient
Recipient *Recipient `json:"recipient,omitempty"`
}
NarrowcastRequest defines model for NarrowcastRequest.
type NarrowcastRequestObject ¶
type NarrowcastRequestObject struct {
Params NarrowcastParams
Body *NarrowcastJSONRequestBody
}
type NarrowcastResponse ¶
type NarrowcastResponse = map[string]interface{}
NarrowcastResponse defines model for NarrowcastResponse.
type NarrowcastResponseObject ¶
type NarrowcastResponseObject interface {
VisitNarrowcastResponse(w http.ResponseWriter) error
}
type NotificationDisabled ¶
type NotificationDisabled = bool
NotificationDisabled `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.
type NumberOfMessagesResponse ¶
type NumberOfMessagesResponse struct {
// Status 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).
Status NumberOfMessagesResponseStatus `json:"status"`
// Success 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,omitempty"`
}
NumberOfMessagesResponse defines model for NumberOfMessagesResponse.
type NumberOfMessagesResponseStatus ¶
type NumberOfMessagesResponseStatus string
NumberOfMessagesResponseStatus 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 ( OutOfService NumberOfMessagesResponseStatus = "out_of_service" Ready NumberOfMessagesResponseStatus = "ready" Unready NumberOfMessagesResponseStatus = "unready" )
Defines values for NumberOfMessagesResponseStatus.
type PnpMessagesRequest ¶
type PnpMessagesRequest struct {
// Messages Message to be sent.
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
// To Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256.
To string `json:"to"`
}
PnpMessagesRequest defines model for PnpMessagesRequest.
type PushMessage200JSONResponse ¶
type PushMessage200JSONResponse PushMessageResponse
func (PushMessage200JSONResponse) VisitPushMessageResponse ¶
func (response PushMessage200JSONResponse) VisitPushMessageResponse(w http.ResponseWriter) error
type PushMessage400JSONResponse ¶
type PushMessage400JSONResponse ErrorResponse
func (PushMessage400JSONResponse) VisitPushMessageResponse ¶
func (response PushMessage400JSONResponse) VisitPushMessageResponse(w http.ResponseWriter) error
type PushMessage403JSONResponse ¶
type PushMessage403JSONResponse ErrorResponse
func (PushMessage403JSONResponse) VisitPushMessageResponse ¶
func (response PushMessage403JSONResponse) VisitPushMessageResponse(w http.ResponseWriter) error
type PushMessage409JSONResponse ¶
type PushMessage409JSONResponse ErrorResponse
func (PushMessage409JSONResponse) VisitPushMessageResponse ¶
func (response PushMessage409JSONResponse) VisitPushMessageResponse(w http.ResponseWriter) error
type PushMessage429JSONResponse ¶
type PushMessage429JSONResponse ErrorResponse
func (PushMessage429JSONResponse) VisitPushMessageResponse ¶
func (response PushMessage429JSONResponse) VisitPushMessageResponse(w http.ResponseWriter) error
type PushMessageJSONRequestBody ¶
type PushMessageJSONRequestBody = PushMessageRequest
PushMessageJSONRequestBody defines body for PushMessage for application/json ContentType.
type PushMessageParams ¶
type PushMessageParams struct {
// XLineRetryKey Retry key.
// Specifies the UUID in hexadecimal format (e.g., `123e4567-e89b-12d3-a456-426614174000`) generated by any method.
// The retry key isn't generated by LINE. Each developer must generate their own retry key.
XLineRetryKey *openapi_types.UUID `json:"X-Line-Retry-Key,omitempty"`
}
PushMessageParams defines parameters for PushMessage.
type PushMessageRequest ¶
type PushMessageRequest struct {
// CustomAggregationUnits 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,omitempty"`
// Messages List of Message objects.
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
// To ID of the receiver.
To string `json:"to"`
}
PushMessageRequest defines model for PushMessageRequest.
type PushMessageRequestObject ¶
type PushMessageRequestObject struct {
Params PushMessageParams
Body *PushMessageJSONRequestBody
}
type PushMessageResponse ¶
type PushMessageResponse struct {
// SentMessages Array of sent messages.
SentMessages []SentMessage `json:"sentMessages"`
}
PushMessageResponse defines model for PushMessageResponse.
type PushMessageResponseObject ¶
type PushMessageResponseObject interface {
VisitPushMessageResponse(w http.ResponseWriter) error
}
type PushMessagesByPhone200Response ¶
type PushMessagesByPhone200Response struct {
}
func (PushMessagesByPhone200Response) VisitPushMessagesByPhoneResponse ¶
func (response PushMessagesByPhone200Response) VisitPushMessagesByPhoneResponse(w http.ResponseWriter) error
type PushMessagesByPhone422JSONResponse ¶
type PushMessagesByPhone422JSONResponse ErrorResponse
func (PushMessagesByPhone422JSONResponse) VisitPushMessagesByPhoneResponse ¶
func (response PushMessagesByPhone422JSONResponse) VisitPushMessagesByPhoneResponse(w http.ResponseWriter) error
type PushMessagesByPhoneJSONRequestBody ¶
type PushMessagesByPhoneJSONRequestBody = PnpMessagesRequest
PushMessagesByPhoneJSONRequestBody defines body for PushMessagesByPhone for application/json ContentType.
type PushMessagesByPhoneParams ¶
type PushMessagesByPhoneParams struct {
// XLineDeliveryTag String returned in the delivery.data property of the delivery completion event via Webhook.
XLineDeliveryTag *string `json:"X-Line-Delivery-Tag,omitempty"`
}
PushMessagesByPhoneParams defines parameters for PushMessagesByPhone.
type PushMessagesByPhoneRequestObject ¶
type PushMessagesByPhoneRequestObject struct {
Params PushMessagesByPhoneParams
Body *PushMessagesByPhoneJSONRequestBody
}
type PushMessagesByPhoneResponseObject ¶
type PushMessagesByPhoneResponseObject interface {
VisitPushMessagesByPhoneResponse(w http.ResponseWriter) error
}
type QuickReply ¶
type QuickReply struct {
// Items Quick reply button objects.
Items *[]QuickReplyItem `json:"items,omitempty"`
}
QuickReply Quick reply
type QuickReplyItem ¶
type QuickReplyItem struct {
// Action Action
Action *Action `json:"action,omitempty"`
// ImageUrl URL of the icon that is displayed at the beginning of the button
ImageUrl *string `json:"imageUrl,omitempty"`
// Type `action`
Type *string `json:"type,omitempty"`
}
QuickReplyItem defines model for QuickReplyItem.
type QuotaConsumptionResponse ¶
type QuotaConsumptionResponse struct {
// TotalUsage The number of sent messages in the current month
TotalUsage int64 `json:"totalUsage"`
}
QuotaConsumptionResponse defines model for QuotaConsumptionResponse.
type QuotaType ¶
type QuotaType string
QuotaType One of the following values to indicate whether a target limit is set or not.
type Recipient ¶
type Recipient struct {
// Type Type of recipient
Type *string `json:"type,omitempty"`
}
Recipient Recipient
type ReplyMessage200JSONResponse ¶
type ReplyMessage200JSONResponse ReplyMessageResponse
func (ReplyMessage200JSONResponse) VisitReplyMessageResponse ¶
func (response ReplyMessage200JSONResponse) VisitReplyMessageResponse(w http.ResponseWriter) error
type ReplyMessage400JSONResponse ¶
type ReplyMessage400JSONResponse ErrorResponse
func (ReplyMessage400JSONResponse) VisitReplyMessageResponse ¶
func (response ReplyMessage400JSONResponse) VisitReplyMessageResponse(w http.ResponseWriter) error
type ReplyMessage429JSONResponse ¶
type ReplyMessage429JSONResponse ErrorResponse
func (ReplyMessage429JSONResponse) VisitReplyMessageResponse ¶
func (response ReplyMessage429JSONResponse) VisitReplyMessageResponse(w http.ResponseWriter) error
type ReplyMessageJSONRequestBody ¶
type ReplyMessageJSONRequestBody = ReplyMessageRequest
ReplyMessageJSONRequestBody defines body for ReplyMessage for application/json ContentType.
type ReplyMessageRequest ¶
type ReplyMessageRequest struct {
// Messages List of messages.
Messages []Message `json:"messages"`
// NotificationDisabled `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 *NotificationDisabled `json:"notificationDisabled,omitempty"`
// ReplyToken replyToken received via webhook.
ReplyToken string `json:"replyToken"`
}
ReplyMessageRequest defines model for ReplyMessageRequest.
type ReplyMessageRequestObject ¶
type ReplyMessageRequestObject struct {
Body *ReplyMessageJSONRequestBody
}
type ReplyMessageResponse ¶
type ReplyMessageResponse struct {
// SentMessages Array of sent messages.
SentMessages []SentMessage `json:"sentMessages"`
}
ReplyMessageResponse defines model for ReplyMessageResponse.
type ReplyMessageResponseObject ¶
type ReplyMessageResponseObject interface {
VisitReplyMessageResponse(w http.ResponseWriter) error
}
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type RichMenuAliasListResponse ¶
type RichMenuAliasListResponse struct {
// Aliases Rich menu aliases.
Aliases []RichMenuAliasResponse `json:"aliases"`
}
RichMenuAliasListResponse defines model for RichMenuAliasListResponse.
type RichMenuAliasResponse ¶
type RichMenuAliasResponse struct {
// RichMenuAliasId Rich menu alias ID.
RichMenuAliasId string `json:"richMenuAliasId"`
// RichMenuId The rich menu ID associated with the rich menu alias.
RichMenuId string `json:"richMenuId"`
}
RichMenuAliasResponse defines model for RichMenuAliasResponse.
type RichMenuArea ¶
type RichMenuArea struct {
// Action Action
Action *Action `json:"action,omitempty"`
// Bounds Rich menu bounds
Bounds *RichMenuBounds `json:"bounds,omitempty"`
}
RichMenuArea Rich menu area
type RichMenuBatch202Response ¶
type RichMenuBatch202Response struct {
}
func (RichMenuBatch202Response) VisitRichMenuBatchResponse ¶
func (response RichMenuBatch202Response) VisitRichMenuBatchResponse(w http.ResponseWriter) error
type RichMenuBatchJSONRequestBody ¶
type RichMenuBatchJSONRequestBody = RichMenuBatchRequest
RichMenuBatchJSONRequestBody defines body for RichMenuBatch for application/json ContentType.
type RichMenuBatchOperation ¶
type RichMenuBatchOperation struct {
// Type The type of operation to the rich menu linked to the user. One of link, unlink, or unlinkAll.
Type string `json:"type"`
}
RichMenuBatchOperation Rich menu operation object represents the batch operation to the rich menu linked to the user.
type RichMenuBatchProgressPhase ¶
type RichMenuBatchProgressPhase string
RichMenuBatchProgressPhase The current status. One of:
`ongoing`: Rich menu batch control is in progress. `succeeded`: Rich menu batch control is complete. `failed`: Rich menu batch control failed.
This means that the rich menu for one or more users couldn't be controlled. There may also be users whose operations have been successfully completed.
const ( Failed RichMenuBatchProgressPhase = "failed" Ongoing RichMenuBatchProgressPhase = "ongoing" Succeeded RichMenuBatchProgressPhase = "succeeded" )
Defines values for RichMenuBatchProgressPhase.
type RichMenuBatchProgressResponse ¶
type RichMenuBatchProgressResponse struct {
// AcceptedTime 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
AcceptedTime time.Time `json:"acceptedTime"`
// CompletedTime 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"`
// Phase The current status. One of:
//
// `ongoing`: Rich menu batch control is in progress.
// `succeeded`: Rich menu batch control is complete.
// `failed`: Rich menu batch control failed.
// This means that the rich menu for one or more users couldn't be controlled.
// There may also be users whose operations have been successfully completed.
Phase RichMenuBatchProgressPhase `json:"phase"`
}
RichMenuBatchProgressResponse defines model for RichMenuBatchProgressResponse.
type RichMenuBatchRequest ¶
type RichMenuBatchRequest struct {
// Operations Array of Rich menu operation object...
Operations []RichMenuBatchOperation `json:"operations"`
// ResumeRequestKey Key for retry. Key value is a string matching the regular expression pattern
ResumeRequestKey *string `json:"resumeRequestKey,omitempty"`
}
RichMenuBatchRequest defines model for RichMenuBatchRequest.
type RichMenuBatchRequestObject ¶
type RichMenuBatchRequestObject struct {
Body *RichMenuBatchJSONRequestBody
}
type RichMenuBatchResponseObject ¶
type RichMenuBatchResponseObject interface {
VisitRichMenuBatchResponse(w http.ResponseWriter) error
}
type RichMenuBounds ¶
type RichMenuBounds struct {
// Height Height of the area.
Height *int64 `json:"height,omitempty"`
// Width Width of the area.
Width *int64 `json:"width,omitempty"`
// X Horizontal position relative to the top-left corner of the area.
X *int64 `json:"x,omitempty"`
// Y Vertical position relative to the top-left corner of the area.
Y *int64 `json:"y,omitempty"`
}
RichMenuBounds Rich menu bounds
type RichMenuBulkLinkRequest ¶
type RichMenuBulkLinkRequest struct {
// RichMenuId ID of a rich menu
RichMenuId string `json:"richMenuId"`
// UserIds Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
UserIds []string `json:"userIds"`
}
RichMenuBulkLinkRequest defines model for RichMenuBulkLinkRequest.
type RichMenuBulkUnlinkRequest ¶
type RichMenuBulkUnlinkRequest struct {
// UserIds Array of user IDs. Found in the `source` object of webhook event objects. Do not use the LINE ID used in LINE.
UserIds []string `json:"userIds"`
}
RichMenuBulkUnlinkRequest defines model for RichMenuBulkUnlinkRequest.
type RichMenuIdResponse ¶
type RichMenuIdResponse struct {
// RichMenuId Rich menu ID
RichMenuId string `json:"richMenuId"`
}
RichMenuIdResponse defines model for RichMenuIdResponse.
type RichMenuListResponse ¶
type RichMenuListResponse struct {
Richmenus []RichMenuResponse `json:"richmenus"`
}
RichMenuListResponse defines model for RichMenuListResponse.
type RichMenuRequest ¶
type RichMenuRequest struct {
// Areas Array of area objects which define the coordinates and size of tappable areas
Areas *[]RichMenuArea `json:"areas,omitempty"`
// ChatBarText Text displayed in the chat bar
ChatBarText *string `json:"chatBarText,omitempty"`
// Name 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"`
// Selected `true` to display the rich menu by default. Otherwise, `false`.
Selected *bool `json:"selected,omitempty"`
// Size Rich menu size
Size *RichMenuSize `json:"size,omitempty"`
}
RichMenuRequest defines model for RichMenuRequest.
type RichMenuResponse ¶
type RichMenuResponse struct {
// Areas Array of area objects which define the coordinates and size of tappable areas
Areas []RichMenuArea `json:"areas"`
// ChatBarText Text displayed in the chat bar
ChatBarText string `json:"chatBarText"`
// Name 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"`
// RichMenuId ID of a rich menu
RichMenuId string `json:"richMenuId"`
// Selected `true` to display the rich menu by default. Otherwise, `false`.
Selected bool `json:"selected"`
// Size Rich menu size
Size RichMenuSize `json:"size"`
}
RichMenuResponse defines model for RichMenuResponse.
type RichMenuSize ¶
type RichMenuSize struct {
// Height height
Height *int64 `json:"height,omitempty"`
// Width width
Width *int64 `json:"width,omitempty"`
}
RichMenuSize Rich menu size
type RoomMemberCountResponse ¶
type RoomMemberCountResponse struct {
// Count The count of members in the multi-person chat. The number returned excludes the LINE Official Account.
Count int32 `json:"count"`
}
RoomMemberCountResponse defines model for RoomMemberCountResponse.
type RoomUserProfileResponse ¶
type RoomUserProfileResponse struct {
// DisplayName User's display name
DisplayName string `json:"displayName"`
// PictureUrl 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"`
// UserId User ID
UserId string `json:"userId"`
}
RoomUserProfileResponse defines model for RoomUserProfileResponse.
type Sender ¶
type Sender struct {
// IconUrl URL of the image to display as an icon when sending a message
IconUrl *string `json:"iconUrl,omitempty"`
// Name Display name. Certain words such as `LINE` may not be used.
Name *string `json:"name,omitempty"`
}
Sender Change icon and display name
type SentMessage ¶
type SentMessage struct {
// Id ID of the sent message.
Id string `json:"id"`
// QuoteToken Quote token of the message. Only included when a message object that can be specified as a quote target was sent as a push or reply message.
QuoteToken *string `json:"quoteToken,omitempty"`
}
SentMessage defines model for SentMessage.
type ServerInterface ¶
type ServerInterface interface {
// (POST /bot/pnp/push)
PushMessagesByPhone(w http.ResponseWriter, r *http.Request, params PushMessagesByPhoneParams)
// (GET /v2/bot/channel/webhook/endpoint)
GetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
// (PUT /v2/bot/channel/webhook/endpoint)
SetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/channel/webhook/test)
TestWebhookEndpoint(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/chat/loading/start)
ShowLoadingAnimation(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/coupon)
ListCoupon(w http.ResponseWriter, r *http.Request, params ListCouponParams)
// (POST /v2/bot/coupon)
CreateCoupon(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/coupon/{couponId})
GetCouponDetail(w http.ResponseWriter, r *http.Request, couponId string)
// (PUT /v2/bot/coupon/{couponId}/close)
CloseCoupon(w http.ResponseWriter, r *http.Request, couponId string)
// (GET /v2/bot/followers/ids)
GetFollowers(w http.ResponseWriter, r *http.Request, params GetFollowersParams)
// (POST /v2/bot/group/{groupId}/leave)
LeaveGroup(w http.ResponseWriter, r *http.Request, groupId string)
// (GET /v2/bot/group/{groupId}/member/{userId})
GetGroupMemberProfile(w http.ResponseWriter, r *http.Request, groupId string, userId string)
// (GET /v2/bot/group/{groupId}/members/count)
GetGroupMemberCount(w http.ResponseWriter, r *http.Request, groupId string)
// (GET /v2/bot/group/{groupId}/members/ids)
GetGroupMembersIds(w http.ResponseWriter, r *http.Request, groupId string, params GetGroupMembersIdsParams)
// (GET /v2/bot/group/{groupId}/summary)
GetGroupSummary(w http.ResponseWriter, r *http.Request, groupId string)
// (GET /v2/bot/info)
GetBotInfo(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/membership/list)
GetMembershipList(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/membership/subscription/{userId})
GetMembershipSubscription(w http.ResponseWriter, r *http.Request, userId string)
// (GET /v2/bot/membership/{membershipId}/users/ids)
GetJoinedMembershipUsers(w http.ResponseWriter, r *http.Request, membershipId int, params GetJoinedMembershipUsersParams)
// (GET /v2/bot/message/aggregation/info)
GetAggregationUnitUsage(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/message/aggregation/list)
GetAggregationUnitNameList(w http.ResponseWriter, r *http.Request, params GetAggregationUnitNameListParams)
// (POST /v2/bot/message/broadcast)
Broadcast(w http.ResponseWriter, r *http.Request, params BroadcastParams)
// (GET /v2/bot/message/delivery/broadcast)
GetNumberOfSentBroadcastMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentBroadcastMessagesParams)
// (GET /v2/bot/message/delivery/multicast)
GetNumberOfSentMulticastMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentMulticastMessagesParams)
// (GET /v2/bot/message/delivery/pnp)
GetPNPMessageStatistics(w http.ResponseWriter, r *http.Request, params GetPNPMessageStatisticsParams)
// (GET /v2/bot/message/delivery/push)
GetNumberOfSentPushMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentPushMessagesParams)
// (GET /v2/bot/message/delivery/reply)
GetNumberOfSentReplyMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentReplyMessagesParams)
// (POST /v2/bot/message/markAsRead)
MarkMessagesAsRead(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/multicast)
Multicast(w http.ResponseWriter, r *http.Request, params MulticastParams)
// (POST /v2/bot/message/narrowcast)
Narrowcast(w http.ResponseWriter, r *http.Request, params NarrowcastParams)
// (GET /v2/bot/message/progress/narrowcast)
GetNarrowcastProgress(w http.ResponseWriter, r *http.Request, params GetNarrowcastProgressParams)
// (POST /v2/bot/message/push)
PushMessage(w http.ResponseWriter, r *http.Request, params PushMessageParams)
// (GET /v2/bot/message/quota)
GetMessageQuota(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/message/quota/consumption)
GetMessageQuotaConsumption(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/reply)
ReplyMessage(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/validate/broadcast)
ValidateBroadcast(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/validate/multicast)
ValidateMulticast(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/validate/narrowcast)
ValidateNarrowcast(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/validate/push)
ValidatePush(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/message/validate/reply)
ValidateReply(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/message/{messageId}/content)
GetMessageContent(w http.ResponseWriter, r *http.Request, messageId string)
// (GET /v2/bot/message/{messageId}/content/preview)
GetMessageContentPreview(w http.ResponseWriter, r *http.Request, messageId string)
// (GET /v2/bot/message/{messageId}/content/transcoding)
GetMessageContentTranscodingByMessageId(w http.ResponseWriter, r *http.Request, messageId string)
// (GET /v2/bot/profile/{userId})
GetProfile(w http.ResponseWriter, r *http.Request, userId string)
// (POST /v2/bot/richmenu)
CreateRichMenu(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/richmenu/alias)
CreateRichMenuAlias(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/richmenu/alias/list)
GetRichMenuAliasList(w http.ResponseWriter, r *http.Request)
// (DELETE /v2/bot/richmenu/alias/{richMenuAliasId})
DeleteRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
// (GET /v2/bot/richmenu/alias/{richMenuAliasId})
GetRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
// (POST /v2/bot/richmenu/alias/{richMenuAliasId})
UpdateRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
// (POST /v2/bot/richmenu/batch)
RichMenuBatch(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/richmenu/bulk/link)
LinkRichMenuIdToUsers(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/richmenu/bulk/unlink)
UnlinkRichMenuIdFromUsers(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/richmenu/list)
GetRichMenuList(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/richmenu/progress/batch)
GetRichMenuBatchProgress(w http.ResponseWriter, r *http.Request, params GetRichMenuBatchProgressParams)
// (POST /v2/bot/richmenu/validate)
ValidateRichMenuObject(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/richmenu/validate/batch)
ValidateRichMenuBatchRequest(w http.ResponseWriter, r *http.Request)
// (DELETE /v2/bot/richmenu/{richMenuId})
DeleteRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
// (GET /v2/bot/richmenu/{richMenuId})
GetRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
// (GET /v2/bot/richmenu/{richMenuId}/content)
GetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
// (POST /v2/bot/richmenu/{richMenuId}/content)
SetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
// (POST /v2/bot/room/{roomId}/leave)
LeaveRoom(w http.ResponseWriter, r *http.Request, roomId string)
// (GET /v2/bot/room/{roomId}/member/{userId})
GetRoomMemberProfile(w http.ResponseWriter, r *http.Request, roomId string, userId string)
// (GET /v2/bot/room/{roomId}/members/count)
GetRoomMemberCount(w http.ResponseWriter, r *http.Request, roomId string)
// (GET /v2/bot/room/{roomId}/members/ids)
GetRoomMembersIds(w http.ResponseWriter, r *http.Request, roomId string, params GetRoomMembersIdsParams)
// (DELETE /v2/bot/user/all/richmenu)
CancelDefaultRichMenu(w http.ResponseWriter, r *http.Request)
// (GET /v2/bot/user/all/richmenu)
GetDefaultRichMenuId(w http.ResponseWriter, r *http.Request)
// (POST /v2/bot/user/all/richmenu/{richMenuId})
SetDefaultRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
// (POST /v2/bot/user/{userId}/linkToken)
IssueLinkToken(w http.ResponseWriter, r *http.Request, userId string)
// (DELETE /v2/bot/user/{userId}/richmenu)
UnlinkRichMenuIdFromUser(w http.ResponseWriter, r *http.Request, userId string)
// (GET /v2/bot/user/{userId}/richmenu)
GetRichMenuIdOfUser(w http.ResponseWriter, r *http.Request, userId string)
// (POST /v2/bot/user/{userId}/richmenu/{richMenuId})
LinkRichMenuIdToUser(w http.ResponseWriter, r *http.Request, userId string, richMenuId string)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) Broadcast ¶
func (siw *ServerInterfaceWrapper) Broadcast(w http.ResponseWriter, r *http.Request)
Broadcast operation middleware
func (*ServerInterfaceWrapper) CancelDefaultRichMenu ¶
func (siw *ServerInterfaceWrapper) CancelDefaultRichMenu(w http.ResponseWriter, r *http.Request)
CancelDefaultRichMenu operation middleware
func (*ServerInterfaceWrapper) CloseCoupon ¶
func (siw *ServerInterfaceWrapper) CloseCoupon(w http.ResponseWriter, r *http.Request)
CloseCoupon operation middleware
func (*ServerInterfaceWrapper) CreateCoupon ¶
func (siw *ServerInterfaceWrapper) CreateCoupon(w http.ResponseWriter, r *http.Request)
CreateCoupon operation middleware
func (*ServerInterfaceWrapper) CreateRichMenu ¶
func (siw *ServerInterfaceWrapper) CreateRichMenu(w http.ResponseWriter, r *http.Request)
CreateRichMenu operation middleware
func (*ServerInterfaceWrapper) CreateRichMenuAlias ¶
func (siw *ServerInterfaceWrapper) CreateRichMenuAlias(w http.ResponseWriter, r *http.Request)
CreateRichMenuAlias operation middleware
func (*ServerInterfaceWrapper) DeleteRichMenu ¶
func (siw *ServerInterfaceWrapper) DeleteRichMenu(w http.ResponseWriter, r *http.Request)
DeleteRichMenu operation middleware
func (*ServerInterfaceWrapper) DeleteRichMenuAlias ¶
func (siw *ServerInterfaceWrapper) DeleteRichMenuAlias(w http.ResponseWriter, r *http.Request)
DeleteRichMenuAlias operation middleware
func (*ServerInterfaceWrapper) GetAggregationUnitNameList ¶
func (siw *ServerInterfaceWrapper) GetAggregationUnitNameList(w http.ResponseWriter, r *http.Request)
GetAggregationUnitNameList operation middleware
func (*ServerInterfaceWrapper) GetAggregationUnitUsage ¶
func (siw *ServerInterfaceWrapper) GetAggregationUnitUsage(w http.ResponseWriter, r *http.Request)
GetAggregationUnitUsage operation middleware
func (*ServerInterfaceWrapper) GetBotInfo ¶
func (siw *ServerInterfaceWrapper) GetBotInfo(w http.ResponseWriter, r *http.Request)
GetBotInfo operation middleware
func (*ServerInterfaceWrapper) GetCouponDetail ¶
func (siw *ServerInterfaceWrapper) GetCouponDetail(w http.ResponseWriter, r *http.Request)
GetCouponDetail operation middleware
func (*ServerInterfaceWrapper) GetDefaultRichMenuId ¶
func (siw *ServerInterfaceWrapper) GetDefaultRichMenuId(w http.ResponseWriter, r *http.Request)
GetDefaultRichMenuId operation middleware
func (*ServerInterfaceWrapper) GetFollowers ¶
func (siw *ServerInterfaceWrapper) GetFollowers(w http.ResponseWriter, r *http.Request)
GetFollowers operation middleware
func (*ServerInterfaceWrapper) GetGroupMemberCount ¶
func (siw *ServerInterfaceWrapper) GetGroupMemberCount(w http.ResponseWriter, r *http.Request)
GetGroupMemberCount operation middleware
func (*ServerInterfaceWrapper) GetGroupMemberProfile ¶
func (siw *ServerInterfaceWrapper) GetGroupMemberProfile(w http.ResponseWriter, r *http.Request)
GetGroupMemberProfile operation middleware
func (*ServerInterfaceWrapper) GetGroupMembersIds ¶
func (siw *ServerInterfaceWrapper) GetGroupMembersIds(w http.ResponseWriter, r *http.Request)
GetGroupMembersIds operation middleware
func (*ServerInterfaceWrapper) GetGroupSummary ¶
func (siw *ServerInterfaceWrapper) GetGroupSummary(w http.ResponseWriter, r *http.Request)
GetGroupSummary operation middleware
func (*ServerInterfaceWrapper) GetJoinedMembershipUsers ¶
func (siw *ServerInterfaceWrapper) GetJoinedMembershipUsers(w http.ResponseWriter, r *http.Request)
GetJoinedMembershipUsers operation middleware
func (*ServerInterfaceWrapper) GetMembershipList ¶
func (siw *ServerInterfaceWrapper) GetMembershipList(w http.ResponseWriter, r *http.Request)
GetMembershipList operation middleware
func (*ServerInterfaceWrapper) GetMembershipSubscription ¶
func (siw *ServerInterfaceWrapper) GetMembershipSubscription(w http.ResponseWriter, r *http.Request)
GetMembershipSubscription operation middleware
func (*ServerInterfaceWrapper) GetMessageContent ¶
func (siw *ServerInterfaceWrapper) GetMessageContent(w http.ResponseWriter, r *http.Request)
GetMessageContent operation middleware
func (*ServerInterfaceWrapper) GetMessageContentPreview ¶
func (siw *ServerInterfaceWrapper) GetMessageContentPreview(w http.ResponseWriter, r *http.Request)
GetMessageContentPreview operation middleware
func (*ServerInterfaceWrapper) GetMessageContentTranscodingByMessageId ¶
func (siw *ServerInterfaceWrapper) GetMessageContentTranscodingByMessageId(w http.ResponseWriter, r *http.Request)
GetMessageContentTranscodingByMessageId operation middleware
func (*ServerInterfaceWrapper) GetMessageQuota ¶
func (siw *ServerInterfaceWrapper) GetMessageQuota(w http.ResponseWriter, r *http.Request)
GetMessageQuota operation middleware
func (*ServerInterfaceWrapper) GetMessageQuotaConsumption ¶
func (siw *ServerInterfaceWrapper) GetMessageQuotaConsumption(w http.ResponseWriter, r *http.Request)
GetMessageQuotaConsumption operation middleware
func (*ServerInterfaceWrapper) GetNarrowcastProgress ¶
func (siw *ServerInterfaceWrapper) GetNarrowcastProgress(w http.ResponseWriter, r *http.Request)
GetNarrowcastProgress operation middleware
func (*ServerInterfaceWrapper) GetNumberOfSentBroadcastMessages ¶
func (siw *ServerInterfaceWrapper) GetNumberOfSentBroadcastMessages(w http.ResponseWriter, r *http.Request)
GetNumberOfSentBroadcastMessages operation middleware
func (*ServerInterfaceWrapper) GetNumberOfSentMulticastMessages ¶
func (siw *ServerInterfaceWrapper) GetNumberOfSentMulticastMessages(w http.ResponseWriter, r *http.Request)
GetNumberOfSentMulticastMessages operation middleware
func (*ServerInterfaceWrapper) GetNumberOfSentPushMessages ¶
func (siw *ServerInterfaceWrapper) GetNumberOfSentPushMessages(w http.ResponseWriter, r *http.Request)
GetNumberOfSentPushMessages operation middleware
func (*ServerInterfaceWrapper) GetNumberOfSentReplyMessages ¶
func (siw *ServerInterfaceWrapper) GetNumberOfSentReplyMessages(w http.ResponseWriter, r *http.Request)
GetNumberOfSentReplyMessages operation middleware
func (*ServerInterfaceWrapper) GetPNPMessageStatistics ¶
func (siw *ServerInterfaceWrapper) GetPNPMessageStatistics(w http.ResponseWriter, r *http.Request)
GetPNPMessageStatistics operation middleware
func (*ServerInterfaceWrapper) GetProfile ¶
func (siw *ServerInterfaceWrapper) GetProfile(w http.ResponseWriter, r *http.Request)
GetProfile operation middleware
func (*ServerInterfaceWrapper) GetRichMenu ¶
func (siw *ServerInterfaceWrapper) GetRichMenu(w http.ResponseWriter, r *http.Request)
GetRichMenu operation middleware
func (*ServerInterfaceWrapper) GetRichMenuAlias ¶
func (siw *ServerInterfaceWrapper) GetRichMenuAlias(w http.ResponseWriter, r *http.Request)
GetRichMenuAlias operation middleware
func (*ServerInterfaceWrapper) GetRichMenuAliasList ¶
func (siw *ServerInterfaceWrapper) GetRichMenuAliasList(w http.ResponseWriter, r *http.Request)
GetRichMenuAliasList operation middleware
func (*ServerInterfaceWrapper) GetRichMenuBatchProgress ¶
func (siw *ServerInterfaceWrapper) GetRichMenuBatchProgress(w http.ResponseWriter, r *http.Request)
GetRichMenuBatchProgress operation middleware
func (*ServerInterfaceWrapper) GetRichMenuIdOfUser ¶
func (siw *ServerInterfaceWrapper) GetRichMenuIdOfUser(w http.ResponseWriter, r *http.Request)
GetRichMenuIdOfUser operation middleware
func (*ServerInterfaceWrapper) GetRichMenuImage ¶
func (siw *ServerInterfaceWrapper) GetRichMenuImage(w http.ResponseWriter, r *http.Request)
GetRichMenuImage operation middleware
func (*ServerInterfaceWrapper) GetRichMenuList ¶
func (siw *ServerInterfaceWrapper) GetRichMenuList(w http.ResponseWriter, r *http.Request)
GetRichMenuList operation middleware
func (*ServerInterfaceWrapper) GetRoomMemberCount ¶
func (siw *ServerInterfaceWrapper) GetRoomMemberCount(w http.ResponseWriter, r *http.Request)
GetRoomMemberCount operation middleware
func (*ServerInterfaceWrapper) GetRoomMemberProfile ¶
func (siw *ServerInterfaceWrapper) GetRoomMemberProfile(w http.ResponseWriter, r *http.Request)
GetRoomMemberProfile operation middleware
func (*ServerInterfaceWrapper) GetRoomMembersIds ¶
func (siw *ServerInterfaceWrapper) GetRoomMembersIds(w http.ResponseWriter, r *http.Request)
GetRoomMembersIds operation middleware
func (*ServerInterfaceWrapper) GetWebhookEndpoint ¶
func (siw *ServerInterfaceWrapper) GetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
GetWebhookEndpoint operation middleware
func (*ServerInterfaceWrapper) IssueLinkToken ¶
func (siw *ServerInterfaceWrapper) IssueLinkToken(w http.ResponseWriter, r *http.Request)
IssueLinkToken operation middleware
func (*ServerInterfaceWrapper) LeaveGroup ¶
func (siw *ServerInterfaceWrapper) LeaveGroup(w http.ResponseWriter, r *http.Request)
LeaveGroup operation middleware
func (*ServerInterfaceWrapper) LeaveRoom ¶
func (siw *ServerInterfaceWrapper) LeaveRoom(w http.ResponseWriter, r *http.Request)
LeaveRoom operation middleware
func (*ServerInterfaceWrapper) LinkRichMenuIdToUser ¶
func (siw *ServerInterfaceWrapper) LinkRichMenuIdToUser(w http.ResponseWriter, r *http.Request)
LinkRichMenuIdToUser operation middleware
func (*ServerInterfaceWrapper) LinkRichMenuIdToUsers ¶
func (siw *ServerInterfaceWrapper) LinkRichMenuIdToUsers(w http.ResponseWriter, r *http.Request)
LinkRichMenuIdToUsers operation middleware
func (*ServerInterfaceWrapper) ListCoupon ¶
func (siw *ServerInterfaceWrapper) ListCoupon(w http.ResponseWriter, r *http.Request)
ListCoupon operation middleware
func (*ServerInterfaceWrapper) MarkMessagesAsRead ¶
func (siw *ServerInterfaceWrapper) MarkMessagesAsRead(w http.ResponseWriter, r *http.Request)
MarkMessagesAsRead operation middleware
func (*ServerInterfaceWrapper) Multicast ¶
func (siw *ServerInterfaceWrapper) Multicast(w http.ResponseWriter, r *http.Request)
Multicast operation middleware
func (*ServerInterfaceWrapper) Narrowcast ¶
func (siw *ServerInterfaceWrapper) Narrowcast(w http.ResponseWriter, r *http.Request)
Narrowcast operation middleware
func (*ServerInterfaceWrapper) PushMessage ¶
func (siw *ServerInterfaceWrapper) PushMessage(w http.ResponseWriter, r *http.Request)
PushMessage operation middleware
func (*ServerInterfaceWrapper) PushMessagesByPhone ¶
func (siw *ServerInterfaceWrapper) PushMessagesByPhone(w http.ResponseWriter, r *http.Request)
PushMessagesByPhone operation middleware
func (*ServerInterfaceWrapper) ReplyMessage ¶
func (siw *ServerInterfaceWrapper) ReplyMessage(w http.ResponseWriter, r *http.Request)
ReplyMessage operation middleware
func (*ServerInterfaceWrapper) RichMenuBatch ¶
func (siw *ServerInterfaceWrapper) RichMenuBatch(w http.ResponseWriter, r *http.Request)
RichMenuBatch operation middleware
func (*ServerInterfaceWrapper) SetDefaultRichMenu ¶
func (siw *ServerInterfaceWrapper) SetDefaultRichMenu(w http.ResponseWriter, r *http.Request)
SetDefaultRichMenu operation middleware
func (*ServerInterfaceWrapper) SetRichMenuImage ¶
func (siw *ServerInterfaceWrapper) SetRichMenuImage(w http.ResponseWriter, r *http.Request)
SetRichMenuImage operation middleware
func (*ServerInterfaceWrapper) SetWebhookEndpoint ¶
func (siw *ServerInterfaceWrapper) SetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
SetWebhookEndpoint operation middleware
func (*ServerInterfaceWrapper) ShowLoadingAnimation ¶
func (siw *ServerInterfaceWrapper) ShowLoadingAnimation(w http.ResponseWriter, r *http.Request)
ShowLoadingAnimation operation middleware
func (*ServerInterfaceWrapper) TestWebhookEndpoint ¶
func (siw *ServerInterfaceWrapper) TestWebhookEndpoint(w http.ResponseWriter, r *http.Request)
TestWebhookEndpoint operation middleware
func (*ServerInterfaceWrapper) UnlinkRichMenuIdFromUser ¶
func (siw *ServerInterfaceWrapper) UnlinkRichMenuIdFromUser(w http.ResponseWriter, r *http.Request)
UnlinkRichMenuIdFromUser operation middleware
func (*ServerInterfaceWrapper) UnlinkRichMenuIdFromUsers ¶
func (siw *ServerInterfaceWrapper) UnlinkRichMenuIdFromUsers(w http.ResponseWriter, r *http.Request)
UnlinkRichMenuIdFromUsers operation middleware
func (*ServerInterfaceWrapper) UpdateRichMenuAlias ¶
func (siw *ServerInterfaceWrapper) UpdateRichMenuAlias(w http.ResponseWriter, r *http.Request)
UpdateRichMenuAlias operation middleware
func (*ServerInterfaceWrapper) ValidateBroadcast ¶
func (siw *ServerInterfaceWrapper) ValidateBroadcast(w http.ResponseWriter, r *http.Request)
ValidateBroadcast operation middleware
func (*ServerInterfaceWrapper) ValidateMulticast ¶
func (siw *ServerInterfaceWrapper) ValidateMulticast(w http.ResponseWriter, r *http.Request)
ValidateMulticast operation middleware
func (*ServerInterfaceWrapper) ValidateNarrowcast ¶
func (siw *ServerInterfaceWrapper) ValidateNarrowcast(w http.ResponseWriter, r *http.Request)
ValidateNarrowcast operation middleware
func (*ServerInterfaceWrapper) ValidatePush ¶
func (siw *ServerInterfaceWrapper) ValidatePush(w http.ResponseWriter, r *http.Request)
ValidatePush operation middleware
func (*ServerInterfaceWrapper) ValidateReply ¶
func (siw *ServerInterfaceWrapper) ValidateReply(w http.ResponseWriter, r *http.Request)
ValidateReply operation middleware
func (*ServerInterfaceWrapper) ValidateRichMenuBatchRequest ¶
func (siw *ServerInterfaceWrapper) ValidateRichMenuBatchRequest(w http.ResponseWriter, r *http.Request)
ValidateRichMenuBatchRequest operation middleware
func (*ServerInterfaceWrapper) ValidateRichMenuObject ¶
func (siw *ServerInterfaceWrapper) ValidateRichMenuObject(w http.ResponseWriter, r *http.Request)
ValidateRichMenuObject operation middleware
type SetDefaultRichMenu200Response ¶
type SetDefaultRichMenu200Response struct {
}
func (SetDefaultRichMenu200Response) VisitSetDefaultRichMenuResponse ¶
func (response SetDefaultRichMenu200Response) VisitSetDefaultRichMenuResponse(w http.ResponseWriter) error
type SetDefaultRichMenuRequestObject ¶
type SetDefaultRichMenuRequestObject struct {
RichMenuId string `json:"richMenuId"`
}
type SetDefaultRichMenuResponseObject ¶
type SetDefaultRichMenuResponseObject interface {
VisitSetDefaultRichMenuResponse(w http.ResponseWriter) error
}
type SetRichMenuImage200Response ¶
type SetRichMenuImage200Response struct {
}
func (SetRichMenuImage200Response) VisitSetRichMenuImageResponse ¶
func (response SetRichMenuImage200Response) VisitSetRichMenuImageResponse(w http.ResponseWriter) error
type SetRichMenuImageResponseObject ¶
type SetRichMenuImageResponseObject interface {
VisitSetRichMenuImageResponse(w http.ResponseWriter) error
}
type SetWebhookEndpoint200Response ¶
type SetWebhookEndpoint200Response struct {
}
func (SetWebhookEndpoint200Response) VisitSetWebhookEndpointResponse ¶
func (response SetWebhookEndpoint200Response) VisitSetWebhookEndpointResponse(w http.ResponseWriter) error
type SetWebhookEndpointJSONRequestBody ¶
type SetWebhookEndpointJSONRequestBody = SetWebhookEndpointRequest
SetWebhookEndpointJSONRequestBody defines body for SetWebhookEndpoint for application/json ContentType.
type SetWebhookEndpointRequest ¶
type SetWebhookEndpointRequest struct {
// Endpoint A valid webhook URL.
Endpoint string `json:"endpoint"`
}
SetWebhookEndpointRequest defines model for SetWebhookEndpointRequest.
type SetWebhookEndpointRequestObject ¶
type SetWebhookEndpointRequestObject struct {
Body *SetWebhookEndpointJSONRequestBody
}
type SetWebhookEndpointResponseObject ¶
type SetWebhookEndpointResponseObject interface {
VisitSetWebhookEndpointResponse(w http.ResponseWriter) error
}
type ShowLoadingAnimation202JSONResponse ¶
type ShowLoadingAnimation202JSONResponse ShowLoadingAnimationResponse
func (ShowLoadingAnimation202JSONResponse) VisitShowLoadingAnimationResponse ¶
func (response ShowLoadingAnimation202JSONResponse) VisitShowLoadingAnimationResponse(w http.ResponseWriter) error
type ShowLoadingAnimation400JSONResponse ¶
type ShowLoadingAnimation400JSONResponse ErrorResponse
func (ShowLoadingAnimation400JSONResponse) VisitShowLoadingAnimationResponse ¶
func (response ShowLoadingAnimation400JSONResponse) VisitShowLoadingAnimationResponse(w http.ResponseWriter) error
type ShowLoadingAnimationJSONRequestBody ¶
type ShowLoadingAnimationJSONRequestBody = ShowLoadingAnimationRequest
ShowLoadingAnimationJSONRequestBody defines body for ShowLoadingAnimation for application/json ContentType.
type ShowLoadingAnimationRequest ¶
type ShowLoadingAnimationRequest struct {
// ChatId User ID of the target user for whom the loading animation is to be displayed.
ChatId string `json:"chatId"`
// LoadingSeconds The number of seconds to display the loading indicator.
// It must be a multiple of 5. The maximum value is 60 seconds.
LoadingSeconds *int32 `json:"loadingSeconds,omitempty"`
}
ShowLoadingAnimationRequest defines model for ShowLoadingAnimationRequest.
type ShowLoadingAnimationRequestObject ¶
type ShowLoadingAnimationRequestObject struct {
Body *ShowLoadingAnimationJSONRequestBody
}
type ShowLoadingAnimationResponse ¶
type ShowLoadingAnimationResponse = map[string]interface{}
ShowLoadingAnimationResponse defines model for ShowLoadingAnimationResponse.
type ShowLoadingAnimationResponseObject ¶
type ShowLoadingAnimationResponseObject interface {
VisitShowLoadingAnimationResponse(w http.ResponseWriter) error
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// (POST /bot/pnp/push)
PushMessagesByPhone(ctx context.Context, request PushMessagesByPhoneRequestObject) (PushMessagesByPhoneResponseObject, error)
// (GET /v2/bot/channel/webhook/endpoint)
GetWebhookEndpoint(ctx context.Context, request GetWebhookEndpointRequestObject) (GetWebhookEndpointResponseObject, error)
// (PUT /v2/bot/channel/webhook/endpoint)
SetWebhookEndpoint(ctx context.Context, request SetWebhookEndpointRequestObject) (SetWebhookEndpointResponseObject, error)
// (POST /v2/bot/channel/webhook/test)
TestWebhookEndpoint(ctx context.Context, request TestWebhookEndpointRequestObject) (TestWebhookEndpointResponseObject, error)
// (POST /v2/bot/chat/loading/start)
ShowLoadingAnimation(ctx context.Context, request ShowLoadingAnimationRequestObject) (ShowLoadingAnimationResponseObject, error)
// (GET /v2/bot/coupon)
ListCoupon(ctx context.Context, request ListCouponRequestObject) (ListCouponResponseObject, error)
// (POST /v2/bot/coupon)
CreateCoupon(ctx context.Context, request CreateCouponRequestObject) (CreateCouponResponseObject, error)
// (GET /v2/bot/coupon/{couponId})
GetCouponDetail(ctx context.Context, request GetCouponDetailRequestObject) (GetCouponDetailResponseObject, error)
// (PUT /v2/bot/coupon/{couponId}/close)
CloseCoupon(ctx context.Context, request CloseCouponRequestObject) (CloseCouponResponseObject, error)
// (GET /v2/bot/followers/ids)
GetFollowers(ctx context.Context, request GetFollowersRequestObject) (GetFollowersResponseObject, error)
// (POST /v2/bot/group/{groupId}/leave)
LeaveGroup(ctx context.Context, request LeaveGroupRequestObject) (LeaveGroupResponseObject, error)
// (GET /v2/bot/group/{groupId}/member/{userId})
GetGroupMemberProfile(ctx context.Context, request GetGroupMemberProfileRequestObject) (GetGroupMemberProfileResponseObject, error)
// (GET /v2/bot/group/{groupId}/members/count)
GetGroupMemberCount(ctx context.Context, request GetGroupMemberCountRequestObject) (GetGroupMemberCountResponseObject, error)
// (GET /v2/bot/group/{groupId}/members/ids)
GetGroupMembersIds(ctx context.Context, request GetGroupMembersIdsRequestObject) (GetGroupMembersIdsResponseObject, error)
// (GET /v2/bot/group/{groupId}/summary)
GetGroupSummary(ctx context.Context, request GetGroupSummaryRequestObject) (GetGroupSummaryResponseObject, error)
// (GET /v2/bot/info)
GetBotInfo(ctx context.Context, request GetBotInfoRequestObject) (GetBotInfoResponseObject, error)
// (GET /v2/bot/membership/list)
GetMembershipList(ctx context.Context, request GetMembershipListRequestObject) (GetMembershipListResponseObject, error)
// (GET /v2/bot/membership/subscription/{userId})
GetMembershipSubscription(ctx context.Context, request GetMembershipSubscriptionRequestObject) (GetMembershipSubscriptionResponseObject, error)
// (GET /v2/bot/membership/{membershipId}/users/ids)
GetJoinedMembershipUsers(ctx context.Context, request GetJoinedMembershipUsersRequestObject) (GetJoinedMembershipUsersResponseObject, error)
// (GET /v2/bot/message/aggregation/info)
GetAggregationUnitUsage(ctx context.Context, request GetAggregationUnitUsageRequestObject) (GetAggregationUnitUsageResponseObject, error)
// (GET /v2/bot/message/aggregation/list)
GetAggregationUnitNameList(ctx context.Context, request GetAggregationUnitNameListRequestObject) (GetAggregationUnitNameListResponseObject, error)
// (POST /v2/bot/message/broadcast)
Broadcast(ctx context.Context, request BroadcastRequestObject) (BroadcastResponseObject, error)
// (GET /v2/bot/message/delivery/broadcast)
GetNumberOfSentBroadcastMessages(ctx context.Context, request GetNumberOfSentBroadcastMessagesRequestObject) (GetNumberOfSentBroadcastMessagesResponseObject, error)
// (GET /v2/bot/message/delivery/multicast)
GetNumberOfSentMulticastMessages(ctx context.Context, request GetNumberOfSentMulticastMessagesRequestObject) (GetNumberOfSentMulticastMessagesResponseObject, error)
// (GET /v2/bot/message/delivery/pnp)
GetPNPMessageStatistics(ctx context.Context, request GetPNPMessageStatisticsRequestObject) (GetPNPMessageStatisticsResponseObject, error)
// (GET /v2/bot/message/delivery/push)
GetNumberOfSentPushMessages(ctx context.Context, request GetNumberOfSentPushMessagesRequestObject) (GetNumberOfSentPushMessagesResponseObject, error)
// (GET /v2/bot/message/delivery/reply)
GetNumberOfSentReplyMessages(ctx context.Context, request GetNumberOfSentReplyMessagesRequestObject) (GetNumberOfSentReplyMessagesResponseObject, error)
// (POST /v2/bot/message/markAsRead)
MarkMessagesAsRead(ctx context.Context, request MarkMessagesAsReadRequestObject) (MarkMessagesAsReadResponseObject, error)
// (POST /v2/bot/message/multicast)
Multicast(ctx context.Context, request MulticastRequestObject) (MulticastResponseObject, error)
// (POST /v2/bot/message/narrowcast)
Narrowcast(ctx context.Context, request NarrowcastRequestObject) (NarrowcastResponseObject, error)
// (GET /v2/bot/message/progress/narrowcast)
GetNarrowcastProgress(ctx context.Context, request GetNarrowcastProgressRequestObject) (GetNarrowcastProgressResponseObject, error)
// (POST /v2/bot/message/push)
PushMessage(ctx context.Context, request PushMessageRequestObject) (PushMessageResponseObject, error)
// (GET /v2/bot/message/quota)
GetMessageQuota(ctx context.Context, request GetMessageQuotaRequestObject) (GetMessageQuotaResponseObject, error)
// (GET /v2/bot/message/quota/consumption)
GetMessageQuotaConsumption(ctx context.Context, request GetMessageQuotaConsumptionRequestObject) (GetMessageQuotaConsumptionResponseObject, error)
// (POST /v2/bot/message/reply)
ReplyMessage(ctx context.Context, request ReplyMessageRequestObject) (ReplyMessageResponseObject, error)
// (POST /v2/bot/message/validate/broadcast)
ValidateBroadcast(ctx context.Context, request ValidateBroadcastRequestObject) (ValidateBroadcastResponseObject, error)
// (POST /v2/bot/message/validate/multicast)
ValidateMulticast(ctx context.Context, request ValidateMulticastRequestObject) (ValidateMulticastResponseObject, error)
// (POST /v2/bot/message/validate/narrowcast)
ValidateNarrowcast(ctx context.Context, request ValidateNarrowcastRequestObject) (ValidateNarrowcastResponseObject, error)
// (POST /v2/bot/message/validate/push)
ValidatePush(ctx context.Context, request ValidatePushRequestObject) (ValidatePushResponseObject, error)
// (POST /v2/bot/message/validate/reply)
ValidateReply(ctx context.Context, request ValidateReplyRequestObject) (ValidateReplyResponseObject, error)
// (GET /v2/bot/message/{messageId}/content)
GetMessageContent(ctx context.Context, request GetMessageContentRequestObject) (GetMessageContentResponseObject, error)
// (GET /v2/bot/message/{messageId}/content/preview)
GetMessageContentPreview(ctx context.Context, request GetMessageContentPreviewRequestObject) (GetMessageContentPreviewResponseObject, error)
// (GET /v2/bot/message/{messageId}/content/transcoding)
GetMessageContentTranscodingByMessageId(ctx context.Context, request GetMessageContentTranscodingByMessageIdRequestObject) (GetMessageContentTranscodingByMessageIdResponseObject, error)
// (GET /v2/bot/profile/{userId})
GetProfile(ctx context.Context, request GetProfileRequestObject) (GetProfileResponseObject, error)
// (POST /v2/bot/richmenu)
CreateRichMenu(ctx context.Context, request CreateRichMenuRequestObject) (CreateRichMenuResponseObject, error)
// (POST /v2/bot/richmenu/alias)
CreateRichMenuAlias(ctx context.Context, request CreateRichMenuAliasRequestObject) (CreateRichMenuAliasResponseObject, error)
// (GET /v2/bot/richmenu/alias/list)
GetRichMenuAliasList(ctx context.Context, request GetRichMenuAliasListRequestObject) (GetRichMenuAliasListResponseObject, error)
// (DELETE /v2/bot/richmenu/alias/{richMenuAliasId})
DeleteRichMenuAlias(ctx context.Context, request DeleteRichMenuAliasRequestObject) (DeleteRichMenuAliasResponseObject, error)
// (GET /v2/bot/richmenu/alias/{richMenuAliasId})
GetRichMenuAlias(ctx context.Context, request GetRichMenuAliasRequestObject) (GetRichMenuAliasResponseObject, error)
// (POST /v2/bot/richmenu/alias/{richMenuAliasId})
UpdateRichMenuAlias(ctx context.Context, request UpdateRichMenuAliasRequestObject) (UpdateRichMenuAliasResponseObject, error)
// (POST /v2/bot/richmenu/batch)
RichMenuBatch(ctx context.Context, request RichMenuBatchRequestObject) (RichMenuBatchResponseObject, error)
// (POST /v2/bot/richmenu/bulk/link)
LinkRichMenuIdToUsers(ctx context.Context, request LinkRichMenuIdToUsersRequestObject) (LinkRichMenuIdToUsersResponseObject, error)
// (POST /v2/bot/richmenu/bulk/unlink)
UnlinkRichMenuIdFromUsers(ctx context.Context, request UnlinkRichMenuIdFromUsersRequestObject) (UnlinkRichMenuIdFromUsersResponseObject, error)
// (GET /v2/bot/richmenu/list)
GetRichMenuList(ctx context.Context, request GetRichMenuListRequestObject) (GetRichMenuListResponseObject, error)
// (GET /v2/bot/richmenu/progress/batch)
GetRichMenuBatchProgress(ctx context.Context, request GetRichMenuBatchProgressRequestObject) (GetRichMenuBatchProgressResponseObject, error)
// (POST /v2/bot/richmenu/validate)
ValidateRichMenuObject(ctx context.Context, request ValidateRichMenuObjectRequestObject) (ValidateRichMenuObjectResponseObject, error)
// (POST /v2/bot/richmenu/validate/batch)
ValidateRichMenuBatchRequest(ctx context.Context, request ValidateRichMenuBatchRequestRequestObject) (ValidateRichMenuBatchRequestResponseObject, error)
// (DELETE /v2/bot/richmenu/{richMenuId})
DeleteRichMenu(ctx context.Context, request DeleteRichMenuRequestObject) (DeleteRichMenuResponseObject, error)
// (GET /v2/bot/richmenu/{richMenuId})
GetRichMenu(ctx context.Context, request GetRichMenuRequestObject) (GetRichMenuResponseObject, error)
// (GET /v2/bot/richmenu/{richMenuId}/content)
GetRichMenuImage(ctx context.Context, request GetRichMenuImageRequestObject) (GetRichMenuImageResponseObject, error)
// (POST /v2/bot/richmenu/{richMenuId}/content)
SetRichMenuImage(ctx context.Context, request SetRichMenuImageRequestObject) (SetRichMenuImageResponseObject, error)
// (POST /v2/bot/room/{roomId}/leave)
LeaveRoom(ctx context.Context, request LeaveRoomRequestObject) (LeaveRoomResponseObject, error)
// (GET /v2/bot/room/{roomId}/member/{userId})
GetRoomMemberProfile(ctx context.Context, request GetRoomMemberProfileRequestObject) (GetRoomMemberProfileResponseObject, error)
// (GET /v2/bot/room/{roomId}/members/count)
GetRoomMemberCount(ctx context.Context, request GetRoomMemberCountRequestObject) (GetRoomMemberCountResponseObject, error)
// (GET /v2/bot/room/{roomId}/members/ids)
GetRoomMembersIds(ctx context.Context, request GetRoomMembersIdsRequestObject) (GetRoomMembersIdsResponseObject, error)
// (DELETE /v2/bot/user/all/richmenu)
CancelDefaultRichMenu(ctx context.Context, request CancelDefaultRichMenuRequestObject) (CancelDefaultRichMenuResponseObject, error)
// (GET /v2/bot/user/all/richmenu)
GetDefaultRichMenuId(ctx context.Context, request GetDefaultRichMenuIdRequestObject) (GetDefaultRichMenuIdResponseObject, error)
// (POST /v2/bot/user/all/richmenu/{richMenuId})
SetDefaultRichMenu(ctx context.Context, request SetDefaultRichMenuRequestObject) (SetDefaultRichMenuResponseObject, error)
// (POST /v2/bot/user/{userId}/linkToken)
IssueLinkToken(ctx context.Context, request IssueLinkTokenRequestObject) (IssueLinkTokenResponseObject, error)
// (DELETE /v2/bot/user/{userId}/richmenu)
UnlinkRichMenuIdFromUser(ctx context.Context, request UnlinkRichMenuIdFromUserRequestObject) (UnlinkRichMenuIdFromUserResponseObject, error)
// (GET /v2/bot/user/{userId}/richmenu)
GetRichMenuIdOfUser(ctx context.Context, request GetRichMenuIdOfUserRequestObject) (GetRichMenuIdOfUserResponseObject, error)
// (POST /v2/bot/user/{userId}/richmenu/{richMenuId})
LinkRichMenuIdToUser(ctx context.Context, request LinkRichMenuIdToUserRequestObject) (LinkRichMenuIdToUserResponseObject, error)
}
StrictServerInterface represents all server handlers.
type SubscribedMembershipPlan ¶
type SubscribedMembershipPlan struct {
// Benefits List of membership plan perks.
Benefits []string `json:"benefits"`
// Currency The currency of membership.price.
Currency SubscribedMembershipPlanCurrency `json:"currency"`
// Description Membership plan description.
Description string `json:"description"`
// MembershipId Membership plan ID.
MembershipId int `json:"membershipId"`
// Price Monthly fee for membership plan. (e.g. 1500.00)
Price float64 `json:"price"`
// Title Membership plan name.
Title string `json:"title"`
}
SubscribedMembershipPlan Object containing information about the membership plan.
type SubscribedMembershipPlanCurrency ¶
type SubscribedMembershipPlanCurrency string
SubscribedMembershipPlanCurrency The currency of membership.price.
const ( SubscribedMembershipPlanCurrencyJPY SubscribedMembershipPlanCurrency = "JPY" SubscribedMembershipPlanCurrencyTHB SubscribedMembershipPlanCurrency = "THB" SubscribedMembershipPlanCurrencyTWD SubscribedMembershipPlanCurrency = "TWD" )
Defines values for SubscribedMembershipPlanCurrency.
type SubscribedMembershipUser ¶
type SubscribedMembershipUser struct {
// JoinedTime UNIX timestamp at which the user subscribed to the membership.
JoinedTime int `json:"joinedTime"`
// MembershipNo The user's member number in the membership plan.
MembershipNo int `json:"membershipNo"`
// NextBillingDate Next payment date for membership plan.
// - Format: yyyy-MM-dd (e.g. 2024-02-08)
// - Timezone: UTC+9
NextBillingDate string `json:"nextBillingDate"`
// TotalSubscriptionMonths 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.
TotalSubscriptionMonths int `json:"totalSubscriptionMonths"`
}
SubscribedMembershipUser Object containing user membership subscription information.
type Subscription ¶
type Subscription struct {
// Membership Object containing information about the membership plan.
Membership SubscribedMembershipPlan `json:"membership"`
// User Object containing user membership subscription information.
User SubscribedMembershipUser `json:"user"`
}
Subscription An array of memberships.
type TestWebhookEndpoint200JSONResponse ¶
type TestWebhookEndpoint200JSONResponse TestWebhookEndpointResponse
func (TestWebhookEndpoint200JSONResponse) VisitTestWebhookEndpointResponse ¶
func (response TestWebhookEndpoint200JSONResponse) VisitTestWebhookEndpointResponse(w http.ResponseWriter) error
type TestWebhookEndpointJSONRequestBody ¶
type TestWebhookEndpointJSONRequestBody = TestWebhookEndpointRequest
TestWebhookEndpointJSONRequestBody defines body for TestWebhookEndpoint for application/json ContentType.
type TestWebhookEndpointRequest ¶
type TestWebhookEndpointRequest struct {
// Endpoint A webhook URL to be validated.
Endpoint *string `json:"endpoint,omitempty"`
}
TestWebhookEndpointRequest defines model for TestWebhookEndpointRequest.
type TestWebhookEndpointRequestObject ¶
type TestWebhookEndpointRequestObject struct {
Body *TestWebhookEndpointJSONRequestBody
}
type TestWebhookEndpointResponse ¶
type TestWebhookEndpointResponse struct {
// Detail Details of the response.
Detail string `json:"detail"`
// Reason Reason for the response.
Reason string `json:"reason"`
// StatusCode The HTTP status code. If the webhook response isn't received, the status code is set to zero or a negative number.
StatusCode int32 `json:"statusCode"`
// Success Result of the communication from the LINE platform to the webhook URL.
Success *bool `json:"success,omitempty"`
// Timestamp 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.
Timestamp time.Time `json:"timestamp"`
}
TestWebhookEndpointResponse defines model for TestWebhookEndpointResponse.
type TestWebhookEndpointResponseObject ¶
type TestWebhookEndpointResponseObject interface {
VisitTestWebhookEndpointResponse(w http.ResponseWriter) error
}
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) Broadcast ¶
func (_ Unimplemented) Broadcast(w http.ResponseWriter, r *http.Request, params BroadcastParams)
(POST /v2/bot/message/broadcast)
func (Unimplemented) CancelDefaultRichMenu ¶
func (_ Unimplemented) CancelDefaultRichMenu(w http.ResponseWriter, r *http.Request)
(DELETE /v2/bot/user/all/richmenu)
func (Unimplemented) CloseCoupon ¶
func (_ Unimplemented) CloseCoupon(w http.ResponseWriter, r *http.Request, couponId string)
(PUT /v2/bot/coupon/{couponId}/close)
func (Unimplemented) CreateCoupon ¶
func (_ Unimplemented) CreateCoupon(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/coupon)
func (Unimplemented) CreateRichMenu ¶
func (_ Unimplemented) CreateRichMenu(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu)
func (Unimplemented) CreateRichMenuAlias ¶
func (_ Unimplemented) CreateRichMenuAlias(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/alias)
func (Unimplemented) DeleteRichMenu ¶
func (_ Unimplemented) DeleteRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
(DELETE /v2/bot/richmenu/{richMenuId})
func (Unimplemented) DeleteRichMenuAlias ¶
func (_ Unimplemented) DeleteRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
(DELETE /v2/bot/richmenu/alias/{richMenuAliasId})
func (Unimplemented) GetAggregationUnitNameList ¶
func (_ Unimplemented) GetAggregationUnitNameList(w http.ResponseWriter, r *http.Request, params GetAggregationUnitNameListParams)
(GET /v2/bot/message/aggregation/list)
func (Unimplemented) GetAggregationUnitUsage ¶
func (_ Unimplemented) GetAggregationUnitUsage(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/message/aggregation/info)
func (Unimplemented) GetBotInfo ¶
func (_ Unimplemented) GetBotInfo(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/info)
func (Unimplemented) GetCouponDetail ¶
func (_ Unimplemented) GetCouponDetail(w http.ResponseWriter, r *http.Request, couponId string)
(GET /v2/bot/coupon/{couponId})
func (Unimplemented) GetDefaultRichMenuId ¶
func (_ Unimplemented) GetDefaultRichMenuId(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/user/all/richmenu)
func (Unimplemented) GetFollowers ¶
func (_ Unimplemented) GetFollowers(w http.ResponseWriter, r *http.Request, params GetFollowersParams)
(GET /v2/bot/followers/ids)
func (Unimplemented) GetGroupMemberCount ¶
func (_ Unimplemented) GetGroupMemberCount(w http.ResponseWriter, r *http.Request, groupId string)
(GET /v2/bot/group/{groupId}/members/count)
func (Unimplemented) GetGroupMemberProfile ¶
func (_ Unimplemented) GetGroupMemberProfile(w http.ResponseWriter, r *http.Request, groupId string, userId string)
(GET /v2/bot/group/{groupId}/member/{userId})
func (Unimplemented) GetGroupMembersIds ¶
func (_ Unimplemented) GetGroupMembersIds(w http.ResponseWriter, r *http.Request, groupId string, params GetGroupMembersIdsParams)
(GET /v2/bot/group/{groupId}/members/ids)
func (Unimplemented) GetGroupSummary ¶
func (_ Unimplemented) GetGroupSummary(w http.ResponseWriter, r *http.Request, groupId string)
(GET /v2/bot/group/{groupId}/summary)
func (Unimplemented) GetJoinedMembershipUsers ¶
func (_ Unimplemented) GetJoinedMembershipUsers(w http.ResponseWriter, r *http.Request, membershipId int, params GetJoinedMembershipUsersParams)
(GET /v2/bot/membership/{membershipId}/users/ids)
func (Unimplemented) GetMembershipList ¶
func (_ Unimplemented) GetMembershipList(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/membership/list)
func (Unimplemented) GetMembershipSubscription ¶
func (_ Unimplemented) GetMembershipSubscription(w http.ResponseWriter, r *http.Request, userId string)
(GET /v2/bot/membership/subscription/{userId})
func (Unimplemented) GetMessageContent ¶
func (_ Unimplemented) GetMessageContent(w http.ResponseWriter, r *http.Request, messageId string)
(GET /v2/bot/message/{messageId}/content)
func (Unimplemented) GetMessageContentPreview ¶
func (_ Unimplemented) GetMessageContentPreview(w http.ResponseWriter, r *http.Request, messageId string)
(GET /v2/bot/message/{messageId}/content/preview)
func (Unimplemented) GetMessageContentTranscodingByMessageId ¶
func (_ Unimplemented) GetMessageContentTranscodingByMessageId(w http.ResponseWriter, r *http.Request, messageId string)
(GET /v2/bot/message/{messageId}/content/transcoding)
func (Unimplemented) GetMessageQuota ¶
func (_ Unimplemented) GetMessageQuota(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/message/quota)
func (Unimplemented) GetMessageQuotaConsumption ¶
func (_ Unimplemented) GetMessageQuotaConsumption(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/message/quota/consumption)
func (Unimplemented) GetNarrowcastProgress ¶
func (_ Unimplemented) GetNarrowcastProgress(w http.ResponseWriter, r *http.Request, params GetNarrowcastProgressParams)
(GET /v2/bot/message/progress/narrowcast)
func (Unimplemented) GetNumberOfSentBroadcastMessages ¶
func (_ Unimplemented) GetNumberOfSentBroadcastMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentBroadcastMessagesParams)
(GET /v2/bot/message/delivery/broadcast)
func (Unimplemented) GetNumberOfSentMulticastMessages ¶
func (_ Unimplemented) GetNumberOfSentMulticastMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentMulticastMessagesParams)
(GET /v2/bot/message/delivery/multicast)
func (Unimplemented) GetNumberOfSentPushMessages ¶
func (_ Unimplemented) GetNumberOfSentPushMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentPushMessagesParams)
(GET /v2/bot/message/delivery/push)
func (Unimplemented) GetNumberOfSentReplyMessages ¶
func (_ Unimplemented) GetNumberOfSentReplyMessages(w http.ResponseWriter, r *http.Request, params GetNumberOfSentReplyMessagesParams)
(GET /v2/bot/message/delivery/reply)
func (Unimplemented) GetPNPMessageStatistics ¶
func (_ Unimplemented) GetPNPMessageStatistics(w http.ResponseWriter, r *http.Request, params GetPNPMessageStatisticsParams)
(GET /v2/bot/message/delivery/pnp)
func (Unimplemented) GetProfile ¶
func (_ Unimplemented) GetProfile(w http.ResponseWriter, r *http.Request, userId string)
(GET /v2/bot/profile/{userId})
func (Unimplemented) GetRichMenu ¶
func (_ Unimplemented) GetRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
(GET /v2/bot/richmenu/{richMenuId})
func (Unimplemented) GetRichMenuAlias ¶
func (_ Unimplemented) GetRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
(GET /v2/bot/richmenu/alias/{richMenuAliasId})
func (Unimplemented) GetRichMenuAliasList ¶
func (_ Unimplemented) GetRichMenuAliasList(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/richmenu/alias/list)
func (Unimplemented) GetRichMenuBatchProgress ¶
func (_ Unimplemented) GetRichMenuBatchProgress(w http.ResponseWriter, r *http.Request, params GetRichMenuBatchProgressParams)
(GET /v2/bot/richmenu/progress/batch)
func (Unimplemented) GetRichMenuIdOfUser ¶
func (_ Unimplemented) GetRichMenuIdOfUser(w http.ResponseWriter, r *http.Request, userId string)
(GET /v2/bot/user/{userId}/richmenu)
func (Unimplemented) GetRichMenuImage ¶
func (_ Unimplemented) GetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
(GET /v2/bot/richmenu/{richMenuId}/content)
func (Unimplemented) GetRichMenuList ¶
func (_ Unimplemented) GetRichMenuList(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/richmenu/list)
func (Unimplemented) GetRoomMemberCount ¶
func (_ Unimplemented) GetRoomMemberCount(w http.ResponseWriter, r *http.Request, roomId string)
(GET /v2/bot/room/{roomId}/members/count)
func (Unimplemented) GetRoomMemberProfile ¶
func (_ Unimplemented) GetRoomMemberProfile(w http.ResponseWriter, r *http.Request, roomId string, userId string)
(GET /v2/bot/room/{roomId}/member/{userId})
func (Unimplemented) GetRoomMembersIds ¶
func (_ Unimplemented) GetRoomMembersIds(w http.ResponseWriter, r *http.Request, roomId string, params GetRoomMembersIdsParams)
(GET /v2/bot/room/{roomId}/members/ids)
func (Unimplemented) GetWebhookEndpoint ¶
func (_ Unimplemented) GetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
(GET /v2/bot/channel/webhook/endpoint)
func (Unimplemented) IssueLinkToken ¶
func (_ Unimplemented) IssueLinkToken(w http.ResponseWriter, r *http.Request, userId string)
(POST /v2/bot/user/{userId}/linkToken)
func (Unimplemented) LeaveGroup ¶
func (_ Unimplemented) LeaveGroup(w http.ResponseWriter, r *http.Request, groupId string)
(POST /v2/bot/group/{groupId}/leave)
func (Unimplemented) LeaveRoom ¶
func (_ Unimplemented) LeaveRoom(w http.ResponseWriter, r *http.Request, roomId string)
(POST /v2/bot/room/{roomId}/leave)
func (Unimplemented) LinkRichMenuIdToUser ¶
func (_ Unimplemented) LinkRichMenuIdToUser(w http.ResponseWriter, r *http.Request, userId string, richMenuId string)
(POST /v2/bot/user/{userId}/richmenu/{richMenuId})
func (Unimplemented) LinkRichMenuIdToUsers ¶
func (_ Unimplemented) LinkRichMenuIdToUsers(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/bulk/link)
func (Unimplemented) ListCoupon ¶
func (_ Unimplemented) ListCoupon(w http.ResponseWriter, r *http.Request, params ListCouponParams)
(GET /v2/bot/coupon)
func (Unimplemented) MarkMessagesAsRead ¶
func (_ Unimplemented) MarkMessagesAsRead(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/markAsRead)
func (Unimplemented) Multicast ¶
func (_ Unimplemented) Multicast(w http.ResponseWriter, r *http.Request, params MulticastParams)
(POST /v2/bot/message/multicast)
func (Unimplemented) Narrowcast ¶
func (_ Unimplemented) Narrowcast(w http.ResponseWriter, r *http.Request, params NarrowcastParams)
(POST /v2/bot/message/narrowcast)
func (Unimplemented) PushMessage ¶
func (_ Unimplemented) PushMessage(w http.ResponseWriter, r *http.Request, params PushMessageParams)
(POST /v2/bot/message/push)
func (Unimplemented) PushMessagesByPhone ¶
func (_ Unimplemented) PushMessagesByPhone(w http.ResponseWriter, r *http.Request, params PushMessagesByPhoneParams)
(POST /bot/pnp/push)
func (Unimplemented) ReplyMessage ¶
func (_ Unimplemented) ReplyMessage(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/reply)
func (Unimplemented) RichMenuBatch ¶
func (_ Unimplemented) RichMenuBatch(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/batch)
func (Unimplemented) SetDefaultRichMenu ¶
func (_ Unimplemented) SetDefaultRichMenu(w http.ResponseWriter, r *http.Request, richMenuId string)
(POST /v2/bot/user/all/richmenu/{richMenuId})
func (Unimplemented) SetRichMenuImage ¶
func (_ Unimplemented) SetRichMenuImage(w http.ResponseWriter, r *http.Request, richMenuId string)
(POST /v2/bot/richmenu/{richMenuId}/content)
func (Unimplemented) SetWebhookEndpoint ¶
func (_ Unimplemented) SetWebhookEndpoint(w http.ResponseWriter, r *http.Request)
(PUT /v2/bot/channel/webhook/endpoint)
func (Unimplemented) ShowLoadingAnimation ¶
func (_ Unimplemented) ShowLoadingAnimation(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/chat/loading/start)
func (Unimplemented) TestWebhookEndpoint ¶
func (_ Unimplemented) TestWebhookEndpoint(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/channel/webhook/test)
func (Unimplemented) UnlinkRichMenuIdFromUser ¶
func (_ Unimplemented) UnlinkRichMenuIdFromUser(w http.ResponseWriter, r *http.Request, userId string)
(DELETE /v2/bot/user/{userId}/richmenu)
func (Unimplemented) UnlinkRichMenuIdFromUsers ¶
func (_ Unimplemented) UnlinkRichMenuIdFromUsers(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/bulk/unlink)
func (Unimplemented) UpdateRichMenuAlias ¶
func (_ Unimplemented) UpdateRichMenuAlias(w http.ResponseWriter, r *http.Request, richMenuAliasId string)
(POST /v2/bot/richmenu/alias/{richMenuAliasId})
func (Unimplemented) ValidateBroadcast ¶
func (_ Unimplemented) ValidateBroadcast(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/validate/broadcast)
func (Unimplemented) ValidateMulticast ¶
func (_ Unimplemented) ValidateMulticast(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/validate/multicast)
func (Unimplemented) ValidateNarrowcast ¶
func (_ Unimplemented) ValidateNarrowcast(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/validate/narrowcast)
func (Unimplemented) ValidatePush ¶
func (_ Unimplemented) ValidatePush(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/validate/push)
func (Unimplemented) ValidateReply ¶
func (_ Unimplemented) ValidateReply(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/message/validate/reply)
func (Unimplemented) ValidateRichMenuBatchRequest ¶
func (_ Unimplemented) ValidateRichMenuBatchRequest(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/validate/batch)
func (Unimplemented) ValidateRichMenuObject ¶
func (_ Unimplemented) ValidateRichMenuObject(w http.ResponseWriter, r *http.Request)
(POST /v2/bot/richmenu/validate)
type UnlinkRichMenuIdFromUser200Response ¶
type UnlinkRichMenuIdFromUser200Response struct {
}
func (UnlinkRichMenuIdFromUser200Response) VisitUnlinkRichMenuIdFromUserResponse ¶
func (response UnlinkRichMenuIdFromUser200Response) VisitUnlinkRichMenuIdFromUserResponse(w http.ResponseWriter) error
type UnlinkRichMenuIdFromUserRequestObject ¶
type UnlinkRichMenuIdFromUserRequestObject struct {
UserId string `json:"userId"`
}
type UnlinkRichMenuIdFromUserResponseObject ¶
type UnlinkRichMenuIdFromUserResponseObject interface {
VisitUnlinkRichMenuIdFromUserResponse(w http.ResponseWriter) error
}
type UnlinkRichMenuIdFromUsers202Response ¶
type UnlinkRichMenuIdFromUsers202Response struct {
}
func (UnlinkRichMenuIdFromUsers202Response) VisitUnlinkRichMenuIdFromUsersResponse ¶
func (response UnlinkRichMenuIdFromUsers202Response) VisitUnlinkRichMenuIdFromUsersResponse(w http.ResponseWriter) error
type UnlinkRichMenuIdFromUsersJSONRequestBody ¶
type UnlinkRichMenuIdFromUsersJSONRequestBody = RichMenuBulkUnlinkRequest
UnlinkRichMenuIdFromUsersJSONRequestBody defines body for UnlinkRichMenuIdFromUsers for application/json ContentType.
type UnlinkRichMenuIdFromUsersRequestObject ¶
type UnlinkRichMenuIdFromUsersRequestObject struct {
Body *UnlinkRichMenuIdFromUsersJSONRequestBody
}
type UnlinkRichMenuIdFromUsersResponseObject ¶
type UnlinkRichMenuIdFromUsersResponseObject interface {
VisitUnlinkRichMenuIdFromUsersResponse(w http.ResponseWriter) error
}
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateRichMenuAlias200Response ¶
type UpdateRichMenuAlias200Response struct {
}
func (UpdateRichMenuAlias200Response) VisitUpdateRichMenuAliasResponse ¶
func (response UpdateRichMenuAlias200Response) VisitUpdateRichMenuAliasResponse(w http.ResponseWriter) error
type UpdateRichMenuAlias400JSONResponse ¶
type UpdateRichMenuAlias400JSONResponse ErrorResponse
func (UpdateRichMenuAlias400JSONResponse) VisitUpdateRichMenuAliasResponse ¶
func (response UpdateRichMenuAlias400JSONResponse) VisitUpdateRichMenuAliasResponse(w http.ResponseWriter) error
type UpdateRichMenuAliasJSONRequestBody ¶
type UpdateRichMenuAliasJSONRequestBody = UpdateRichMenuAliasRequest
UpdateRichMenuAliasJSONRequestBody defines body for UpdateRichMenuAlias for application/json ContentType.
type UpdateRichMenuAliasRequest ¶
type UpdateRichMenuAliasRequest struct {
// RichMenuId The rich menu ID to be associated with the rich menu alias.
RichMenuId string `json:"richMenuId"`
}
UpdateRichMenuAliasRequest defines model for UpdateRichMenuAliasRequest.
type UpdateRichMenuAliasRequestObject ¶
type UpdateRichMenuAliasRequestObject struct {
RichMenuAliasId string `json:"richMenuAliasId"`
Body *UpdateRichMenuAliasJSONRequestBody
}
type UpdateRichMenuAliasResponseObject ¶
type UpdateRichMenuAliasResponseObject interface {
VisitUpdateRichMenuAliasResponse(w http.ResponseWriter) error
}
type UserProfileResponse ¶
type UserProfileResponse struct {
// DisplayName User's display name
DisplayName string `json:"displayName"`
// Language 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"`
// PictureUrl 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"`
// StatusMessage User's status message. Not included in the response if the user doesn't have a status message.
StatusMessage *string `json:"statusMessage,omitempty"`
// UserId User ID
UserId string `json:"userId"`
}
UserProfileResponse defines model for UserProfileResponse.
type ValidateBroadcast200Response ¶
type ValidateBroadcast200Response struct {
}
func (ValidateBroadcast200Response) VisitValidateBroadcastResponse ¶
func (response ValidateBroadcast200Response) VisitValidateBroadcastResponse(w http.ResponseWriter) error
type ValidateBroadcastJSONRequestBody ¶
type ValidateBroadcastJSONRequestBody = ValidateMessageRequest
ValidateBroadcastJSONRequestBody defines body for ValidateBroadcast for application/json ContentType.
type ValidateBroadcastRequestObject ¶
type ValidateBroadcastRequestObject struct {
Body *ValidateBroadcastJSONRequestBody
}
type ValidateBroadcastResponseObject ¶
type ValidateBroadcastResponseObject interface {
VisitValidateBroadcastResponse(w http.ResponseWriter) error
}
type ValidateMessageRequest ¶
type ValidateMessageRequest struct {
// Messages Array of message objects to validate
Messages []Message `json:"messages"`
}
ValidateMessageRequest defines model for ValidateMessageRequest.
type ValidateMulticast200Response ¶
type ValidateMulticast200Response struct {
}
func (ValidateMulticast200Response) VisitValidateMulticastResponse ¶
func (response ValidateMulticast200Response) VisitValidateMulticastResponse(w http.ResponseWriter) error
type ValidateMulticastJSONRequestBody ¶
type ValidateMulticastJSONRequestBody = ValidateMessageRequest
ValidateMulticastJSONRequestBody defines body for ValidateMulticast for application/json ContentType.
type ValidateMulticastRequestObject ¶
type ValidateMulticastRequestObject struct {
Body *ValidateMulticastJSONRequestBody
}
type ValidateMulticastResponseObject ¶
type ValidateMulticastResponseObject interface {
VisitValidateMulticastResponse(w http.ResponseWriter) error
}
type ValidateNarrowcast200Response ¶
type ValidateNarrowcast200Response struct {
}
func (ValidateNarrowcast200Response) VisitValidateNarrowcastResponse ¶
func (response ValidateNarrowcast200Response) VisitValidateNarrowcastResponse(w http.ResponseWriter) error
type ValidateNarrowcastJSONRequestBody ¶
type ValidateNarrowcastJSONRequestBody = ValidateMessageRequest
ValidateNarrowcastJSONRequestBody defines body for ValidateNarrowcast for application/json ContentType.
type ValidateNarrowcastRequestObject ¶
type ValidateNarrowcastRequestObject struct {
Body *ValidateNarrowcastJSONRequestBody
}
type ValidateNarrowcastResponseObject ¶
type ValidateNarrowcastResponseObject interface {
VisitValidateNarrowcastResponse(w http.ResponseWriter) error
}
type ValidatePush200Response ¶
type ValidatePush200Response struct {
}
func (ValidatePush200Response) VisitValidatePushResponse ¶
func (response ValidatePush200Response) VisitValidatePushResponse(w http.ResponseWriter) error
type ValidatePushJSONRequestBody ¶
type ValidatePushJSONRequestBody = ValidateMessageRequest
ValidatePushJSONRequestBody defines body for ValidatePush for application/json ContentType.
type ValidatePushRequestObject ¶
type ValidatePushRequestObject struct {
Body *ValidatePushJSONRequestBody
}
type ValidatePushResponseObject ¶
type ValidatePushResponseObject interface {
VisitValidatePushResponse(w http.ResponseWriter) error
}
type ValidateReply200Response ¶
type ValidateReply200Response struct {
}
func (ValidateReply200Response) VisitValidateReplyResponse ¶
func (response ValidateReply200Response) VisitValidateReplyResponse(w http.ResponseWriter) error
type ValidateReplyJSONRequestBody ¶
type ValidateReplyJSONRequestBody = ValidateMessageRequest
ValidateReplyJSONRequestBody defines body for ValidateReply for application/json ContentType.
type ValidateReplyRequestObject ¶
type ValidateReplyRequestObject struct {
Body *ValidateReplyJSONRequestBody
}
type ValidateReplyResponseObject ¶
type ValidateReplyResponseObject interface {
VisitValidateReplyResponse(w http.ResponseWriter) error
}
type ValidateRichMenuBatchRequest200Response ¶
type ValidateRichMenuBatchRequest200Response struct {
}
func (ValidateRichMenuBatchRequest200Response) VisitValidateRichMenuBatchRequestResponse ¶
func (response ValidateRichMenuBatchRequest200Response) VisitValidateRichMenuBatchRequestResponse(w http.ResponseWriter) error
type ValidateRichMenuBatchRequestJSONRequestBody ¶
type ValidateRichMenuBatchRequestJSONRequestBody = RichMenuBatchRequest
ValidateRichMenuBatchRequestJSONRequestBody defines body for ValidateRichMenuBatchRequest for application/json ContentType.
type ValidateRichMenuBatchRequestRequestObject ¶
type ValidateRichMenuBatchRequestRequestObject struct {
Body *ValidateRichMenuBatchRequestJSONRequestBody
}
type ValidateRichMenuBatchRequestResponseObject ¶
type ValidateRichMenuBatchRequestResponseObject interface {
VisitValidateRichMenuBatchRequestResponse(w http.ResponseWriter) error
}
type ValidateRichMenuObject200Response ¶
type ValidateRichMenuObject200Response struct {
}
func (ValidateRichMenuObject200Response) VisitValidateRichMenuObjectResponse ¶
func (response ValidateRichMenuObject200Response) VisitValidateRichMenuObjectResponse(w http.ResponseWriter) error
type ValidateRichMenuObjectJSONRequestBody ¶
type ValidateRichMenuObjectJSONRequestBody = RichMenuRequest
ValidateRichMenuObjectJSONRequestBody defines body for ValidateRichMenuObject for application/json ContentType.
type ValidateRichMenuObjectRequestObject ¶
type ValidateRichMenuObjectRequestObject struct {
Body *ValidateRichMenuObjectJSONRequestBody
}
type ValidateRichMenuObjectResponseObject ¶
type ValidateRichMenuObjectResponseObject interface {
VisitValidateRichMenuObjectResponse(w http.ResponseWriter) error
}