org

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(c zulip.RESTClient) *Service

func (*Service) UploadCustomEmoji

func (svc *Service) UploadCustomEmoji(ctx context.Context, name, filePath string) (*UploadCustomEmojiResponse, error)

func (*Service) UploadCustomEmojiFromBytes

func (svc *Service) UploadCustomEmojiFromBytes(ctx context.Context, name, fileName string, fileBytes []byte) (*UploadCustomEmojiResponse, error)

func (*Service) UploadCustomEmojiFromReader

func (svc *Service) UploadCustomEmojiFromReader(ctx context.Context, name, fileName string, fileReader io.Reader) (*UploadCustomEmojiResponse, error)

type UploadCustomEmojiResponse

type UploadCustomEmojiResponse struct {
	zulip.APIResponseBase
}

func (*UploadCustomEmojiResponse) UnmarshalJSON

func (u *UploadCustomEmojiResponse) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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