topic

package
v0.0.0-...-52b18ae Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtElement

type AtElement struct {
	Id       string
	TinyId   uint64
	Nickname string
}

type ChannelQuoteElement

type ChannelQuoteElement struct {
	GuildId     uint64
	ChannelId   uint64
	DisplayText string
}

type EmojiElement

type EmojiElement struct {
	Index int32
	Id    string
	Name  string
}

type Feed

type Feed struct {
	Id         string
	Title      string
	SubTitle   string
	CreateTime int64
	Poster     *FeedPoster
	GuildId    uint64
	ChannelId  uint64
	Images     []*FeedImageInfo
	Videos     []*FeedVideoInfo
	Contents   []IFeedRichContentElement
}

func DecodeFeed

func DecodeFeed(p *channel.StFeed) *Feed

func (*Feed) ToSendingPayload

func (f *Feed) ToSendingPayload(selfUin int64) string

type FeedImageInfo

type FeedImageInfo struct {
	FileId    string
	PatternId string
	Url       string
	Width     uint32
	Height    uint32
}

type FeedPoster

type FeedPoster struct {
	TinyId    uint64
	TinyIdStr string
	Nickname  string
	IconUrl   string
}

type FeedVideoInfo

type FeedVideoInfo struct {
	FileId    string
	PatternId string
	Url       string
	Width     uint32
	Height    uint32
}

type IFeedRichContentElement

type IFeedRichContentElement interface {
	// contains filtered or unexported methods
}

type TextElement

type TextElement struct {
	Content string
}

type UrlQuoteElement

type UrlQuoteElement struct {
	Url         string
	DisplayText string
}

Jump to

Keyboard shortcuts

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