gocqhttp

package
v0.1.16-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ForwardMessages []any

Functions

func Action

func Action(L *lua.LState)

func GetData

func GetData(L *lua.LState)

func Message

func Message(L *lua.LState)

func Request

func Request(L *lua.LState)

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

func (c *ActionFunc) SetGroupInfo(GroupID int64, GroupName string, Avatar string, UserId int64, Card string, SpecialTitle string, Type int)

type CqCodeFunc

type CqCodeFunc struct{}

func (CqCodeFunc) Anonymous

func (c CqCodeFunc) Anonymous() string

func (CqCodeFunc) At

func (c CqCodeFunc) At(QQ string, Name string) string

func (CqCodeFunc) CardImage

func (c CqCodeFunc) CardImage(File string) string

func (CqCodeFunc) CardImageFull

func (c CqCodeFunc) CardImageFull(File string, MinWidth string, MaxWidth string, MinHeight string, MaxHeight string, Source string, Icon string) string

func (CqCodeFunc) Contact

func (c CqCodeFunc) Contact(Type string, ID string) string

func (CqCodeFunc) CqCode

func (c CqCodeFunc) CqCode(L *lua.LState)

func (CqCodeFunc) Decode

func (c CqCodeFunc) Decode(str string) any

func (CqCodeFunc) DecodeOne

func (c CqCodeFunc) DecodeOne(code string, key string) string

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) Gift

func (c CqCodeFunc) Gift(QQ string, ID string) string

func (CqCodeFunc) Image

func (c CqCodeFunc) Image(File string, URL string) string

func (CqCodeFunc) ImageFull

func (c CqCodeFunc) ImageFull(File string, Type string, SubType string, URL string, Cache string, ID string, Thread string) string

func (CqCodeFunc) Json

func (c CqCodeFunc) Json(Data string) string

func (CqCodeFunc) JsonRich

func (c CqCodeFunc) JsonRich(Data string, ResID string) string

func (CqCodeFunc) Location

func (c CqCodeFunc) Location(Lat string, Lon string) string

func (CqCodeFunc) LocationFull

func (c CqCodeFunc) LocationFull(Lat string, Lon string, Title string, Content string) string

func (CqCodeFunc) Music

func (c CqCodeFunc) Music(Type string, ID string) string

func (CqCodeFunc) MusicFull

func (c CqCodeFunc) MusicFull(Type string, ID string, Audio string, Title string, Content string, Image string) string

func (CqCodeFunc) Poke

func (c CqCodeFunc) Poke(QQ string) string

func (CqCodeFunc) Record

func (c CqCodeFunc) Record(File string, Magic string, Cache string, Proxy string, Timeout string) string

func (CqCodeFunc) RedBag

func (c CqCodeFunc) RedBag(Title string) string

func (CqCodeFunc) Reply

func (c CqCodeFunc) Reply(ID string) string

func (CqCodeFunc) ReplyFull

func (c CqCodeFunc) ReplyFull(ID string, Text string, QQ string, Time string, Seq string) string

func (CqCodeFunc) Rps

func (c CqCodeFunc) Rps() string

func (CqCodeFunc) Shake

func (c CqCodeFunc) Shake() string

func (CqCodeFunc) Share

func (c CqCodeFunc) Share(URL string, Title string) string

func (CqCodeFunc) ShareFull

func (c CqCodeFunc) ShareFull(URL string, Title string, Content string, Image string) string

func (CqCodeFunc) Tts

func (c CqCodeFunc) Tts(Text string) string

func (CqCodeFunc) Video

func (c CqCodeFunc) Video(File string) string

func (CqCodeFunc) VideoFull

func (c CqCodeFunc) VideoFull(File string, Cover string, Thread string) string

func (CqCodeFunc) Xml

func (c CqCodeFunc) Xml(Data string, ResID 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) SendMsg

func (c *MessageFunc) SendMsg(Message string, 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{}

func (*RequestFunc) FriendReq

func (c *RequestFunc) FriendReq(Flag string, Approve bool, Remark string)

func (*RequestFunc) GroupReq

func (c *RequestFunc) GroupReq(Flag string, Type string, Approve bool, Reason string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL