Documentation ¶
Index ¶
- Variables
- func Action(L *lua.LState)
- func GetData(L *lua.LState)
- func Message(L *lua.LState)
- func Request(L *lua.LState)
- type ActionFunc
- func (c *ActionFunc) DismissGroup(GroupID int64)
- func (c *ActionFunc) GroupBan(GroupID int64, UserID int64, Duration uint32, DeBan bool)
- func (c *ActionFunc) GroupEssenceMsg(MessageID int32, Remove bool)
- func (c *ActionFunc) GroupKick(GroupID int64, UserID int64, RejectAddRequest bool)
- func (c *ActionFunc) GroupMute(GroupID int64, UnMute bool)
- func (c *ActionFunc) GroupSendNotice(GroupID int64, Content string, Image string)
- func (c *ActionFunc) LeaveGroup(GroupID int64)
- func (c *ActionFunc) SendGroupSign(GroupID int64)
- func (c *ActionFunc) SetEssenceMsg(MessageID int32, Remove bool)
- func (c *ActionFunc) SetGroupAdmin(GroupID int64, UserId int64, Enable bool)
- func (c *ActionFunc) SetGroupInfo(GroupID int64, GroupName string, Avatar string, UserId int64, Card string, ...)
- type CqCodeFunc
- func (c CqCodeFunc) Anonymous() string
- func (c CqCodeFunc) At(QQ string, Name string) string
- func (c CqCodeFunc) CardImage(File string) string
- func (c CqCodeFunc) CardImageFull(File string, MinWidth string, MaxWidth string, MinHeight string, ...) string
- func (c CqCodeFunc) Contact(Type string, ID string) string
- func (c CqCodeFunc) CqCode(L *lua.LState)
- func (c CqCodeFunc) Decode(str string) any
- func (c CqCodeFunc) DecodeOne(code string, key string) string
- func (c CqCodeFunc) Dice() string
- func (c CqCodeFunc) Face(id string) string
- func (c CqCodeFunc) Find(msg string) []string
- func (c CqCodeFunc) Forward(ID string) string
- func (c CqCodeFunc) Gift(QQ string, ID string) string
- func (c CqCodeFunc) Image(File string, URL string) string
- func (c CqCodeFunc) ImageFull(File string, Type string, SubType string, URL string, Cache string, ID string, ...) string
- func (c CqCodeFunc) Json(Data string) string
- func (c CqCodeFunc) JsonRich(Data string, ResID string) string
- func (c CqCodeFunc) Location(Lat string, Lon string) string
- func (c CqCodeFunc) LocationFull(Lat string, Lon string, Title string, Content string) string
- func (c CqCodeFunc) Music(Type string, ID string) string
- func (c CqCodeFunc) MusicFull(Type string, ID string, Audio string, Title string, Content string, ...) string
- func (c CqCodeFunc) Poke(QQ string) string
- func (c CqCodeFunc) Record(File string, Magic string, Cache string, Proxy string, Timeout string) string
- func (c CqCodeFunc) RedBag(Title string) string
- func (c CqCodeFunc) Reply(ID string) string
- func (c CqCodeFunc) ReplyFull(ID string, Text string, QQ string, Time string, Seq string) string
- func (c CqCodeFunc) Rps() string
- func (c CqCodeFunc) Shake() string
- func (c CqCodeFunc) Share(URL string, Title string) string
- func (c CqCodeFunc) ShareFull(URL string, Title string, Content string, Image string) string
- func (c CqCodeFunc) Tts(Text string) string
- func (c CqCodeFunc) Video(File string) string
- func (c CqCodeFunc) VideoFull(File string, Cover string, Thread string) string
- func (c CqCodeFunc) Xml(Data string, ResID string) string
- type GetDataFunc
- type MessageFunc
- func (c *MessageFunc) DeleteMsg(MessageID int32)
- func (c *MessageFunc) Reply(Message string, Id int64, IsGroup bool, To int)
- func (c *MessageFunc) SendForwardMsg(Id int64, IsGroup bool)
- func (c *MessageFunc) SendMsg(Message string, Id int64, IsGroup bool)
- func (c *MessageFunc) SendPic(Url string, Type string, Id int64, IsGroup bool)
- func (c *MessageFunc) SetCustomForward(Name string, Id string, Content string)
- func (c *MessageFunc) SetIdForward(MessageID string)
- type RequestFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ForwardMessages []any
Functions ¶
Types ¶
type ActionFunc ¶
type ActionFunc struct{}
func (*ActionFunc) DismissGroup ¶
func (c *ActionFunc) DismissGroup(GroupID int64)
func (*ActionFunc) GroupBan ¶
func (c *ActionFunc) GroupBan(GroupID int64, UserID int64, Duration uint32, DeBan bool)
func (*ActionFunc) GroupEssenceMsg ¶
func (c *ActionFunc) GroupEssenceMsg(MessageID int32, Remove bool)
func (*ActionFunc) GroupKick ¶
func (c *ActionFunc) GroupKick(GroupID int64, UserID int64, RejectAddRequest bool)
func (*ActionFunc) GroupMute ¶
func (c *ActionFunc) GroupMute(GroupID int64, UnMute bool)
func (*ActionFunc) GroupSendNotice ¶
func (c *ActionFunc) GroupSendNotice(GroupID int64, Content string, Image string)
func (*ActionFunc) LeaveGroup ¶
func (c *ActionFunc) LeaveGroup(GroupID int64)
func (*ActionFunc) SendGroupSign ¶
func (c *ActionFunc) SendGroupSign(GroupID int64)
func (*ActionFunc) SetEssenceMsg ¶
func (c *ActionFunc) SetEssenceMsg(MessageID int32, Remove bool)
func (*ActionFunc) SetGroupAdmin ¶
func (c *ActionFunc) SetGroupAdmin(GroupID int64, UserId int64, Enable bool)
func (*ActionFunc) SetGroupInfo ¶
type CqCodeFunc ¶
type CqCodeFunc struct{}
func (CqCodeFunc) Anonymous ¶
func (c CqCodeFunc) Anonymous() string
func (CqCodeFunc) CardImage ¶
func (c CqCodeFunc) CardImage(File string) string
func (CqCodeFunc) CardImageFull ¶
func (CqCodeFunc) CqCode ¶
func (c CqCodeFunc) CqCode(L *lua.LState)
func (CqCodeFunc) Decode ¶
func (c CqCodeFunc) Decode(str string) any
func (CqCodeFunc) Dice ¶
func (c CqCodeFunc) Dice() string
func (CqCodeFunc) Face ¶
func (c CqCodeFunc) Face(id string) string
func (CqCodeFunc) Find ¶
func (c CqCodeFunc) Find(msg string) []string
func (CqCodeFunc) Forward ¶
func (c CqCodeFunc) Forward(ID string) string
func (CqCodeFunc) Json ¶
func (c CqCodeFunc) Json(Data string) string
func (CqCodeFunc) LocationFull ¶
func (CqCodeFunc) Poke ¶
func (c CqCodeFunc) Poke(QQ string) string
func (CqCodeFunc) RedBag ¶
func (c CqCodeFunc) RedBag(Title string) string
func (CqCodeFunc) Reply ¶
func (c CqCodeFunc) Reply(ID string) string
func (CqCodeFunc) Rps ¶
func (c CqCodeFunc) Rps() string
func (CqCodeFunc) Shake ¶
func (c CqCodeFunc) Shake() string
func (CqCodeFunc) Tts ¶
func (c CqCodeFunc) Tts(Text string) string
func (CqCodeFunc) Video ¶
func (c CqCodeFunc) Video(File string) string
type GetDataFunc ¶
type GetDataFunc struct{}
func (*GetDataFunc) GetGroupMembers ¶
func (c *GetDataFunc) GetGroupMembers(GroupID int64) []types.GroupMemberInfoObject
type MessageFunc ¶
type MessageFunc struct{}
func (*MessageFunc) DeleteMsg ¶
func (c *MessageFunc) DeleteMsg(MessageID int32)
func (*MessageFunc) Reply ¶
func (c *MessageFunc) Reply(Message string, Id int64, IsGroup bool, To int)
func (*MessageFunc) SendForwardMsg ¶
func (c *MessageFunc) SendForwardMsg(Id int64, IsGroup bool)
func (*MessageFunc) SendPic ¶
func (c *MessageFunc) SendPic(Url string, Type string, Id int64, IsGroup bool)
func (*MessageFunc) SetCustomForward ¶
func (c *MessageFunc) SetCustomForward(Name string, Id string, Content string)
func (*MessageFunc) SetIdForward ¶
func (c *MessageFunc) SetIdForward(MessageID string)
type RequestFunc ¶
type RequestFunc struct{}
Click to show internal directories.
Click to hide internal directories.