Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateMetadata ¶
type PrivateMetadata struct {
ChannelID string `json:"channel_id,omitempty"`
Data interface{} `json:"data,omitempty"`
}
func ForChannel ¶
func ForChannel(channelID string) *PrivateMetadata
func MustParse ¶
func MustParse(data string) *PrivateMetadata
func Parse ¶
func Parse(data string) (*PrivateMetadata, error)
func (*PrivateMetadata) String ¶
func (m *PrivateMetadata) String() string
func (*PrivateMetadata) WithData ¶
func (m *PrivateMetadata) WithData(data interface{}) *PrivateMetadata
Click to show internal directories.
Click to hide internal directories.