Documentation ¶
Index ¶
Constants ¶
View Source
const ( Administrator = "ADMIN" Operator = "OPERATOR" LimitedOperator = "OPERATOR_LIMITED" Messenger = "MESSENGER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUser ¶
type AuthUser struct { Name string IsPaymaster bool AuthorityType string *Api // contains filtered or unexported fields }
func (AuthUser) SetPaymaster ¶
func (u AuthUser) SetPaymaster()
SetPaymaster changes payer for this bot
type AuthUserList ¶
type AuthUserList struct {
Users []AuthUser
}
type Bot ¶
type Bot struct { Name string LineId string BotId string *Api AuthUserList *AuthUserList }
func (*Bot) DeletePostAll ¶
func (b *Bot) DeletePostAll()
DeletePostAll deletes all of post the account has.
func (*Bot) GetAuthURL ¶
GetAuthURL retrieves a url to enable access the account.
func (*Bot) GetFriendLink ¶
GetFriendLink gets "LINE Add Link".
func (*Bot) SetStatusMessage ¶
SetStatusMessage set status message(IOW hitokoto)
Click to show internal directories.
Click to hide internal directories.