gocqhttp

package
v0.1.14-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ForwardMessages []interface{}

Functions

func Action

func Action(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) 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 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) 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