openwechat

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

goneplugin-openwechat

✨ GoneBot adapter for wechat using openwechat ✨

适配器文档:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OpenWechat adapter.Adapter

Functions

This section is empty.

Types

type CardType

type CardType struct {
	NickName string `json:"NickName"`
	UserName string `json:"UserName"`
	WechatID string `json:"wechat_id"`
	Sex      string `json:"sex"`
	Province string `json:"province"`
	City     string `json:"city"`
}

func (CardType) AdapterName

func (card CardType) AdapterName() string

func (CardType) ToRawText

func (card CardType) ToRawText(msg message.MessageSegment) string

func (CardType) TypeName

func (card CardType) TypeName() string

type EmptyActionResult

type EmptyActionResult struct{}

type FriendAddType

type FriendAddType struct {
	NickName string              `json:"NickName"`
	UserName string              `json:"UserName"`
	WechatID string              `json:"wechat_id"`
	Sex      string              `json:"sex"`
	Country  string              `json:"country"`
	Province string              `json:"province"`
	City     string              `json:"city"`
	Msg      *openwechat.Message `json:"msg"`
}

func (FriendAddType) AdapterName

func (fa FriendAddType) AdapterName() string

func (FriendAddType) ToRawText

func (fa FriendAddType) ToRawText(msg message.MessageSegment) string

func (FriendAddType) TypeName

func (fa FriendAddType) TypeName() string

type JoinGroupType

type JoinGroupType struct{}

func (JoinGroupType) AdapterName

func (joinGroup JoinGroupType) AdapterName() string

func (JoinGroupType) ToRawText

func (joinGroup JoinGroupType) ToRawText(msg message.MessageSegment) string

func (JoinGroupType) TypeName

func (joinGroup JoinGroupType) TypeName() string

type LocationType

type LocationType struct{}

func (LocationType) AdapterName

func (loc LocationType) AdapterName() string

func (LocationType) ToRawText

func (loc LocationType) ToRawText(msg message.MessageSegment) string

func (LocationType) TypeName

func (loc LocationType) TypeName() string

type RealtimeLocationStartType

type RealtimeLocationStartType struct{}

func (RealtimeLocationStartType) AdapterName

func (rls RealtimeLocationStartType) AdapterName() string

func (RealtimeLocationStartType) ToRawText

func (RealtimeLocationStartType) TypeName

func (rls RealtimeLocationStartType) TypeName() string

type RealtimeLocationStopType

type RealtimeLocationStopType struct{}

func (RealtimeLocationStopType) AdapterName

func (rls RealtimeLocationStopType) AdapterName() string

func (RealtimeLocationStopType) ToRawText

func (RealtimeLocationStopType) TypeName

func (rls RealtimeLocationStopType) TypeName() string

type RecallType

type RecallType struct {
	Recaller   string `json:"recaller"`
	ReplaceMsg string `json:"replace_msg"`
}

func (RecallType) AdapterName

func (recall RecallType) AdapterName() string

func (RecallType) ToRawText

func (recall RecallType) ToRawText(msg message.MessageSegment) string

func (RecallType) TypeName

func (recall RecallType) TypeName() string

type RedPacketType

type RedPacketType struct{}

func (RedPacketType) AdapterName

func (redPacket RedPacketType) AdapterName() string

func (RedPacketType) ToRawText

func (redPacket RedPacketType) ToRawText(msg message.MessageSegment) string

func (RedPacketType) TypeName

func (redPacket RedPacketType) TypeName() string

type TickleType

type TickleType struct {
	Msg string `json:"msg"`
}

func (TickleType) AdapterName

func (tickle TickleType) AdapterName() string

func (TickleType) ToRawText

func (tickle TickleType) ToRawText(msg message.MessageSegment) string

func (TickleType) TypeName

func (tickle TickleType) TypeName() string

type TransferType

type TransferType struct{}

func (TransferType) AdapterName

func (transfer TransferType) AdapterName() string

func (TransferType) ToRawText

func (transfer TransferType) ToRawText(msg message.MessageSegment) string

func (TransferType) TypeName

func (transfer TransferType) TypeName() string

Jump to

Keyboard shortcuts

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