Documentation
¶
Index ¶
- type Service
- func (svc *Service) UploadCustomEmoji(ctx context.Context, name, filePath string) (*UploadCustomEmojiResponse, error)
- func (svc *Service) UploadCustomEmojiFromBytes(ctx context.Context, name, fileName string, fileBytes []byte) (*UploadCustomEmojiResponse, error)
- func (svc *Service) UploadCustomEmojiFromReader(ctx context.Context, name, fileName string, fileReader io.Reader) (*UploadCustomEmojiResponse, error)
- type UploadCustomEmojiResponse
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 (*Service) UploadCustomEmojiFromBytes ¶
func (*Service) UploadCustomEmojiFromReader ¶
type UploadCustomEmojiResponse ¶
type UploadCustomEmojiResponse struct {
zulip.APIResponseBase
}
func (*UploadCustomEmojiResponse) UnmarshalJSON ¶
func (u *UploadCustomEmojiResponse) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.