Documentation ¶
Overview ¶
Package events for community events handling.
See more https://vk.com/dev/groups_events
Index ¶
- Constants
- func EventIDFromContext(ctx context.Context) string
- func GroupIDFromContext(ctx context.Context) int
- func VersionFromContext(ctx context.Context) string
- type AppPayloadObject
- type AudioNewObject
- type BoardPostDeleteObject
- type BoardPostEditObject
- type BoardPostNewObject
- type BoardPostRestoreObject
- type Changes
- type ChangesInt
- type DonutMoneyWithdrawErrorObject
- type DonutMoneyWithdrawObject
- type DonutSubscriptionCancelledObject
- type DonutSubscriptionCreateObject
- type DonutSubscriptionExpiredObject
- type DonutSubscriptionPriceChangedObject
- type DonutSubscriptionProlongedObject
- type EventType
- type FuncList
- func (fl *FuncList) AppPayload(f func(context.Context, AppPayloadObject))
- func (fl *FuncList) AudioNew(f func(context.Context, AudioNewObject))
- func (fl *FuncList) BoardPostDelete(f func(context.Context, BoardPostDeleteObject))
- func (fl *FuncList) BoardPostEdit(f func(context.Context, BoardPostEditObject))
- func (fl *FuncList) BoardPostNew(f func(context.Context, BoardPostNewObject))
- func (fl *FuncList) BoardPostRestore(f func(context.Context, BoardPostRestoreObject))
- func (fl *FuncList) DonutMoneyWithdraw(f func(context.Context, DonutMoneyWithdrawObject))
- func (fl *FuncList) DonutMoneyWithdrawError(f func(context.Context, DonutMoneyWithdrawErrorObject))
- func (fl *FuncList) DonutSubscriptionCancelled(f func(context.Context, DonutSubscriptionCancelledObject))
- func (fl *FuncList) DonutSubscriptionCreate(f func(context.Context, DonutSubscriptionCreateObject))
- func (fl *FuncList) DonutSubscriptionExpired(f func(context.Context, DonutSubscriptionExpiredObject))
- func (fl *FuncList) DonutSubscriptionPriceChanged(f func(context.Context, DonutSubscriptionPriceChangedObject))
- func (fl *FuncList) DonutSubscriptionProlonged(f func(context.Context, DonutSubscriptionProlongedObject))
- func (fl *FuncList) Goroutine(v bool)
- func (fl *FuncList) GroupChangePhoto(f func(context.Context, GroupChangePhotoObject))
- func (fl *FuncList) GroupChangeSettings(f func(context.Context, GroupChangeSettingsObject))
- func (fl *FuncList) GroupJoin(f func(context.Context, GroupJoinObject))
- func (fl *FuncList) GroupLeave(f func(context.Context, GroupLeaveObject))
- func (fl *FuncList) GroupOfficersEdit(f func(context.Context, GroupOfficersEditObject))
- func (fl FuncList) Handler(ctx context.Context, e GroupEvent) error
- func (fl *FuncList) LeadFormsNew(f func(context.Context, LeadFormsNewObject))
- func (fl *FuncList) LikeAdd(f func(context.Context, LikeAddObject))
- func (fl *FuncList) LikeRemove(f func(context.Context, LikeRemoveObject))
- func (fl FuncList) ListEvents() []EventType
- func (fl *FuncList) MarketCommentDelete(f func(context.Context, MarketCommentDeleteObject))
- func (fl *FuncList) MarketCommentEdit(f func(context.Context, MarketCommentEditObject))
- func (fl *FuncList) MarketCommentNew(f func(context.Context, MarketCommentNewObject))
- func (fl *FuncList) MarketCommentRestore(f func(context.Context, MarketCommentRestoreObject))
- func (fl *FuncList) MarketOrderEdit(f func(context.Context, MarketOrderEditObject))
- func (fl *FuncList) MarketOrderNew(f func(context.Context, MarketOrderNewObject))
- func (fl *FuncList) MessageAllow(f func(context.Context, MessageAllowObject))
- func (fl *FuncList) MessageDeny(f func(context.Context, MessageDenyObject))
- func (fl *FuncList) MessageEdit(f func(context.Context, MessageEditObject))
- func (fl *FuncList) MessageEvent(f func(context.Context, MessageEventObject))
- func (fl *FuncList) MessageNew(f func(context.Context, MessageNewObject))
- func (fl *FuncList) MessageRead(f func(context.Context, MessageReadObject))
- func (fl *FuncList) MessageReply(f func(context.Context, MessageReplyObject))
- func (fl *FuncList) MessageTypingState(f func(context.Context, MessageTypingStateObject))
- func (fl *FuncList) OnEvent(eventType EventType, f func(context.Context, GroupEvent))
- func (fl *FuncList) PhotoCommentDelete(f func(context.Context, PhotoCommentDeleteObject))
- func (fl *FuncList) PhotoCommentEdit(f func(context.Context, PhotoCommentEditObject))
- func (fl *FuncList) PhotoCommentNew(f func(context.Context, PhotoCommentNewObject))
- func (fl *FuncList) PhotoCommentRestore(f func(context.Context, PhotoCommentRestoreObject))
- func (fl *FuncList) PhotoNew(f func(context.Context, PhotoNewObject))
- func (fl *FuncList) PollVoteNew(f func(context.Context, PollVoteNewObject))
- func (fl *FuncList) UserBlock(f func(context.Context, UserBlockObject))
- func (fl *FuncList) UserUnblock(f func(context.Context, UserUnblockObject))
- func (fl *FuncList) VideoCommentDelete(f func(context.Context, VideoCommentDeleteObject))
- func (fl *FuncList) VideoCommentEdit(f func(context.Context, VideoCommentEditObject))
- func (fl *FuncList) VideoCommentNew(f func(context.Context, VideoCommentNewObject))
- func (fl *FuncList) VideoCommentRestore(f func(context.Context, VideoCommentRestoreObject))
- func (fl *FuncList) VideoNew(f func(context.Context, VideoNewObject))
- func (fl *FuncList) VkpayTransaction(f func(context.Context, VkpayTransactionObject))
- func (fl *FuncList) WallPostNew(f func(context.Context, WallPostNewObject))
- func (fl *FuncList) WallReplyDelete(f func(context.Context, WallReplyDeleteObject))
- func (fl *FuncList) WallReplyEdit(f func(context.Context, WallReplyEditObject))
- func (fl *FuncList) WallReplyNew(f func(context.Context, WallReplyNewObject))
- func (fl *FuncList) WallReplyRestore(f func(context.Context, WallReplyRestoreObject))
- func (fl *FuncList) WallRepost(f func(context.Context, WallRepostObject))
- type GroupChangePhotoObject
- type GroupChangeSettingsObject
- type GroupEvent
- type GroupJoinObject
- type GroupLeaveObject
- type GroupOfficersEditObject
- type LeadFormsNewObject
- type LikeAddObject
- type LikeRemoveObject
- type MarketCommentDeleteObject
- type MarketCommentEditObject
- type MarketCommentNewObject
- type MarketCommentRestoreObject
- type MarketOrderEditObject
- type MarketOrderNewObject
- type MessageAllowObject
- type MessageDenyObject
- type MessageEditObject
- type MessageEventObject
- type MessageNewObject
- type MessageReadObject
- type MessageReplyObject
- type MessageTypingStateObject
- type PhotoCommentDeleteObject
- type PhotoCommentEditObject
- type PhotoCommentNewObject
- type PhotoCommentRestoreObject
- type PhotoNewObject
- type PollVoteNewObject
- type UserBlockObject
- type UserUnblockObject
- type VideoCommentDeleteObject
- type VideoCommentEditObject
- type VideoCommentNewObject
- type VideoCommentRestoreObject
- type VideoNewObject
- type VkpayTransactionObject
- type WallPostNewObject
- type WallReplyDeleteObject
- type WallReplyEditObject
- type WallReplyNewObject
- type WallReplyRestoreObject
- type WallRepostObject
- Bugs
Constants ¶
const ( EventConfirmation = "confirmation" EventMessageNew = "message_new" EventMessageReply = "message_reply" EventMessageEdit = "message_edit" EventMessageAllow = "message_allow" EventMessageDeny = "message_deny" EventMessageTypingState = "message_typing_state" EventMessageEvent = "message_event" EventPhotoNew = "photo_new" EventPhotoCommentNew = "photo_comment_new" EventPhotoCommentEdit = "photo_comment_edit" EventPhotoCommentRestore = "photo_comment_restore" EventPhotoCommentDelete = "photo_comment_delete" EventAudioNew = "audio_new" EventVideoNew = "video_new" EventVideoCommentNew = "video_comment_new" EventVideoCommentEdit = "video_comment_edit" EventVideoCommentRestore = "video_comment_restore" EventVideoCommentDelete = "video_comment_delete" EventWallPostNew = "wall_post_new" EventWallRepost = "wall_repost" EventWallReplyNew = "wall_reply_new" EventWallReplyEdit = "wall_reply_edit" EventWallReplyRestore = "wall_reply_restore" EventWallReplyDelete = "wall_reply_delete" EventBoardPostNew = "board_post_new" EventBoardPostEdit = "board_post_edit" EventBoardPostRestore = "board_post_restore" EventBoardPostDelete = "board_post_delete" EventMarketCommentNew = "market_comment_new" EventMarketCommentEdit = "market_comment_edit" EventMarketCommentRestore = "market_comment_restore" EventMarketCommentDelete = "market_comment_delete" EventMarketOrderNew = "market_order_new" EventMarketOrderEdit = "market_order_edit" EventGroupLeave = "group_leave" EventGroupJoin = "group_join" EventUserBlock = "user_block" EventUserUnblock = "user_unblock" EventPollVoteNew = "poll_vote_new" EventGroupOfficersEdit = "group_officers_edit" EventGroupChangeSettings = "group_change_settings" EventGroupChangePhoto = "group_change_photo" EventVkpayTransaction = "vkpay_transaction" EventLeadFormsNew = "lead_forms_new" EventAppPayload = "app_payload" EventMessageRead = "message_read" EventLikeAdd = "like_add" EventLikeRemove = "like_remove" EventDonutSubscriptionCreate = "donut_subscription_create" EventDonutSubscriptionProlonged = "donut_subscription_prolonged" EventDonutSubscriptionExpired = "donut_subscription_expired" EventDonutSubscriptionCancelled = "donut_subscription_cancelled" EventDonutSubscriptionPriceChanged = "donut_subscription_price_changed" EventDonutMoneyWithdraw = "donut_money_withdraw" EventDonutMoneyWithdrawError = "donut_money_withdraw_error" )
EventType list.
Variables ¶
This section is empty.
Functions ¶
func EventIDFromContext ¶
EventIDFromContext returns the EventID from context.
func GroupIDFromContext ¶
GroupIDFromContext returns the GroupID from context.
func VersionFromContext ¶
VersionFromContext returns the version from context.
Types ¶
type AppPayloadObject ¶
type AppPayloadObject struct { UserID int `json:"user_id"` AppID int `json:"app_id"` Payload string `json:"payload"` }
AppPayloadObject struct.
type BoardPostDeleteObject ¶
type BoardPostDeleteObject struct { TopicOwnerID int `json:"topic_owner_id"` TopicID int `json:"topic_id"` ID int `json:"id"` }
BoardPostDeleteObject struct.
type BoardPostEditObject ¶
type BoardPostEditObject object.BoardTopicComment
BoardPostEditObject struct.
type BoardPostNewObject ¶
type BoardPostNewObject object.BoardTopicComment
BoardPostNewObject struct.
type BoardPostRestoreObject ¶
type BoardPostRestoreObject object.BoardTopicComment
BoardPostRestoreObject struct.
type ChangesInt ¶
ChangesInt struct.
type DonutMoneyWithdrawErrorObject ¶
type DonutMoneyWithdrawErrorObject struct {
Reason string `json:"reason"`
}
DonutMoneyWithdrawErrorObject struct.
type DonutMoneyWithdrawObject ¶
type DonutMoneyWithdrawObject struct { Amount float64 `json:"amount"` AmountWithoutFee float64 `json:"amount_without_fee"` }
DonutMoneyWithdrawObject struct.
type DonutSubscriptionCancelledObject ¶
type DonutSubscriptionCancelledObject struct {
UserID float64 `json:"user_id"`
}
DonutSubscriptionCancelledObject struct.
type DonutSubscriptionCreateObject ¶
type DonutSubscriptionCreateObject struct { Amount float64 `json:"amount"` AmountWithoutFee float64 `json:"amount_without_fee"` UserID float64 `json:"user_id"` }
DonutSubscriptionCreateObject struct.
type DonutSubscriptionExpiredObject ¶
type DonutSubscriptionExpiredObject struct {
UserID float64 `json:"user_id"`
}
DonutSubscriptionExpiredObject struct.
type DonutSubscriptionPriceChangedObject ¶
type DonutSubscriptionPriceChangedObject struct { AmountOld float64 `json:"amount_old"` AmountNew float64 `json:"amount_new"` AmountDiff float64 `json:"amount_diff"` AmountDiffWithoutFee float64 `json:"amount_diff_without_fee"` UserID float64 `json:"user_id"` }
DonutSubscriptionPriceChangedObject struct.
type DonutSubscriptionProlongedObject ¶
type DonutSubscriptionProlongedObject struct { Amount float64 `json:"amount"` AmountWithoutFee float64 `json:"amount_without_fee"` UserID float64 `json:"user_id"` }
DonutSubscriptionProlongedObject struct.
type FuncList ¶
type FuncList struct {
// contains filtered or unexported fields
}
FuncList struct.
func (*FuncList) AppPayload ¶
func (fl *FuncList) AppPayload(f func(context.Context, AppPayloadObject))
AppPayload handler.
func (*FuncList) AudioNew ¶
func (fl *FuncList) AudioNew(f func(context.Context, AudioNewObject))
AudioNew handler.
func (*FuncList) BoardPostDelete ¶
func (fl *FuncList) BoardPostDelete(f func(context.Context, BoardPostDeleteObject))
BoardPostDelete handler.
func (*FuncList) BoardPostEdit ¶
func (fl *FuncList) BoardPostEdit(f func(context.Context, BoardPostEditObject))
BoardPostEdit handler.
func (*FuncList) BoardPostNew ¶
func (fl *FuncList) BoardPostNew(f func(context.Context, BoardPostNewObject))
BoardPostNew handler.
func (*FuncList) BoardPostRestore ¶
func (fl *FuncList) BoardPostRestore(f func(context.Context, BoardPostRestoreObject))
BoardPostRestore handler.
func (*FuncList) DonutMoneyWithdraw ¶
func (fl *FuncList) DonutMoneyWithdraw(f func(context.Context, DonutMoneyWithdrawObject))
DonutMoneyWithdraw handler.
func (*FuncList) DonutMoneyWithdrawError ¶
func (fl *FuncList) DonutMoneyWithdrawError(f func(context.Context, DonutMoneyWithdrawErrorObject))
DonutMoneyWithdrawError handler.
func (*FuncList) DonutSubscriptionCancelled ¶
func (fl *FuncList) DonutSubscriptionCancelled(f func(context.Context, DonutSubscriptionCancelledObject))
DonutSubscriptionCancelled handler.
func (*FuncList) DonutSubscriptionCreate ¶
func (fl *FuncList) DonutSubscriptionCreate(f func(context.Context, DonutSubscriptionCreateObject))
DonutSubscriptionCreate handler.
func (*FuncList) DonutSubscriptionExpired ¶
func (fl *FuncList) DonutSubscriptionExpired(f func(context.Context, DonutSubscriptionExpiredObject))
DonutSubscriptionExpired handler.
func (*FuncList) DonutSubscriptionPriceChanged ¶
func (fl *FuncList) DonutSubscriptionPriceChanged(f func(context.Context, DonutSubscriptionPriceChangedObject))
DonutSubscriptionPriceChanged handler.
func (*FuncList) DonutSubscriptionProlonged ¶
func (fl *FuncList) DonutSubscriptionProlonged(f func(context.Context, DonutSubscriptionProlongedObject))
DonutSubscriptionProlonged handler.
func (*FuncList) GroupChangePhoto ¶
func (fl *FuncList) GroupChangePhoto(f func(context.Context, GroupChangePhotoObject))
GroupChangePhoto handler.
func (*FuncList) GroupChangeSettings ¶
func (fl *FuncList) GroupChangeSettings(f func(context.Context, GroupChangeSettingsObject))
GroupChangeSettings handler.
func (*FuncList) GroupJoin ¶
func (fl *FuncList) GroupJoin(f func(context.Context, GroupJoinObject))
GroupJoin handler.
func (*FuncList) GroupLeave ¶
func (fl *FuncList) GroupLeave(f func(context.Context, GroupLeaveObject))
GroupLeave handler.
func (*FuncList) GroupOfficersEdit ¶
func (fl *FuncList) GroupOfficersEdit(f func(context.Context, GroupOfficersEditObject))
GroupOfficersEdit handler.
func (FuncList) Handler ¶
func (fl FuncList) Handler(ctx context.Context, e GroupEvent) error
Handler group event handler.
func (*FuncList) LeadFormsNew ¶
func (fl *FuncList) LeadFormsNew(f func(context.Context, LeadFormsNewObject))
LeadFormsNew handler.
func (*FuncList) LikeAdd ¶
func (fl *FuncList) LikeAdd(f func(context.Context, LikeAddObject))
LikeAdd handler.
func (*FuncList) LikeRemove ¶
func (fl *FuncList) LikeRemove(f func(context.Context, LikeRemoveObject))
LikeRemove handler.
func (FuncList) ListEvents ¶
ListEvents return list of events.
func (*FuncList) MarketCommentDelete ¶
func (fl *FuncList) MarketCommentDelete(f func(context.Context, MarketCommentDeleteObject))
MarketCommentDelete handler.
func (*FuncList) MarketCommentEdit ¶
func (fl *FuncList) MarketCommentEdit(f func(context.Context, MarketCommentEditObject))
MarketCommentEdit handler.
func (*FuncList) MarketCommentNew ¶
func (fl *FuncList) MarketCommentNew(f func(context.Context, MarketCommentNewObject))
MarketCommentNew handler.
func (*FuncList) MarketCommentRestore ¶
func (fl *FuncList) MarketCommentRestore(f func(context.Context, MarketCommentRestoreObject))
MarketCommentRestore handler.
func (*FuncList) MarketOrderEdit ¶
func (fl *FuncList) MarketOrderEdit(f func(context.Context, MarketOrderEditObject))
MarketOrderEdit handler.
func (*FuncList) MarketOrderNew ¶
func (fl *FuncList) MarketOrderNew(f func(context.Context, MarketOrderNewObject))
MarketOrderNew handler.
func (*FuncList) MessageAllow ¶
func (fl *FuncList) MessageAllow(f func(context.Context, MessageAllowObject))
MessageAllow handler.
func (*FuncList) MessageDeny ¶
func (fl *FuncList) MessageDeny(f func(context.Context, MessageDenyObject))
MessageDeny handler.
func (*FuncList) MessageEdit ¶
func (fl *FuncList) MessageEdit(f func(context.Context, MessageEditObject))
MessageEdit handler.
func (*FuncList) MessageEvent ¶
func (fl *FuncList) MessageEvent(f func(context.Context, MessageEventObject))
MessageEvent handler.
func (*FuncList) MessageNew ¶
func (fl *FuncList) MessageNew(f func(context.Context, MessageNewObject))
MessageNew handler.
func (*FuncList) MessageRead ¶
func (fl *FuncList) MessageRead(f func(context.Context, MessageReadObject))
MessageRead handler.
func (*FuncList) MessageReply ¶
func (fl *FuncList) MessageReply(f func(context.Context, MessageReplyObject))
MessageReply handler.
func (*FuncList) MessageTypingState ¶
func (fl *FuncList) MessageTypingState(f func(context.Context, MessageTypingStateObject))
MessageTypingState handler.
func (*FuncList) OnEvent ¶
func (fl *FuncList) OnEvent(eventType EventType, f func(context.Context, GroupEvent))
OnEvent handler.
func (*FuncList) PhotoCommentDelete ¶
func (fl *FuncList) PhotoCommentDelete(f func(context.Context, PhotoCommentDeleteObject))
PhotoCommentDelete handler.
func (*FuncList) PhotoCommentEdit ¶
func (fl *FuncList) PhotoCommentEdit(f func(context.Context, PhotoCommentEditObject))
PhotoCommentEdit handler.
func (*FuncList) PhotoCommentNew ¶
func (fl *FuncList) PhotoCommentNew(f func(context.Context, PhotoCommentNewObject))
PhotoCommentNew handler.
func (*FuncList) PhotoCommentRestore ¶
func (fl *FuncList) PhotoCommentRestore(f func(context.Context, PhotoCommentRestoreObject))
PhotoCommentRestore handler.
func (*FuncList) PhotoNew ¶
func (fl *FuncList) PhotoNew(f func(context.Context, PhotoNewObject))
PhotoNew handler.
func (*FuncList) PollVoteNew ¶
func (fl *FuncList) PollVoteNew(f func(context.Context, PollVoteNewObject))
PollVoteNew handler.
func (*FuncList) UserBlock ¶
func (fl *FuncList) UserBlock(f func(context.Context, UserBlockObject))
UserBlock handler.
func (*FuncList) UserUnblock ¶
func (fl *FuncList) UserUnblock(f func(context.Context, UserUnblockObject))
UserUnblock handler.
func (*FuncList) VideoCommentDelete ¶
func (fl *FuncList) VideoCommentDelete(f func(context.Context, VideoCommentDeleteObject))
VideoCommentDelete handler.
func (*FuncList) VideoCommentEdit ¶
func (fl *FuncList) VideoCommentEdit(f func(context.Context, VideoCommentEditObject))
VideoCommentEdit handler.
func (*FuncList) VideoCommentNew ¶
func (fl *FuncList) VideoCommentNew(f func(context.Context, VideoCommentNewObject))
VideoCommentNew handler.
func (*FuncList) VideoCommentRestore ¶
func (fl *FuncList) VideoCommentRestore(f func(context.Context, VideoCommentRestoreObject))
VideoCommentRestore handler.
func (*FuncList) VideoNew ¶
func (fl *FuncList) VideoNew(f func(context.Context, VideoNewObject))
VideoNew handler.
func (*FuncList) VkpayTransaction ¶
func (fl *FuncList) VkpayTransaction(f func(context.Context, VkpayTransactionObject))
VkpayTransaction handler.
func (*FuncList) WallPostNew ¶
func (fl *FuncList) WallPostNew(f func(context.Context, WallPostNewObject))
WallPostNew handler.
func (*FuncList) WallReplyDelete ¶
func (fl *FuncList) WallReplyDelete(f func(context.Context, WallReplyDeleteObject))
WallReplyDelete handler.
func (*FuncList) WallReplyEdit ¶
func (fl *FuncList) WallReplyEdit(f func(context.Context, WallReplyEditObject))
WallReplyEdit handler.
func (*FuncList) WallReplyNew ¶
func (fl *FuncList) WallReplyNew(f func(context.Context, WallReplyNewObject))
WallReplyNew handler.
func (*FuncList) WallReplyRestore ¶
func (fl *FuncList) WallReplyRestore(f func(context.Context, WallReplyRestoreObject))
WallReplyRestore handler.
func (*FuncList) WallRepost ¶
func (fl *FuncList) WallRepost(f func(context.Context, WallRepostObject))
WallRepost handler.
type GroupChangePhotoObject ¶
type GroupChangePhotoObject struct { UserID int `json:"user_id"` Photo object.PhotosPhoto `json:"photo"` }
GroupChangePhotoObject struct.
type GroupChangeSettingsObject ¶
type GroupChangeSettingsObject struct { UserID int `json:"user_id"` Changes struct { Title Changes `json:"title"` Description Changes `json:"description"` Access ChangesInt `json:"access"` ScreenName Changes `json:"screen_name"` PublicCategory ChangesInt `json:"public_category"` PublicSubcategory ChangesInt `json:"public_subcategory"` AgeLimits ChangesInt `json:"age_limits"` Website Changes `json:"website"` StatusDefault Changes `json:"status_default"` Wall ChangesInt `json:"wall"` // на основе ответа Replies ChangesInt `json:"replies"` // на основе ответа Topics ChangesInt `json:"topics"` // на основе ответа Audio ChangesInt `json:"audio"` // на основе ответа Photos ChangesInt `json:"photos"` // на основе ответа Video ChangesInt `json:"video"` // на основе ответа Market ChangesInt `json:"market"` // на основе ответа Docs ChangesInt `json:"docs"` // на основе ответа Messages ChangesInt `json:"messages"` // на основе ответа EventGroupID ChangesInt `json:"event_group_id"` // на основе ответа Links Changes `json:"links"` // на основе ответа Email Changes `json:"email"` // на основе ответа EventStartDate ChangesInt `json:"event_start_date::"` // на основе ответа EventFinishDate ChangesInt `json:"event_finish_date:"` // на основе ответа Subject Changes `json:"subject"` // на основе ответа MarketWiki Changes `json:"market_wiki"` // на основе ответа DisableMarketComments ChangesInt `json:"disable_market_comments"` // на основе ответа Phone ChangesInt `json:"phone"` // на основе ответа CountryID ChangesInt `json:"country_id"` // на основе ответа CityID ChangesInt `json:"city_id"` // на основе ответа } `json:"Changes"` }
GroupChangeSettingsObject struct.
BUG(VK): Phone https://vk.com/bugtracker?act=show&id=64240
BUG(VK): Email https://vk.com/bugtracker?act=show&id=86650
type GroupEvent ¶
type GroupEvent struct { Type EventType `json:"type"` Object json.RawMessage `json:"object"` GroupID int `json:"group_id"` EventID string `json:"event_id"` V string `json:"v"` Secret string `json:"secret"` }
GroupEvent struct.
type GroupJoinObject ¶
GroupJoinObject struct.
type GroupLeaveObject ¶
type GroupLeaveObject struct { UserID int `json:"user_id"` Self object.BaseBoolInt `json:"self"` }
GroupLeaveObject struct.
type GroupOfficersEditObject ¶
type GroupOfficersEditObject struct { AdminID int `json:"admin_id"` UserID int `json:"user_id"` LevelOld int `json:"level_old"` LevelNew int `json:"level_new"` }
GroupOfficersEditObject struct.
type LeadFormsNewObject ¶
type LeadFormsNewObject struct { LeadID int `json:"lead_id"` GroupID int `json:"group_id"` UserID int `json:"user_id"` FormID int `json:"form_id"` FormName string `json:"form_name"` AdID int `json:"ad_id"` Answers []struct { Key string `json:"key"` Question string `json:"question"` Answer string `json:"answer"` } `json:"answers"` }
LeadFormsNewObject struct.
type LikeAddObject ¶
type LikeAddObject struct { LikerID int `json:"liker_id"` ObjectType string `json:"object_type"` ObjectOwnerID int `json:"object_owner_id"` ObjectID int `json:"object_id"` ThreadReplyID int `json:"thread_reply_id"` PostID int `json:"post_id"` // for comment }
LikeAddObject struct.
type LikeRemoveObject ¶
type LikeRemoveObject struct { LikerID int `json:"liker_id"` ObjectType string `json:"object_type"` ObjectOwnerID int `json:"object_owner_id"` ObjectID int `json:"object_id"` ThreadReplyID int `json:"thread_reply_id"` PostID int `json:"post_id"` // for comment }
LikeRemoveObject struct.
type MarketCommentDeleteObject ¶
type MarketCommentDeleteObject struct { OwnerID int `json:"owner_id"` ID int `json:"id"` UserID int `json:"user_id"` DeleterID int `json:"deleter_id"` ItemID int `json:"item_id"` }
MarketCommentDeleteObject struct.
type MarketCommentEditObject ¶
type MarketCommentEditObject object.WallWallComment
MarketCommentEditObject struct.
type MarketCommentNewObject ¶
type MarketCommentNewObject object.WallWallComment
MarketCommentNewObject struct.
type MarketCommentRestoreObject ¶
type MarketCommentRestoreObject object.WallWallComment
MarketCommentRestoreObject struct.
type MarketOrderEditObject ¶
type MarketOrderEditObject object.MarketOrder
MarketOrderEditObject struct.
type MarketOrderNewObject ¶
type MarketOrderNewObject object.MarketOrder
MarketOrderNewObject struct.
type MessageAllowObject ¶
MessageAllowObject struct.
type MessageDenyObject ¶
type MessageDenyObject struct {
UserID int `json:"user_id"`
}
MessageDenyObject struct.
type MessageEventObject ¶
type MessageEventObject struct { UserID int `json:"user_id"` PeerID int `json:"peer_id"` EventID string `json:"event_id"` Payload json.RawMessage `json:"payload"` ConversationMessageID int `json:"conversation_message_id"` }
MessageEventObject struct.
type MessageNewObject ¶
type MessageNewObject struct { Message object.MessagesMessage `json:"message"` ClientInfo object.ClientInfo `json:"client_info"` }
MessageNewObject struct.
type MessageReadObject ¶
type MessageReadObject struct { FromID int `json:"from_id"` PeerID int `json:"peer_id"` ReadMessageID int `json:"read_message_id"` }
MessageReadObject struct.
type MessageTypingStateObject ¶
type MessageTypingStateObject struct { State string `json:"state"` FromID int `json:"from_id"` ToID int `json:"to_id"` }
MessageTypingStateObject struct.
type PhotoCommentDeleteObject ¶
type PhotoCommentDeleteObject struct { OwnerID int `json:"owner_id"` ID int `json:"id"` UserID int `json:"user_id"` DeleterID int `json:"deleter_id"` PhotoID int `json:"photo_id"` }
PhotoCommentDeleteObject struct.
type PhotoCommentEditObject ¶
type PhotoCommentEditObject object.WallWallComment
PhotoCommentEditObject struct.
type PhotoCommentNewObject ¶
type PhotoCommentNewObject object.WallWallComment
PhotoCommentNewObject struct.
type PhotoCommentRestoreObject ¶
type PhotoCommentRestoreObject object.WallWallComment
PhotoCommentRestoreObject struct.
type PollVoteNewObject ¶
type PollVoteNewObject struct { OwnerID int `json:"owner_id"` PollID int `json:"poll_id"` OptionID int `json:"option_id"` UserID int `json:"user_id"` }
PollVoteNewObject struct.
BUG(VK): при голосовании за несколько вариантов, возвращается только один.
type UserBlockObject ¶
type UserBlockObject struct { AdminID int `json:"admin_id"` UserID int `json:"user_id"` UnblockDate int `json:"unblock_date"` Reason int `json:"reason"` Comment string `json:"comment"` }
UserBlockObject struct.
type UserUnblockObject ¶
type UserUnblockObject struct { AdminID int `json:"admin_id"` UserID int `json:"user_id"` ByEndDate int `json:"by_end_date"` }
UserUnblockObject struct.
type VideoCommentDeleteObject ¶
type VideoCommentDeleteObject struct { OwnerID int `json:"owner_id"` ID int `json:"id"` UserID int `json:"user_id"` DeleterID int `json:"deleter_id"` VideoID int `json:"video_id"` }
VideoCommentDeleteObject struct.
type VideoCommentEditObject ¶
type VideoCommentEditObject object.WallWallComment
VideoCommentEditObject struct.
type VideoCommentNewObject ¶
type VideoCommentNewObject object.WallWallComment
VideoCommentNewObject struct.
type VideoCommentRestoreObject ¶
type VideoCommentRestoreObject object.WallWallComment
VideoCommentRestoreObject struct.
type VkpayTransactionObject ¶
type VkpayTransactionObject struct { FromID int `json:"from_id"` Amount int `json:"amount"` Description string `json:"description"` Date int `json:"date"` }
VkpayTransactionObject struct.
type WallReplyDeleteObject ¶
type WallReplyDeleteObject struct { OwnerID int `json:"owner_id"` ID int `json:"id"` DeleterID int `json:"deleter_id"` PostID int `json:"post_id"` }
WallReplyDeleteObject struct.
type WallReplyEditObject ¶
type WallReplyEditObject object.WallWallComment
WallReplyEditObject struct.
type WallReplyRestoreObject ¶
type WallReplyRestoreObject object.WallWallComment
WallReplyRestoreObject struct.
Notes ¶
Bugs ¶
при голосовании за несколько вариантов, возвращается только один.