Versions in this module Expand all Collapse all v1 v1.3.0 Jul 17, 2018 Changes in this version + const APIEndpointAddLIFFAPP + const APIEndpointBase + const APIEndpointCreateRichMenu + const APIEndpointDeleteLIFFAPP + const APIEndpointDeleteRichMenu + const APIEndpointDownloadRichMenuImage + const APIEndpointGetGroupMemberIDs + const APIEndpointGetGroupMemberProfile + const APIEndpointGetLIFFAPP + const APIEndpointGetMessageContent + const APIEndpointGetProfile + const APIEndpointGetRichMenu + const APIEndpointGetRoomMemberIDs + const APIEndpointGetRoomMemberProfile + const APIEndpointGetUserRichMenu + const APIEndpointLeaveGroup + const APIEndpointLeaveRoom + const APIEndpointLinkToken + const APIEndpointLinkUserRichMenu + const APIEndpointListRichMenu + const APIEndpointMulticast + const APIEndpointPushMessage + const APIEndpointReplyMessage + const APIEndpointUnlinkUserRichMenu + const APIEndpointUpdateLIFFAPP + const APIEndpointUploadRichMenuImage + var ErrInvalidSignature = errors.New("invalid signature") + type APIError struct + Code int + Response *ErrorResponse + func (e *APIError) Error() string + type AccountLink struct + Nonce string + Result AccountLinkResult + type AccountLinkResult string + const AccountLinkResultFailed + const AccountLinkResultOK + type AddLIFFCall struct + View View + func (call *AddLIFFCall) Do() (*LIFFIDResponse, error) + func (call *AddLIFFCall) WithContext(ctx context.Context) *AddLIFFCall + type AreaDetail struct + Action RichMenuAction + Bounds RichMenuBounds + type AudioMessage struct + Duration int + ID string + OriginalContentURL string + func NewAudioMessage(originalContentURL string, duration int) *AudioMessage + func (*AudioMessage) Message() + func (m *AudioMessage) MarshalJSON() ([]byte, error) + type BasicResponse struct + type Beacon struct + DeviceMessage []byte + Hwid string + Type BeaconEventType + type BeaconEventType string + const BeaconEventTypeBanner + const BeaconEventTypeEnter + const BeaconEventTypeLeave + type BlockStyle struct + BackgroundColor string + Separator bool + SeparatorColor string + type BoxComponent struct + Contents []FlexComponent + Flex int + Layout FlexBoxLayoutType + Margin FlexComponentMarginType + Spacing FlexComponentSpacingType + Type FlexComponentType + func (*BoxComponent) FlexComponent() + func (c *BoxComponent) UnmarshalJSON(data []byte) error + type BubbleContainer struct + Body *BoxComponent + Direction FlexBubbleDirectionType + Footer *BoxComponent + Header *BoxComponent + Hero *ImageComponent + Styles *BubbleStyle + Type FlexContainerType + func (*BubbleContainer) FlexContainer() + type BubbleStyle struct + Body *BlockStyle + Footer *BlockStyle + Header *BlockStyle + Hero *BlockStyle + type ButtonComponent struct + Action TemplateAction + Color string + Flex int + Gravity FlexComponentGravityType + Height FlexButtonHeightType + Margin FlexComponentMarginType + Style FlexButtonStyleType + Type FlexComponentType + func (*ButtonComponent) FlexComponent() + func (c *ButtonComponent) UnmarshalJSON(data []byte) error + type ButtonsTemplate struct + Actions []TemplateAction + ImageAspectRatio ImageAspectRatioType + ImageBackgroundColor string + ImageSize ImageSizeType + Text string + ThumbnailImageURL string + Title string + func NewButtonsTemplate(thumbnailImageURL, title, text string, actions ...TemplateAction) *ButtonsTemplate + func (*ButtonsTemplate) Template() + func (t *ButtonsTemplate) MarshalJSON() ([]byte, error) + func (t *ButtonsTemplate) WithImageOptions(imageAspectRatio ImageAspectRatioType, imageSize ImageSizeType, ...) *ButtonsTemplate + type CarouselColumn struct + Actions []TemplateAction + ImageBackgroundColor string + Text string + ThumbnailImageURL string + Title string + func NewCarouselColumn(thumbnailImageURL, title, text string, actions ...TemplateAction) *CarouselColumn + func (t *CarouselColumn) WithImageOptions(imageBackgroundColor string) *CarouselColumn + type CarouselContainer struct + Contents []*BubbleContainer + Type FlexContainerType + func (*CarouselContainer) FlexContainer() + type CarouselTemplate struct + Columns []*CarouselColumn + ImageAspectRatio ImageAspectRatioType + ImageSize ImageSizeType + func NewCarouselTemplate(columns ...*CarouselColumn) *CarouselTemplate + func (*CarouselTemplate) Template() + func (t *CarouselTemplate) MarshalJSON() ([]byte, error) + func (t *CarouselTemplate) WithImageOptions(imageAspectRatio ImageAspectRatioType, imageSize ImageSizeType) *CarouselTemplate + type Client struct + func New(channelSecret, channelToken string, options ...ClientOption) (*Client, error) + func (client *Client) AddLIFF(view View) *AddLIFFCall + func (client *Client) CreateRichMenu(richMenu RichMenu) *CreateRichMenuCall + func (client *Client) DeleteLIFF(liffID string) *DeleteLIFFCall + func (client *Client) DeleteRichMenu(richMenuID string) *DeleteRichMenuCall + func (client *Client) DownloadRichMenuImage(richMenuID string) *DownloadRichMenuImageCall + func (client *Client) GetGroupMemberIDs(groupID, continuationToken string) *GetGroupMemberIDsCall + func (client *Client) GetGroupMemberProfile(groupID, userID string) *GetGroupMemberProfileCall + func (client *Client) GetLIFF() *GetLIFFAllCall + func (client *Client) GetMessageContent(messageID string) *GetMessageContentCall + func (client *Client) GetProfile(userID string) *GetProfileCall + func (client *Client) GetRichMenu(richMenuID string) *GetRichMenuCall + func (client *Client) GetRichMenuList() *GetRichMenuListCall + func (client *Client) GetRoomMemberIDs(roomID, continuationToken string) *GetRoomMemberIDsCall + func (client *Client) GetRoomMemberProfile(roomID, userID string) *GetRoomMemberProfileCall + func (client *Client) GetUserRichMenu(userID string) *GetUserRichMenuCall + func (client *Client) IssueLinkToken(userID string) *IssueLinkTokenCall + func (client *Client) LeaveGroup(groupID string) *LeaveGroupCall + func (client *Client) LeaveRoom(roomID string) *LeaveRoomCall + func (client *Client) LinkUserRichMenu(userID, richMenuID string) *LinkUserRichMenuCall + func (client *Client) Multicast(to []string, messages ...Message) *MulticastCall + func (client *Client) ParseRequest(r *http.Request) ([]*Event, error) + func (client *Client) PushMessage(to string, messages ...Message) *PushMessageCall + func (client *Client) ReplyMessage(replyToken string, messages ...Message) *ReplyMessageCall + func (client *Client) UnlinkUserRichMenu(userID string) *UnlinkUserRichMenuCall + func (client *Client) UpdateLIFF(liffID string, view View) *UpdateLIFFCall + func (client *Client) UploadRichMenuImage(richMenuID, imgPath string) *UploadRichMenuImageCall + type ClientOption func(*Client) error + func WithEndpointBase(endpointBase string) ClientOption + func WithHTTPClient(c *http.Client) ClientOption + type ConfirmTemplate struct + Actions []TemplateAction + Text string + func NewConfirmTemplate(text string, left, right TemplateAction) *ConfirmTemplate + func (*ConfirmTemplate) Template() + func (t *ConfirmTemplate) MarshalJSON() ([]byte, error) + type CreateRichMenuCall struct + func (call *CreateRichMenuCall) Do() (*RichMenuIDResponse, error) + func (call *CreateRichMenuCall) WithContext(ctx context.Context) *CreateRichMenuCall + type DatetimePickerTemplateAction struct + Data string + Initial string + Label string + Max string + Min string + Mode string + func NewDatetimePickerTemplateAction(label, data, mode, initial, max, min string) *DatetimePickerTemplateAction + func (*DatetimePickerTemplateAction) TemplateAction() + func (a *DatetimePickerTemplateAction) MarshalJSON() ([]byte, error) + type DeleteLIFFCall struct + LIFFID string + func (call *DeleteLIFFCall) Do() (*BasicResponse, error) + func (call *DeleteLIFFCall) WithContext(ctx context.Context) *DeleteLIFFCall + type DeleteRichMenuCall struct + func (call *DeleteRichMenuCall) Do() (*BasicResponse, error) + func (call *DeleteRichMenuCall) WithContext(ctx context.Context) *DeleteRichMenuCall + type DownloadRichMenuImageCall struct + func (call *DownloadRichMenuImageCall) Do() (*MessageContentResponse, error) + func (call *DownloadRichMenuImageCall) WithContext(ctx context.Context) *DownloadRichMenuImageCall + type ErrorResponse struct + Details []errorResponseDetail + Message string + type Event struct + AccountLink *AccountLink + Beacon *Beacon + Message Message + Postback *Postback + ReplyToken string + Source *EventSource + Timestamp time.Time + Type EventType + func ParseRequest(channelSecret string, r *http.Request) ([]*Event, error) + func (e *Event) MarshalJSON() ([]byte, error) + func (e *Event) UnmarshalJSON(body []byte) (err error) + type EventSource struct + GroupID string + RoomID string + Type EventSourceType + UserID string + type EventSourceType string + const EventSourceTypeGroup + const EventSourceTypeRoom + const EventSourceTypeUser + type EventType string + const EventTypeAccountLink + const EventTypeBeacon + const EventTypeFollow + const EventTypeJoin + const EventTypeLeave + const EventTypeMessage + const EventTypePostback + const EventTypeUnfollow + type FileMessage struct + FileName string + FileSize int + ID string + func (*FileMessage) Message() + type FillerComponent struct + Type FlexComponentType + func (*FillerComponent) FlexComponent() + type FlexBoxLayoutType string + const FlexBoxLayoutTypeBaseline + const FlexBoxLayoutTypeHorizontal + const FlexBoxLayoutTypeVertical + type FlexBubbleDirectionType string + const FlexBubbleDirectionTypeLTR + const FlexBubbleDirectionTypeRTL + type FlexButtonHeightType string + const FlexButtonHeightTypeMd + const FlexButtonHeightTypeSm + type FlexButtonStyleType string + const FlexButtonStyleTypeLink + const FlexButtonStyleTypePrimary + const FlexButtonStyleTypeSecondary + type FlexComponent interface + FlexComponent func() + type FlexComponentAlignType string + const FlexComponentAlignTypeCenter + const FlexComponentAlignTypeEnd + const FlexComponentAlignTypeStart + type FlexComponentGravityType string + const FlexComponentGravityTypeBottom + const FlexComponentGravityTypeCenter + const FlexComponentGravityTypeTop + type FlexComponentMarginType string + const FlexComponentMarginTypeLg + const FlexComponentMarginTypeMd + const FlexComponentMarginTypeNone + const FlexComponentMarginTypeSm + const FlexComponentMarginTypeXl + const FlexComponentMarginTypeXs + const FlexComponentMarginTypeXxl + type FlexComponentSpacingType string + const FlexComponentSpacingTypeLg + const FlexComponentSpacingTypeMd + const FlexComponentSpacingTypeNone + const FlexComponentSpacingTypeSm + const FlexComponentSpacingTypeXl + const FlexComponentSpacingTypeXs + const FlexComponentSpacingTypeXxl + type FlexComponentType string + const FlexComponentTypeBox + const FlexComponentTypeButton + const FlexComponentTypeFiller + const FlexComponentTypeIcon + const FlexComponentTypeImage + const FlexComponentTypeSeparator + const FlexComponentTypeSpacer + const FlexComponentTypeText + type FlexContainer interface + FlexContainer func() + func UnmarshalFlexMessageJSON(data []byte) (FlexContainer, error) + type FlexContainerType string + const FlexContainerTypeBubble + const FlexContainerTypeCarousel + type FlexIconAspectRatioType string + const FlexIconAspectRatioType1to1 + const FlexIconAspectRatioType2to1 + const FlexIconAspectRatioType3to1 + type FlexIconSizeType string + const FlexIconSizeType3xl + const FlexIconSizeType4xl + const FlexIconSizeType5xl + const FlexIconSizeTypeLg + const FlexIconSizeTypeMd + const FlexIconSizeTypeSm + const FlexIconSizeTypeXl + const FlexIconSizeTypeXs + const FlexIconSizeTypeXxl + const FlexIconSizeTypeXxs + type FlexImageAspectModeType string + const FlexImageAspectModeTypeCover + const FlexImageAspectModeTypeFit + type FlexImageAspectRatioType string + const FlexImageAspectRatioType16to9 + const FlexImageAspectRatioType1_51to1 + const FlexImageAspectRatioType1_91to1 + const FlexImageAspectRatioType1to1 + const FlexImageAspectRatioType1to2 + const FlexImageAspectRatioType1to3 + const FlexImageAspectRatioType20to13 + const FlexImageAspectRatioType2to1 + const FlexImageAspectRatioType3to1 + const FlexImageAspectRatioType3to4 + const FlexImageAspectRatioType4to3 + const FlexImageAspectRatioType9to16 + type FlexImageSizeType string + const FlexImageSizeType3xl + const FlexImageSizeType4xl + const FlexImageSizeType5xl + const FlexImageSizeTypeFull + const FlexImageSizeTypeLg + const FlexImageSizeTypeMd + const FlexImageSizeTypeSm + const FlexImageSizeTypeXl + const FlexImageSizeTypeXs + const FlexImageSizeTypeXxl + const FlexImageSizeTypeXxs + type FlexMessage struct + AltText string + Contents FlexContainer + func NewFlexMessage(altText string, contents FlexContainer) *FlexMessage + func (*FlexMessage) Message() + func (m *FlexMessage) MarshalJSON() ([]byte, error) + type FlexSpacerSizeType string + const FlexSpacerSizeTypeLg + const FlexSpacerSizeTypeMd + const FlexSpacerSizeTypeSm + const FlexSpacerSizeTypeXl + const FlexSpacerSizeTypeXs + const FlexSpacerSizeTypeXxl + type FlexTextSizeType string + const FlexTextSizeType3xl + const FlexTextSizeType4xl + const FlexTextSizeType5xl + const FlexTextSizeTypeLg + const FlexTextSizeTypeMd + const FlexTextSizeTypeSm + const FlexTextSizeTypeXl + const FlexTextSizeTypeXs + const FlexTextSizeTypeXxl + const FlexTextSizeTypeXxs + type FlexTextWeightType string + const FlexTextWeightTypeBold + const FlexTextWeightTypeRegular + type GetGroupMemberIDsCall struct + func (call *GetGroupMemberIDsCall) Do() (*MemberIDsResponse, error) + func (call *GetGroupMemberIDsCall) NewScanner() *IDsScanner + func (call *GetGroupMemberIDsCall) WithContext(ctx context.Context) *GetGroupMemberIDsCall + type GetGroupMemberProfileCall struct + func (call *GetGroupMemberProfileCall) Do() (*UserProfileResponse, error) + func (call *GetGroupMemberProfileCall) WithContext(ctx context.Context) *GetGroupMemberProfileCall + type GetLIFFAllCall struct + func (call *GetLIFFAllCall) Do() (*LIFFResponse, error) + func (call *GetLIFFAllCall) WithContext(ctx context.Context) *GetLIFFAllCall + type GetMessageContentCall struct + func (call *GetMessageContentCall) Do() (*MessageContentResponse, error) + func (call *GetMessageContentCall) WithContext(ctx context.Context) *GetMessageContentCall + type GetProfileCall struct + func (call *GetProfileCall) Do() (*UserProfileResponse, error) + func (call *GetProfileCall) WithContext(ctx context.Context) *GetProfileCall + type GetRichMenuCall struct + func (call *GetRichMenuCall) Do() (*RichMenuResponse, error) + func (call *GetRichMenuCall) WithContext(ctx context.Context) *GetRichMenuCall + type GetRichMenuListCall struct + func (call *GetRichMenuListCall) Do() ([]*RichMenuResponse, error) + func (call *GetRichMenuListCall) WithContext(ctx context.Context) *GetRichMenuListCall + type GetRoomMemberIDsCall struct + func (call *GetRoomMemberIDsCall) Do() (*MemberIDsResponse, error) + func (call *GetRoomMemberIDsCall) NewScanner() *IDsScanner + func (call *GetRoomMemberIDsCall) WithContext(ctx context.Context) *GetRoomMemberIDsCall + type GetRoomMemberProfileCall struct + func (call *GetRoomMemberProfileCall) Do() (*UserProfileResponse, error) + func (call *GetRoomMemberProfileCall) WithContext(ctx context.Context) *GetRoomMemberProfileCall + type GetUserRichMenuCall struct + func (call *GetUserRichMenuCall) Do() (*RichMenuResponse, error) + func (call *GetUserRichMenuCall) WithContext(ctx context.Context) *GetUserRichMenuCall + type IDsScanner struct + func (s *IDsScanner) Err() error + func (s *IDsScanner) ID() string + func (s *IDsScanner) Scan() bool + type IconComponent struct + AspectRatio FlexIconAspectRatioType + Margin FlexComponentMarginType + Size FlexIconSizeType + Type FlexComponentType + URL string + func (*IconComponent) FlexComponent() + type ImageAspectRatioType string + const ImageAspectRatioTypeRectangle + const ImageAspectRatioTypeSquare + type ImageCarouselColumn struct + Action TemplateAction + ImageURL string + func NewImageCarouselColumn(imageURL string, action TemplateAction) *ImageCarouselColumn + type ImageCarouselTemplate struct + Columns []*ImageCarouselColumn + func NewImageCarouselTemplate(columns ...*ImageCarouselColumn) *ImageCarouselTemplate + func (*ImageCarouselTemplate) Template() + func (t *ImageCarouselTemplate) MarshalJSON() ([]byte, error) + type ImageComponent struct + Action TemplateAction + Align FlexComponentAlignType + AspectMode FlexImageAspectModeType + AspectRatio FlexImageAspectRatioType + BackgroundColor string + Flex int + Gravity FlexComponentGravityType + Margin FlexComponentMarginType + Size FlexImageSizeType + Type FlexComponentType + URL string + func (*ImageComponent) FlexComponent() + func (c *ImageComponent) UnmarshalJSON(data []byte) error + type ImageMessage struct + ID string + OriginalContentURL string + PreviewImageURL string + func NewImageMessage(originalContentURL, previewImageURL string) *ImageMessage + func (*ImageMessage) Message() + func (m *ImageMessage) MarshalJSON() ([]byte, error) + type ImageSizeType string + const ImageSizeTypeContain + const ImageSizeTypeCover + type ImagemapAction interface + ImagemapAction func() + type ImagemapActionType string + const ImagemapActionTypeMessage + const ImagemapActionTypeURI + type ImagemapArea struct + Height int + Width int + X int + Y int + type ImagemapBaseSize struct + Height int + Width int + type ImagemapMessage struct + Actions []ImagemapAction + AltText string + BaseSize ImagemapBaseSize + BaseURL string + func NewImagemapMessage(baseURL, altText string, baseSize ImagemapBaseSize, actions ...ImagemapAction) *ImagemapMessage + func (*ImagemapMessage) Message() + func (m *ImagemapMessage) MarshalJSON() ([]byte, error) + type IssueLinkTokenCall struct + func (call *IssueLinkTokenCall) Do() (*LinkTokenResponse, error) + func (call *IssueLinkTokenCall) WithContext(ctx context.Context) *IssueLinkTokenCall + type LIFFAPP struct + LIFFID string + View View + type LIFFIDResponse struct + LIFFID string + type LIFFResponse struct + Apps []LIFFAPP + type LIFFViewType string + const LIFFViewTypeCompact + const LIFFViewTypeFull + const LIFFViewTypeTail + type LeaveGroupCall struct + func (call *LeaveGroupCall) Do() (*BasicResponse, error) + func (call *LeaveGroupCall) WithContext(ctx context.Context) *LeaveGroupCall + type LeaveRoomCall struct + func (call *LeaveRoomCall) Do() (*BasicResponse, error) + func (call *LeaveRoomCall) WithContext(ctx context.Context) *LeaveRoomCall + type LinkTokenResponse struct + LinkToken string + type LinkUserRichMenuCall struct + func (call *LinkUserRichMenuCall) Do() (*BasicResponse, error) + func (call *LinkUserRichMenuCall) WithContext(ctx context.Context) *LinkUserRichMenuCall + type LocationMessage struct + Address string + ID string + Latitude float64 + Longitude float64 + Title string + func NewLocationMessage(title, address string, latitude, longitude float64) *LocationMessage + func (*LocationMessage) Message() + func (m *LocationMessage) MarshalJSON() ([]byte, error) + type MemberIDsResponse struct + MemberIDs []string + Next string + type Message interface + Message func() + type MessageContentResponse struct + Content io.ReadCloser + ContentLength int64 + ContentType string + type MessageImagemapAction struct + Area ImagemapArea + Text string + func NewMessageImagemapAction(text string, area ImagemapArea) *MessageImagemapAction + func (a *MessageImagemapAction) ImagemapAction() + func (a *MessageImagemapAction) MarshalJSON() ([]byte, error) + type MessageTemplateAction struct + Label string + Text string + func NewMessageTemplateAction(label, text string) *MessageTemplateAction + func (*MessageTemplateAction) TemplateAction() + func (a *MessageTemplateAction) MarshalJSON() ([]byte, error) + type MessageType string + const MessageTypeAudio + const MessageTypeFile + const MessageTypeFlex + const MessageTypeImage + const MessageTypeImagemap + const MessageTypeLocation + const MessageTypeSticker + const MessageTypeTemplate + const MessageTypeText + const MessageTypeVideo + type MulticastCall struct + func (call *MulticastCall) Do() (*BasicResponse, error) + func (call *MulticastCall) WithContext(ctx context.Context) *MulticastCall + type Params struct + Date string + Datetime string + Time string + type Postback struct + Data string + Params *Params + type PostbackTemplateAction struct + Data string + DisplayText string + Label string + Text string + func NewPostbackTemplateAction(label, data, text, displayText string) *PostbackTemplateAction + func (*PostbackTemplateAction) TemplateAction() + func (a *PostbackTemplateAction) MarshalJSON() ([]byte, error) + type PushMessageCall struct + func (call *PushMessageCall) Do() (*BasicResponse, error) + func (call *PushMessageCall) WithContext(ctx context.Context) *PushMessageCall + type ReplyMessageCall struct + func (call *ReplyMessageCall) Do() (*BasicResponse, error) + func (call *ReplyMessageCall) WithContext(ctx context.Context) *ReplyMessageCall + type RichMenu struct + Areas []AreaDetail + ChatBarText string + Name string + Selected bool + Size RichMenuSize + type RichMenuAction struct + Data string + Initial string + Max string + Min string + Mode string + Text string + Type RichMenuActionType + URI string + type RichMenuActionType string + const RichMenuActionTypeDatetimePicker + const RichMenuActionTypeMessage + const RichMenuActionTypePostback + const RichMenuActionTypeURI + type RichMenuBounds struct + Height int + Width int + X int + Y int + type RichMenuIDResponse struct + RichMenuID string + type RichMenuResponse struct + Areas []AreaDetail + ChatBarText string + Name string + RichMenuID string + Selected bool + Size RichMenuSize + type RichMenuSize struct + Height int + Width int + type SeparatorComponent struct + Color string + Margin FlexComponentMarginType + Type FlexComponentType + func (*SeparatorComponent) FlexComponent() + type SpacerComponent struct + Size FlexSpacerSizeType + Type FlexComponentType + func (*SpacerComponent) FlexComponent() + type StickerMessage struct + ID string + PackageID string + StickerID string + func NewStickerMessage(packageID, stickerID string) *StickerMessage + func (*StickerMessage) Message() + func (m *StickerMessage) MarshalJSON() ([]byte, error) + type Template interface + Template func() + type TemplateAction interface + TemplateAction func() + type TemplateActionType string + const TemplateActionTypeDatetimePicker + const TemplateActionTypeMessage + const TemplateActionTypePostback + const TemplateActionTypeURI + type TemplateMessage struct + AltText string + Template Template + func NewTemplateMessage(altText string, template Template) *TemplateMessage + func (*TemplateMessage) Message() + func (m *TemplateMessage) MarshalJSON() ([]byte, error) + type TemplateType string + const TemplateTypeButtons + const TemplateTypeCarousel + const TemplateTypeConfirm + const TemplateTypeImageCarousel + type TextComponent struct + Action TemplateAction + Align FlexComponentAlignType + Color string + Flex int + Gravity FlexComponentGravityType + Margin FlexComponentMarginType + Size FlexTextSizeType + Text string + Type FlexComponentType + Weight FlexTextWeightType + Wrap bool + func (*TextComponent) FlexComponent() + func (c *TextComponent) UnmarshalJSON(data []byte) error + type TextMessage struct + ID string + Text string + func NewTextMessage(content string) *TextMessage + func (*TextMessage) Message() + func (m *TextMessage) MarshalJSON() ([]byte, error) + type URIImagemapAction struct + Area ImagemapArea + LinkURL string + func NewURIImagemapAction(linkURL string, area ImagemapArea) *URIImagemapAction + func (a *URIImagemapAction) ImagemapAction() + func (a *URIImagemapAction) MarshalJSON() ([]byte, error) + type URITemplateAction struct + Label string + URI string + func NewURITemplateAction(label, uri string) *URITemplateAction + func (*URITemplateAction) TemplateAction() + func (a *URITemplateAction) MarshalJSON() ([]byte, error) + type UnlinkUserRichMenuCall struct + func (call *UnlinkUserRichMenuCall) Do() (*BasicResponse, error) + func (call *UnlinkUserRichMenuCall) WithContext(ctx context.Context) *UnlinkUserRichMenuCall + type UpdateLIFFCall struct + LIFFID string + func (call *UpdateLIFFCall) Do() (*BasicResponse, error) + func (call *UpdateLIFFCall) WithContext(ctx context.Context) *UpdateLIFFCall + type UploadRichMenuImageCall struct + func (call *UploadRichMenuImageCall) Do() (*BasicResponse, error) + func (call *UploadRichMenuImageCall) WithContext(ctx context.Context) *UploadRichMenuImageCall + type UserProfileResponse struct + DisplayName string + PictureURL string + StatusMessage string + UserID string + type VideoMessage struct + ID string + OriginalContentURL string + PreviewImageURL string + func NewVideoMessage(originalContentURL, previewImageURL string) *VideoMessage + func (*VideoMessage) Message() + func (m *VideoMessage) MarshalJSON() ([]byte, error) + type View struct + Type LIFFViewType + URL string + type ViewRequest struct + View View Incompatible versions in this module v7.7.1+incompatible Feb 11, 2021 v7.7.0+incompatible Nov 27, 2020