params

package
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package params for generating query parameters.

b := params.NewMessageSendBuilder()
b.PeerID(123)
b.Random(0)
b.DontParseLinks(false)
b.Message("Test message")

res, err = api.MessageSend(b.Params)

Index

Constants

View Source
const (
	// Used for ad newsletter messages.
	PromoNewsletter = "promo_newsletter"

	// Used for messages that request permission from the user to send them an
	// advertising message.
	BotAdInvite = "bot_ad_invite"

	// Used for the bots advertising message.
	BotAdPromo = "bot_ad_promo"

	AccountUpdate         = "account_update"
	ConfirmedNotification = "confirmed_notification"
	CustomerSupport       = "customer_support"
	Default               = "default"
	GameNotification      = "game_notification"
	ModeratedNewsletter   = "moderated_newsletter"
	NonPromoNewsletter    = "non_promo_newsletter"
	PurchaseUpdate        = "purchase_update"
)

An intent is a label that specifies the approximate content of the message sent by the community. It is sent in the optional intent parameter of the messages.send method.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBanBuilder

type AccountBanBuilder struct {
	api.Params
}

AccountBanBuilder builder.

https://vk.com/dev/account.ban

func NewAccountBanBuilder

func NewAccountBanBuilder() *AccountBanBuilder

NewAccountBanBuilder func.

func (*AccountBanBuilder) OwnerID

func (b *AccountBanBuilder) OwnerID(v int) *AccountBanBuilder

OwnerID parameter.

type AccountChangePasswordBuilder

type AccountChangePasswordBuilder struct {
	api.Params
}

AccountChangePasswordBuilder builder.

Changes a user password after access is successfully restored with the [vk.com/dev/auth.restore|auth.restore] method.

https://vk.com/dev/account.changePassword

func NewAccountChangePasswordBuilder

func NewAccountChangePasswordBuilder() *AccountChangePasswordBuilder

NewAccountChangePasswordBuilder func.

func (*AccountChangePasswordBuilder) ChangePasswordHash

ChangePasswordHash hash received after a successful OAuth authorization with a code got by SMS. (If the password is changed right after the access was restored).

func (*AccountChangePasswordBuilder) NewPassword

NewPassword that will be set as a current.

func (*AccountChangePasswordBuilder) OldPassword

OldPassword current user password.

func (*AccountChangePasswordBuilder) RestoreSID

RestoreSID session id received after the [vk.com/dev/auth.restore|auth.restore] method is executed. (If the password is changed right after the access was restored).

type AccountGetActiveOffersBuilder

type AccountGetActiveOffersBuilder struct {
	api.Params
}

AccountGetActiveOffersBuilder builder.

Returns a list of active ads (offers) which executed by the user will bring him/her respective number of votes to his balance in the application.

https://vk.com/dev/account.getActiveOffers

func NewAccountGetActiveOffersBuilder

func NewAccountGetActiveOffersBuilder() *AccountGetActiveOffersBuilder

NewAccountGetActiveOffersBuilder func.

func (*AccountGetActiveOffersBuilder) Count

Count - number of results to return.

func (*AccountGetActiveOffersBuilder) Offset

Offset parameter.

type AccountGetAppPermissionsBuilder

type AccountGetAppPermissionsBuilder struct {
	api.Params
}

AccountGetAppPermissionsBuilder builder.

Gets settings of the user in this application.

https://vk.com/dev/account.getAppPermissions

func NewAccountGetAppPermissionsBuilder

func NewAccountGetAppPermissionsBuilder() *AccountGetAppPermissionsBuilder

NewAccountGetAppPermissionsBuilder func.

func (*AccountGetAppPermissionsBuilder) UserID

UserID user ID whose settings information shall be got. By default: current user.

type AccountGetBannedBuilder

type AccountGetBannedBuilder struct {
	api.Params
}

AccountGetBannedBuilder builder.

Returns a user's blacklist.

https://vk.com/dev/account.getBanned

func NewAccountGetBannedBuilder

func NewAccountGetBannedBuilder() *AccountGetBannedBuilder

NewAccountGetBannedBuilder func.

func (*AccountGetBannedBuilder) Count

Count number of results to return.

func (*AccountGetBannedBuilder) Offset

Offset needed to return a specific subset of results.

type AccountGetCountersBuilder

type AccountGetCountersBuilder struct {
	api.Params
}

AccountGetCountersBuilder builder.

Returns non-null values of user counters.

https://vk.com/dev/account.getCounters

func NewAccountGetCountersBuilder

func NewAccountGetCountersBuilder() *AccountGetCountersBuilder

NewAccountGetCountersBuilder func.

func (*AccountGetCountersBuilder) Filter

Filter counters to be returned.

func (*AccountGetCountersBuilder) UserID

UserID parameter.

type AccountGetInfoBuilder

type AccountGetInfoBuilder struct {
	api.Params
}

AccountGetInfoBuilder builder.

Returns current account info.

https://vk.com/dev/account.getInfo

func NewAccountGetInfoBuilder

func NewAccountGetInfoBuilder() *AccountGetInfoBuilder

NewAccountGetInfoBuilder func.

func (*AccountGetInfoBuilder) Fields

Fields to return. Possible values: *'country' — user country; *'https_required' — is "HTTPS only" option enabled; *'own_posts_default' — is "Show my posts only" option is enabled; *'no_wall_replies' — are wall replies disabled or not; *'intro' — is intro passed by user or not; *'lang' — user language. By default: all.

type AccountGetPushSettingsBuilder

type AccountGetPushSettingsBuilder struct {
	api.Params
}

AccountGetPushSettingsBuilder builder.

Gets settings of push notifications.

https://vk.com/dev/account.getPushSettings

func NewAccountGetPushSettingsBuilder

func NewAccountGetPushSettingsBuilder() *AccountGetPushSettingsBuilder

NewAccountGetPushSettingsBuilder func.

func (*AccountGetPushSettingsBuilder) DeviceID

DeviceID unique device ID.

type AccountRegisterDeviceBuilder

type AccountRegisterDeviceBuilder struct {
	api.Params
}

AccountRegisterDeviceBuilder builder.

Subscribes an iOS/Android/Windows Phone-based device to receive push notifications.

https://vk.com/dev/account.registerDevice

func NewAccountRegisterDeviceBuilder

func NewAccountRegisterDeviceBuilder() *AccountRegisterDeviceBuilder

NewAccountRegisterDeviceBuilder func.

func (*AccountRegisterDeviceBuilder) DeviceID

DeviceID unique device ID.

func (*AccountRegisterDeviceBuilder) DeviceModel

DeviceModel string name of device model.

func (*AccountRegisterDeviceBuilder) DeviceYear

DeviceYear parameter.

func (*AccountRegisterDeviceBuilder) Sandbox

Sandbox parameter.

func (*AccountRegisterDeviceBuilder) Settings

Settings push settings in a [vk.com/dev/push_settings|special format].

func (*AccountRegisterDeviceBuilder) SystemVersion

SystemVersion string version of device operating system.

func (*AccountRegisterDeviceBuilder) Token

Token device used to send notifications. (for mpns, the token shall be URL for sending of notifications).

type AccountSaveProfileInfoBuilder

type AccountSaveProfileInfoBuilder struct {
	api.Params
}

AccountSaveProfileInfoBuilder builder.

Edits current profile info.

https://vk.com/dev/account.saveProfileInfo

func NewAccountSaveProfileInfoBuilder

func NewAccountSaveProfileInfoBuilder() *AccountSaveProfileInfoBuilder

NewAccountSaveProfileInfoBuilder func.

func (*AccountSaveProfileInfoBuilder) Bdate

Bdate user birth date, format: DD.MM.YYYY.

func (*AccountSaveProfileInfoBuilder) BdateVisibility

BdateVisibility birth date visibility. Returned values:

* 1 – show birth date;

* 2 – show only month and day;

* 0 – hide birth date.

func (*AccountSaveProfileInfoBuilder) CancelRequestID

CancelRequestID ID of the name change request to be canceled. If this parameter is sent, all the others are ignored.

func (*AccountSaveProfileInfoBuilder) CityID

CityID user city.

func (*AccountSaveProfileInfoBuilder) CountryID

CountryID user country.

func (*AccountSaveProfileInfoBuilder) FirstName

FirstName user first name.

func (*AccountSaveProfileInfoBuilder) HomeTown

HomeTown user home town.

func (*AccountSaveProfileInfoBuilder) LastName

LastName user last name.

func (*AccountSaveProfileInfoBuilder) MaidenName

MaidenName user maiden name (female only).

func (*AccountSaveProfileInfoBuilder) Relation

Relation user relationship status. Possible values:

* 1 – single;

* 2 – in a relationship;

* 3 – engaged;

* 4 – married;

* 5 – it's complicated;

* 6 – actively searching;

* 7 – in love;

* 0 – not specified.

func (*AccountSaveProfileInfoBuilder) RelationPartnerID

RelationPartnerID ID of the relationship partner.

func (*AccountSaveProfileInfoBuilder) ScreenName

ScreenName user screen name.

func (*AccountSaveProfileInfoBuilder) Sex

Sex user gender. Possible values:

* 1 – female;

* 2 – male.

func (*AccountSaveProfileInfoBuilder) Status

Status text.

type AccountSetInfoBuilder

type AccountSetInfoBuilder struct {
	api.Params
}

AccountSetInfoBuilder builder.

Allows to edit the current account info.

https://vk.com/dev/account.setInfo

func NewAccountSetInfoBuilder

func NewAccountSetInfoBuilder() *AccountSetInfoBuilder

NewAccountSetInfoBuilder func.

func (*AccountSetInfoBuilder) Name

Name - setting name.

func (*AccountSetInfoBuilder) Value

Value - setting value.

type AccountSetNameInMenuBuilder

type AccountSetNameInMenuBuilder struct {
	api.Params
}

AccountSetNameInMenuBuilder builder.

Sets an application screen name (up to 17 characters), that is shown to the user in the left menu.

https://vk.com/dev/account.setNameInMenu

func NewAccountSetNameInMenuBuilder

func NewAccountSetNameInMenuBuilder() *AccountSetNameInMenuBuilder

NewAccountSetNameInMenuBuilder func.

func (*AccountSetNameInMenuBuilder) Name

Name - application screen name.

func (*AccountSetNameInMenuBuilder) UserID

UserID parameter.

type AccountSetOnlineBuilder

type AccountSetOnlineBuilder struct {
	api.Params
}

AccountSetOnlineBuilder builder.

Marks the current user as online for 15 minutes.

https://vk.com/dev/account.setOnline

func NewAccountSetOnlineBuilder

func NewAccountSetOnlineBuilder() *AccountSetOnlineBuilder

NewAccountSetOnlineBuilder func.

func (*AccountSetOnlineBuilder) Voip

Voip 1 if video calls are available for current device.

type AccountSetPushSettingsBuilder

type AccountSetPushSettingsBuilder struct {
	api.Params
}

AccountSetPushSettingsBuilder builder.

Change push settings.

https://vk.com/dev/account.setPushSettings

func NewAccountSetPushSettingsBuilder

func NewAccountSetPushSettingsBuilder() *AccountSetPushSettingsBuilder

NewAccountSetPushSettingsBuilder func.

func (*AccountSetPushSettingsBuilder) DeviceID

DeviceID unique device ID.

func (*AccountSetPushSettingsBuilder) Key

Key notification.

func (*AccountSetPushSettingsBuilder) Settings

Settings push settings in a [vk.com/dev/push_settings|special format].

func (*AccountSetPushSettingsBuilder) Value

Value new value for the key in a [vk.com/dev/push_settings|special format].

type AccountSetSilenceModeBuilder

type AccountSetSilenceModeBuilder struct {
	api.Params
}

AccountSetSilenceModeBuilder builder.

Mutes push notifications for the set period of time.

https://vk.com/dev/account.setSilenceMode

func NewAccountSetSilenceModeBuilder

func NewAccountSetSilenceModeBuilder() *AccountSetSilenceModeBuilder

NewAccountSetSilenceModeBuilder func.

func (*AccountSetSilenceModeBuilder) DeviceID

DeviceID unique device ID.

func (*AccountSetSilenceModeBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'.

func (*AccountSetSilenceModeBuilder) Sound

Sound parameter.

* 1 — to enable sound in this dialog,

* 0 — to disable sound. Only if 'peer_id' contains user or community ID.

func (*AccountSetSilenceModeBuilder) Time

Time Time in seconds for what notifications should be disabled. '-1' to disable forever.

type AccountUnbanBuilder

type AccountUnbanBuilder struct {
	api.Params
}

AccountUnbanBuilder builder.

https://vk.com/dev/account.unban

func NewAccountUnbanBuilder

func NewAccountUnbanBuilder() *AccountUnbanBuilder

NewAccountUnbanBuilder func.

func (*AccountUnbanBuilder) OwnerID

OwnerID parameter.

type AccountUnregisterDeviceBuilder

type AccountUnregisterDeviceBuilder struct {
	api.Params
}

AccountUnregisterDeviceBuilder builder.

Unsubscribes a device from push notifications.

https://vk.com/dev/account.unregisterDevice

func NewAccountUnregisterDeviceBuilder

func NewAccountUnregisterDeviceBuilder() *AccountUnregisterDeviceBuilder

NewAccountUnregisterDeviceBuilder func.

func (*AccountUnregisterDeviceBuilder) DeviceID

DeviceID unique device ID.

func (*AccountUnregisterDeviceBuilder) Sandbox

Sandbox parameter.

type AdsAddOfficeUsersBuilder

type AdsAddOfficeUsersBuilder struct {
	api.Params
}

AdsAddOfficeUsersBuilder builder.

Adds managers and/or supervisors to advertising account.

https://vk.com/dev/ads.addOfficeUsers

func NewAdsAddOfficeUsersBuilder

func NewAdsAddOfficeUsersBuilder() *AdsAddOfficeUsersBuilder

NewAdsAddOfficeUsersBuilder func.

func (*AdsAddOfficeUsersBuilder) AccountID

AccountID advertising account ID.

func (*AdsAddOfficeUsersBuilder) Data

Data serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.

type AdsCheckLinkBuilder

type AdsCheckLinkBuilder struct {
	api.Params
}

AdsCheckLinkBuilder builder.

Allows to check the ad link.

https://vk.com/dev/ads.checkLink

func NewAdsCheckLinkBuilder

func NewAdsCheckLinkBuilder() *AdsCheckLinkBuilder

NewAdsCheckLinkBuilder func.

func (*AdsCheckLinkBuilder) AccountID

func (b *AdsCheckLinkBuilder) AccountID(v int) *AdsCheckLinkBuilder

AccountID advertising account ID.

func (*AdsCheckLinkBuilder) CampaignID

func (b *AdsCheckLinkBuilder) CampaignID(v int) *AdsCheckLinkBuilder

CampaignID parameter.

func (*AdsCheckLinkBuilder) LinkType

LinkType object type:

* community — community,

* post — community post,

* application — VK application,

* video — video,

* site — external site.

func (*AdsCheckLinkBuilder) LinkURL

LinkURL object URL.

type AdsCreateAdsBuilder

type AdsCreateAdsBuilder struct {
	api.Params
}

AdsCreateAdsBuilder builder.

Creates ads.

https://vk.com/dev/ads.createAds

func NewAdsCreateAdsBuilder

func NewAdsCreateAdsBuilder() *AdsCreateAdsBuilder

NewAdsCreateAdsBuilder func.

func (*AdsCreateAdsBuilder) AccountID

func (b *AdsCreateAdsBuilder) AccountID(v int) *AdsCreateAdsBuilder

AccountID advertising account ID.

func (*AdsCreateAdsBuilder) Data

Data serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.

type AdsCreateCampaignsBuilder

type AdsCreateCampaignsBuilder struct {
	api.Params
}

AdsCreateCampaignsBuilder builder.

Creates advertising campaigns.

https://vk.com/dev/ads.createCampaigns

func NewAdsCreateCampaignsBuilder

func NewAdsCreateCampaignsBuilder() *AdsCreateCampaignsBuilder

NewAdsCreateCampaignsBuilder func.

func (*AdsCreateCampaignsBuilder) AccountID

AccountID advertising account ID.

func (*AdsCreateCampaignsBuilder) Data

Data serialized JSON array of objects that describe created campaigns. Description of 'campaign_specification' objects see below.

type AdsCreateClientsBuilder

type AdsCreateClientsBuilder struct {
	api.Params
}

AdsCreateClientsBuilder builder.

Creates clients of an advertising agency.

https://vk.com/dev/ads.createClients

func NewAdsCreateClientsBuilder

func NewAdsCreateClientsBuilder() *AdsCreateClientsBuilder

NewAdsCreateClientsBuilder func.

func (*AdsCreateClientsBuilder) AccountID

AccountID advertising account ID.

func (*AdsCreateClientsBuilder) Data

Data serialized JSON array of objects that describe created campaigns. Description of 'client_specification' objects see below.

type AdsCreateTargetGroupBuilder

type AdsCreateTargetGroupBuilder struct {
	api.Params
}

AdsCreateTargetGroupBuilder builder.

Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.).

https://vk.com/dev/ads.createTargetGroup

func NewAdsCreateTargetGroupBuilder

func NewAdsCreateTargetGroupBuilder() *AdsCreateTargetGroupBuilder

NewAdsCreateTargetGroupBuilder func.

func (*AdsCreateTargetGroupBuilder) AccountID

AccountID advertising account ID.

func (*AdsCreateTargetGroupBuilder) ClientID

ClientID only for advertising agencies. ID of the client with the advertising account where the group will be created.

func (*AdsCreateTargetGroupBuilder) Lifetime

Lifetime for groups with auditory created with pixel code only. Number of days after that users will be automatically removed from the group.

func (*AdsCreateTargetGroupBuilder) Name

Name of the target group — a string up to 64 characters long.

func (*AdsCreateTargetGroupBuilder) TargetPixelID

TargetPixelID parameter.

func (*AdsCreateTargetGroupBuilder) TargetPixelRules

TargetPixelRules parameter.

type AdsDeleteAdsBuilder

type AdsDeleteAdsBuilder struct {
	api.Params
}

AdsDeleteAdsBuilder builder.

Archives ads.

https://vk.com/dev/ads.deleteAds

func NewAdsDeleteAdsBuilder

func NewAdsDeleteAdsBuilder() *AdsDeleteAdsBuilder

NewAdsDeleteAdsBuilder func.

func (*AdsDeleteAdsBuilder) AccountID

func (b *AdsDeleteAdsBuilder) AccountID(v int) *AdsDeleteAdsBuilder

AccountID advertising account ID.

func (*AdsDeleteAdsBuilder) IDs

IDs serialized JSON array with ad IDs.

type AdsDeleteCampaignsBuilder

type AdsDeleteCampaignsBuilder struct {
	api.Params
}

AdsDeleteCampaignsBuilder builder.

Archives advertising campaigns.

https://vk.com/dev/ads.deleteCampaigns

func NewAdsDeleteCampaignsBuilder

func NewAdsDeleteCampaignsBuilder() *AdsDeleteCampaignsBuilder

NewAdsDeleteCampaignsBuilder func.

func (*AdsDeleteCampaignsBuilder) AccountID

AccountID advertising account ID.

func (*AdsDeleteCampaignsBuilder) IDs

IDs serialized JSON array with IDs of deleted campaigns.

type AdsDeleteClientsBuilder

type AdsDeleteClientsBuilder struct {
	api.Params
}

AdsDeleteClientsBuilder builder.

Archives clients of an advertising agency.

https://vk.com/dev/ads.deleteClients

func NewAdsDeleteClientsBuilder

func NewAdsDeleteClientsBuilder() *AdsDeleteClientsBuilder

NewAdsDeleteClientsBuilder func.

func (*AdsDeleteClientsBuilder) AccountID

AccountID advertising account ID.

func (*AdsDeleteClientsBuilder) IDs

IDs serialized JSON array with IDs of deleted clients.

type AdsDeleteTargetGroupBuilder

type AdsDeleteTargetGroupBuilder struct {
	api.Params
}

AdsDeleteTargetGroupBuilder builder.

Deletes a retarget group.

https://vk.com/dev/ads.deleteTargetGroup

func NewAdsDeleteTargetGroupBuilder

func NewAdsDeleteTargetGroupBuilder() *AdsDeleteTargetGroupBuilder

NewAdsDeleteTargetGroupBuilder func.

func (*AdsDeleteTargetGroupBuilder) AccountID

AccountID advertising account ID.

func (*AdsDeleteTargetGroupBuilder) ClientID

ClientID only for advertising agencies. ID of the client with the advertising account where the group will be created.

func (*AdsDeleteTargetGroupBuilder) TargetGroupID

TargetGroupID parameter.

type AdsGetAdsBuilder

type AdsGetAdsBuilder struct {
	api.Params
}

AdsGetAdsBuilder builder.

Returns number of ads.

https://vk.com/dev/ads.getAds

func NewAdsGetAdsBuilder

func NewAdsGetAdsBuilder() *AdsGetAdsBuilder

NewAdsGetAdsBuilder func.

func (*AdsGetAdsBuilder) AccountID

func (b *AdsGetAdsBuilder) AccountID(v int) *AdsGetAdsBuilder

AccountID advertising account ID.

func (*AdsGetAdsBuilder) AdIDs

AdIDs filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.

func (*AdsGetAdsBuilder) CampaignIDs

func (b *AdsGetAdsBuilder) CampaignIDs(v string) *AdsGetAdsBuilder

CampaignIDs filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.

func (*AdsGetAdsBuilder) ClientID

func (b *AdsGetAdsBuilder) ClientID(v int) *AdsGetAdsBuilder

ClientID 'Available and required for advertising agencies.' ID of the client ads are retrieved from.

func (*AdsGetAdsBuilder) IncludeDeleted

func (b *AdsGetAdsBuilder) IncludeDeleted(v bool) *AdsGetAdsBuilder

IncludeDeleted flag that specifies whether archived ads shall be shown:

* 0 — show only active ads,

* 1 — show all ads.

func (*AdsGetAdsBuilder) Limit

func (b *AdsGetAdsBuilder) Limit(v int) *AdsGetAdsBuilder

Limit of number of returned ads. Used only if ad_ids parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.

func (*AdsGetAdsBuilder) Offset

func (b *AdsGetAdsBuilder) Offset(v int) *AdsGetAdsBuilder

Offset used in the same cases as 'limit' parameter.

type AdsGetAdsLayoutBuilder

type AdsGetAdsLayoutBuilder struct {
	api.Params
}

AdsGetAdsLayoutBuilder builder.

Returns descriptions of ad layouts.

https://vk.com/dev/ads.getAdsLayout

func NewAdsGetAdsLayoutBuilder

func NewAdsGetAdsLayoutBuilder() *AdsGetAdsLayoutBuilder

NewAdsGetAdsLayoutBuilder func.

func (*AdsGetAdsLayoutBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetAdsLayoutBuilder) AdIDs

AdIDs filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.

func (*AdsGetAdsLayoutBuilder) CampaignIDs

CampaignIDs filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.

func (*AdsGetAdsLayoutBuilder) ClientID

ClientID 'For advertising agencies.' ID of the client ads are retrieved from.

func (*AdsGetAdsLayoutBuilder) IncludeDeleted

func (b *AdsGetAdsLayoutBuilder) IncludeDeleted(v bool) *AdsGetAdsLayoutBuilder

IncludeDeleted flag that specifies whether archived ads shall be shown.

* 0 — show only active ads,

* 1 — show all ads.

func (*AdsGetAdsLayoutBuilder) Limit

Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.

func (*AdsGetAdsLayoutBuilder) Offset

Offset used in the same cases as 'limit' parameter.

type AdsGetAdsTargetingBuilder

type AdsGetAdsTargetingBuilder struct {
	api.Params
}

AdsGetAdsTargetingBuilder builder.

Returns ad targeting parameters.

https://vk.com/dev/ads.getAdsTargeting

func NewAdsGetAdsTargetingBuilder

func NewAdsGetAdsTargetingBuilder() *AdsGetAdsTargetingBuilder

NewAdsGetAdsTargetingBuilder func.

func (*AdsGetAdsTargetingBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetAdsTargetingBuilder) AdIDs

AdIDs filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.

func (*AdsGetAdsTargetingBuilder) CampaignIDs

CampaignIDs filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.

func (*AdsGetAdsTargetingBuilder) ClientID

ClientID 'For advertising agencies.' ID of the client ads are retrieved from.

func (*AdsGetAdsTargetingBuilder) IncludeDeleted

IncludeDeleted flag that specifies whether archived ads shall be shown:

* 0 — show only active ads,

* 1 — show all ads.

func (*AdsGetAdsTargetingBuilder) Limit

Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.

func (*AdsGetAdsTargetingBuilder) Offset

Offset needed to return a specific subset of results.

func (*AdsGetAdsTargetingBuilder) OnlyDeleted

OnlyDeleted parameter.

TODO: write documentation.

type AdsGetBudgetBuilder

type AdsGetBudgetBuilder struct {
	api.Params
}

AdsGetBudgetBuilder builder.

Returns current budget of the advertising account.

https://vk.com/dev/ads.getBudget

func NewAdsGetBudgetBuilder

func NewAdsGetBudgetBuilder() *AdsGetBudgetBuilder

NewAdsGetBudgetBuilder func.

func (*AdsGetBudgetBuilder) AccountID

func (b *AdsGetBudgetBuilder) AccountID(v int) *AdsGetBudgetBuilder

AccountID advertising account ID.

type AdsGetCampaignsBuilder

type AdsGetCampaignsBuilder struct {
	api.Params
}

AdsGetCampaignsBuilder builder.

Returns a list of campaigns in an advertising account.

https://vk.com/dev/ads.getCampaigns

func NewAdsGetCampaignsBuilder

func NewAdsGetCampaignsBuilder() *AdsGetCampaignsBuilder

NewAdsGetCampaignsBuilder func.

func (*AdsGetCampaignsBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetCampaignsBuilder) CampaignIDs

CampaignIDs filter of advertising campaigns to show. Serialized JSON array with campaign IDs. Only campaigns that exist in 'campaign_ids' and belong to the specified advertising account will be shown. If the parameter is null, all campaigns will be shown.

func (*AdsGetCampaignsBuilder) ClientID

ClientID 'For advertising agencies'. ID of the client advertising campaigns are retrieved from.

func (*AdsGetCampaignsBuilder) IncludeDeleted

func (b *AdsGetCampaignsBuilder) IncludeDeleted(v bool) *AdsGetCampaignsBuilder

IncludeDeleted flag that specifies whether archived ads shall be shown.

* 0 — show only active campaigns,

* 1 — show all campaigns.

type AdsGetCategoriesBuilder

type AdsGetCategoriesBuilder struct {
	api.Params
}

AdsGetCategoriesBuilder builder.

Returns a list of possible ad categories.

https://vk.com/dev/ads.getCategories

func NewAdsGetCategoriesBuilder

func NewAdsGetCategoriesBuilder() *AdsGetCategoriesBuilder

NewAdsGetCategoriesBuilder func.

func (*AdsGetCategoriesBuilder) Lang

Lang parameter. The full list of supported languages is [vk.com/dev/api_requests|here].

type AdsGetClientsBuilder

type AdsGetClientsBuilder struct {
	api.Params
}

AdsGetClientsBuilder builder.

Returns a list of advertising agency's clients.

https://vk.com/dev/ads.getClients

func NewAdsGetClientsBuilder

func NewAdsGetClientsBuilder() *AdsGetClientsBuilder

NewAdsGetClientsBuilder func.

func (*AdsGetClientsBuilder) AccountID

AccountID advertising account ID.

type AdsGetDemographicsBuilder

type AdsGetDemographicsBuilder struct {
	api.Params
}

AdsGetDemographicsBuilder builder.

Returns demographics for ads or campaigns.

https://vk.com/dev/ads.getDemographics

func NewAdsGetDemographicsBuilder

func NewAdsGetDemographicsBuilder() *AdsGetDemographicsBuilder

NewAdsGetDemographicsBuilder func.

func (*AdsGetDemographicsBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetDemographicsBuilder) DateFrom

DateFrom date to show statistics from. For different value of 'period' different date format is used:

* day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011

* *0 — day it was created on,

* month: YYYY-MM, example: 2011-09 — September 2011

* *0 — month it was created in,

* overall: 0.

func (*AdsGetDemographicsBuilder) DateTo

DateTo date to show statistics to. For different value of 'period' different date format is used:

* day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011

* *0 — current day,

* month: YYYY-MM, example: 2011-09 — September 2011

* *0 — current month,

* overall: 0.

func (*AdsGetDemographicsBuilder) IDs

IDs IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.

func (*AdsGetDemographicsBuilder) IDsType

IDsType type of requested objects listed in 'ids' parameter:

* ad — ads,

* campaign — campaigns.

func (*AdsGetDemographicsBuilder) Period

Period data grouping by dates:

* day — statistics by days,

* month — statistics by months,

* overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.

type AdsGetFloodStatsBuilder

type AdsGetFloodStatsBuilder struct {
	api.Params
}

AdsGetFloodStatsBuilder builder.

Returns information about current state of a counter — number of remaining runs of methods and time to the next counter nulling in seconds.

https://vk.com/dev/ads.getFloodStats

func NewAdsGetFloodStatsBuilder

func NewAdsGetFloodStatsBuilder() *AdsGetFloodStatsBuilder

NewAdsGetFloodStatsBuilder func.

func (*AdsGetFloodStatsBuilder) AccountID

AccountID advertising account ID.

type AdsGetMusiciansBuilder

type AdsGetMusiciansBuilder struct {
	api.Params
}

AdsGetMusiciansBuilder builder.

https://vk.com/dev/ads.getMusicians

func NewAdsGetMusiciansBuilder

func NewAdsGetMusiciansBuilder() *AdsGetMusiciansBuilder

NewAdsGetMusiciansBuilder func.

func (*AdsGetMusiciansBuilder) ArtistName

ArtistName parameter.

type AdsGetOfficeUsersBuilder

type AdsGetOfficeUsersBuilder struct {
	api.Params
}

AdsGetOfficeUsersBuilder builder.

Returns a list of managers and supervisors of advertising account.

https://vk.com/dev/ads.getOfficeUsers

func NewAdsGetOfficeUsersBuilder

func NewAdsGetOfficeUsersBuilder() *AdsGetOfficeUsersBuilder

NewAdsGetOfficeUsersBuilder func.

func (*AdsGetOfficeUsersBuilder) AccountID

AccountID advertising account ID.

type AdsGetPostsReachBuilder

type AdsGetPostsReachBuilder struct {
	api.Params
}

AdsGetPostsReachBuilder builder.

Returns detailed statistics of promoted posts reach from campaigns and ads.

https://vk.com/dev/ads.getPostsReach

func NewAdsGetPostsReachBuilder

func NewAdsGetPostsReachBuilder() *AdsGetPostsReachBuilder

NewAdsGetPostsReachBuilder func.

func (*AdsGetPostsReachBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetPostsReachBuilder) IDs

IDs IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 100 objects.

func (*AdsGetPostsReachBuilder) IDsType

IDsType Type of requested objects listed in 'ids' parameter:

* ad — ads,

* campaign — campaigns.

type AdsGetRejectionReasonBuilder

type AdsGetRejectionReasonBuilder struct {
	api.Params
}

AdsGetRejectionReasonBuilder builder.

Returns a reason of ad rejection for pre-moderation.

https://vk.com/dev/ads.getRejectionReason

func NewAdsGetRejectionReasonBuilder

func NewAdsGetRejectionReasonBuilder() *AdsGetRejectionReasonBuilder

NewAdsGetRejectionReasonBuilder func.

func (*AdsGetRejectionReasonBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetRejectionReasonBuilder) AdID

AdID parameter.

type AdsGetStatisticsBuilder

type AdsGetStatisticsBuilder struct {
	api.Params
}

AdsGetStatisticsBuilder builder.

Returns statistics of performance indicators for ads, campaigns, clients or the whole account.

https://vk.com/dev/ads.getStatistics

func NewAdsGetStatisticsBuilder

func NewAdsGetStatisticsBuilder() *AdsGetStatisticsBuilder

NewAdsGetStatisticsBuilder func.

func (*AdsGetStatisticsBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetStatisticsBuilder) DateFrom

DateFrom date to show statistics from. For different value of 'period' different date format is used:

* day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011

* *0 — day it was created on,

* month: YYYY-MM, example: 2011-09 — September 2011

* *0 — month it was created in,

* overall: 0.

func (*AdsGetStatisticsBuilder) DateTo

DateTo date to show statistics to. For different value of 'period' different date format is used:

* day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011

* *0 — current day,

* month: YYYY-MM, example: 2011-09 — September 2011

* *0 — current month,

* overall: 0.

func (*AdsGetStatisticsBuilder) IDs

IDs IDs requested ads, campaigns, clients or account, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.

func (*AdsGetStatisticsBuilder) IDsType

IDsType Type of requested objects listed in 'ids' parameter:

* ad — ads,

* campaign — campaigns,

* client — clients,

* office — account.

func (*AdsGetStatisticsBuilder) Period

Period data grouping by dates:

* day — statistics by days,

* month — statistics by months,

* overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.

type AdsGetSuggestionsBuilder

type AdsGetSuggestionsBuilder struct {
	api.Params
}

AdsGetSuggestionsBuilder builder.

Returns a set of auto-suggestions for various targeting parameters.

https://vk.com/dev/ads.getSuggestions

func NewAdsGetSuggestionsBuilder

func NewAdsGetSuggestionsBuilder() *AdsGetSuggestionsBuilder

NewAdsGetSuggestionsBuilder func.

func (*AdsGetSuggestionsBuilder) Cities

Cities IDs of cities where objects are searched in, separated with a comma.

func (*AdsGetSuggestionsBuilder) Country

Country ID of the country objects are searched in.

func (*AdsGetSuggestionsBuilder) IDs

IDs objects IDs separated by commas. If the parameter is passed, 'q, country, cities' should not be passed.

func (*AdsGetSuggestionsBuilder) Lang

Lang - language of the returned string values. Supported languages:

* ru — Russian,

* ua — Ukrainian,

* en — English.

func (*AdsGetSuggestionsBuilder) Q

Q filter-line of the request (for countries, regions, cities, streets, schools, interests, positions).

func (*AdsGetSuggestionsBuilder) Section

Section section, suggestions are retrieved in. Available values:

* countries — request of a list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full list of countries is shown.

* regions — requested list of regions. 'country' parameter is required.

* cities — requested list of cities. 'country' parameter is required.

* districts — requested list of districts. 'cities' parameter is required.

* stations — requested list of subway stations. 'cities' parameter is required.

* streets — requested list of streets. 'cities' parameter is required.

* schools — requested list of educational organizations. 'cities' parameter is required.

* interests — requested list of interests.

* positions — requested list of positions (professions).

* group_types — requested list of group types.

* religions — requested list of religious commitments.

* browsers — requested list of browsers and mobile devices.

type AdsGetTargetGroupsBuilder

type AdsGetTargetGroupsBuilder struct {
	api.Params
}

AdsGetTargetGroupsBuilder builder.

Returns a list of target groups.

https://vk.com/dev/ads.getTargetGroups

func NewAdsGetTargetGroupsBuilder

func NewAdsGetTargetGroupsBuilder() *AdsGetTargetGroupsBuilder

NewAdsGetTargetGroupsBuilder func.

func (*AdsGetTargetGroupsBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetTargetGroupsBuilder) ClientID

ClientID only for advertising agencies. ID of the client with the advertising account where the group will be created.

func (*AdsGetTargetGroupsBuilder) Extended

Extended parameter.

* 1 — to return pixel code.

type AdsGetTargetingStatsBuilder

type AdsGetTargetingStatsBuilder struct {
	api.Params
}

AdsGetTargetingStatsBuilder builder.

Returns the size of targeting audience, and also recommended values for CPC and CPM.

https://vk.com/dev/ads.getTargetingStats

func NewAdsGetTargetingStatsBuilder

func NewAdsGetTargetingStatsBuilder() *AdsGetTargetingStatsBuilder

NewAdsGetTargetingStatsBuilder func.

func (*AdsGetTargetingStatsBuilder) AccountID

AccountID advertising account ID.

func (*AdsGetTargetingStatsBuilder) AdFormat

AdFormat ad format. Possible values:

* 1 — image and text,

* 2 — big image,

* 3 — exclusive format,

* 4 — community, square image,

* 7 — special app format,

* 8 — special community format,

* 9 — post in community,

* 10 — app board.

func (*AdsGetTargetingStatsBuilder) AdID

AdID ID of an ad which targeting parameters shall be analyzed.

func (*AdsGetTargetingStatsBuilder) AdPlatform

AdPlatform platforms to use for ad showing. Possible values: (for 'ad_format' = '1').

* 0 — VK and partner sites,

* 1 — VK only. (for 'ad_format' = '9')

* all — all platforms,

* desktop — desktop version,

* mobile — mobile version and apps.

func (*AdsGetTargetingStatsBuilder) AdPlatformNoAdNetwork

func (b *AdsGetTargetingStatsBuilder) AdPlatformNoAdNetwork(v string) *AdsGetTargetingStatsBuilder

AdPlatformNoAdNetwork parameter.

func (*AdsGetTargetingStatsBuilder) AdPlatformNoWall

AdPlatformNoWall parameter.

func (*AdsGetTargetingStatsBuilder) ClientID

ClientID parameter.

func (*AdsGetTargetingStatsBuilder) Criteria

Criteria serialized JSON object that describes targeting parameters. Description of 'criteria' object see below.

func (*AdsGetTargetingStatsBuilder) LinkDomain

LinkDomain domain of the advertised object.

func (*AdsGetTargetingStatsBuilder) LinkURL

LinkURL URL for the advertised object.

type AdsGetUploadURLBuilder

type AdsGetUploadURLBuilder struct {
	api.Params
}

AdsGetUploadURLBuilder builder.

Returns URL to upload an ad photo to.

https://vk.com/dev/ads.getUploadURL

func NewAdsGetUploadURLBuilder

func NewAdsGetUploadURLBuilder() *AdsGetUploadURLBuilder

NewAdsGetUploadURLBuilder func.

func (*AdsGetUploadURLBuilder) AdFormat

AdFormat ad format:

* 1 — image and text,

* 2 — big image,

* 3 — exclusive format,

* 4 — community, square image,

* 7 — special app format.

func (*AdsGetUploadURLBuilder) Icon

Icon parameter.

type AdsImportTargetContactsBuilder

type AdsImportTargetContactsBuilder struct {
	api.Params
}

AdsImportTargetContactsBuilder builder.

Imports a list of advertiser's contacts to count VK registered users against the target group.

https://vk.com/dev/ads.importTargetContacts

func NewAdsImportTargetContactsBuilder

func NewAdsImportTargetContactsBuilder() *AdsImportTargetContactsBuilder

NewAdsImportTargetContactsBuilder func.

func (*AdsImportTargetContactsBuilder) AccountID

AccountID advertising account ID.

func (*AdsImportTargetContactsBuilder) ClientID

ClientID only for advertising agencies. ID of the client with the advertising account where the group will be created.

func (*AdsImportTargetContactsBuilder) Contacts

Contacts - list of phone numbers, emails or user IDs separated with a comma.

func (*AdsImportTargetContactsBuilder) TargetGroupID

TargetGroupID Target group ID.

type AdsRemoveOfficeUsersBuilder

type AdsRemoveOfficeUsersBuilder struct {
	api.Params
}

AdsRemoveOfficeUsersBuilder builder.

Removes managers and/or supervisors from advertising account.

https://vk.com/dev/ads.removeOfficeUsers

func NewAdsRemoveOfficeUsersBuilder

func NewAdsRemoveOfficeUsersBuilder() *AdsRemoveOfficeUsersBuilder

NewAdsRemoveOfficeUsersBuilder func.

func (*AdsRemoveOfficeUsersBuilder) AccountID

AccountID advertising account ID.

func (*AdsRemoveOfficeUsersBuilder) IDs

IDs serialized JSON array with IDs of deleted managers.

type AdsUpdateAdsBuilder

type AdsUpdateAdsBuilder struct {
	api.Params
}

AdsUpdateAdsBuilder builder.

Edits ads.

https://vk.com/dev/ads.updateAds

func NewAdsUpdateAdsBuilder

func NewAdsUpdateAdsBuilder() *AdsUpdateAdsBuilder

NewAdsUpdateAdsBuilder func.

func (*AdsUpdateAdsBuilder) AccountID

func (b *AdsUpdateAdsBuilder) AccountID(v int) *AdsUpdateAdsBuilder

AccountID advertising account ID.

func (*AdsUpdateAdsBuilder) Data

Data serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.

type AdsUpdateCampaignsBuilder

type AdsUpdateCampaignsBuilder struct {
	api.Params
}

AdsUpdateCampaignsBuilder builder.

Edits advertising campaigns.

https://vk.com/dev/ads.updateCampaigns

func NewAdsUpdateCampaignsBuilder

func NewAdsUpdateCampaignsBuilder() *AdsUpdateCampaignsBuilder

NewAdsUpdateCampaignsBuilder func.

func (*AdsUpdateCampaignsBuilder) AccountID

AccountID advertising account ID.

func (*AdsUpdateCampaignsBuilder) Data

Data serialized JSON array of objects that describe changes in campaigns. Description of 'campaign_mod' objects see below.

type AdsUpdateClientsBuilder

type AdsUpdateClientsBuilder struct {
	api.Params
}

AdsUpdateClientsBuilder builder.

Edits clients of an advertising agency.

https://vk.com/dev/ads.updateClients

func NewAdsUpdateClientsBuilder

func NewAdsUpdateClientsBuilder() *AdsUpdateClientsBuilder

NewAdsUpdateClientsBuilder func.

func (*AdsUpdateClientsBuilder) AccountID

AccountID advertising account ID.

func (*AdsUpdateClientsBuilder) Data

Data serialized JSON array of objects that describe changes in clients. Description of 'client_mod' objects see below.

type AdsUpdateTargetGroupBuilder

type AdsUpdateTargetGroupBuilder struct {
	api.Params
}

AdsUpdateTargetGroupBuilder builder.

Edits a retarget group.

https://vk.com/dev/ads.updateTargetGroup

func NewAdsUpdateTargetGroupBuilder

func NewAdsUpdateTargetGroupBuilder() *AdsUpdateTargetGroupBuilder

NewAdsUpdateTargetGroupBuilder func.

func (*AdsUpdateTargetGroupBuilder) AccountID

AccountID advertising account ID.

func (*AdsUpdateTargetGroupBuilder) ClientID

ClientID only for advertising agencies. ID of the client with the advertising account where the group will be created.

func (*AdsUpdateTargetGroupBuilder) Domain

Domain of the site where user accounting code will be placed.

func (*AdsUpdateTargetGroupBuilder) Lifetime

Lifetime only for the groups that get audience from sites with user accounting code. Time in days when users added to a retarget group will be automatically excluded from it.

* 0 – automatic exclusion is off.

func (*AdsUpdateTargetGroupBuilder) Name

Name new name of the target group — a string up to 64 characters long.

func (*AdsUpdateTargetGroupBuilder) TargetGroupID

TargetGroupID parameter.

func (*AdsUpdateTargetGroupBuilder) TargetPixelID

TargetPixelID parameter.

func (*AdsUpdateTargetGroupBuilder) TargetPixelRules

TargetPixelRules parameter.

type AppWidgetsUpdateBuilder

type AppWidgetsUpdateBuilder struct {
	api.Params
}

AppWidgetsUpdateBuilder builder.

Allows to update community app widget.

https://vk.com/dev/appWidgets.update

func NewAppWidgetsUpdateBuilder

func NewAppWidgetsUpdateBuilder() *AppWidgetsUpdateBuilder

NewAppWidgetsUpdateBuilder func.

func (*AppWidgetsUpdateBuilder) Code

Code parameter.

func (*AppWidgetsUpdateBuilder) Type

Type parameter.

type AppsAddUsersToTestingGroupBuilder

type AppsAddUsersToTestingGroupBuilder struct {
	api.Params
}

AppsAddUsersToTestingGroupBuilder builder.

https://vk.com/dev/apps.addUsersToTestingGroup

func NewAppsAddUsersToTestingGroupBuilder

func NewAppsAddUsersToTestingGroupBuilder() *AppsAddUsersToTestingGroupBuilder

NewAppsAddUsersToTestingGroupBuilder func.

func (*AppsAddUsersToTestingGroupBuilder) GroupID

GroupID group ID.

func (*AppsAddUsersToTestingGroupBuilder) UserIDs

UserIDs users ID.

type AppsGetBuilder

type AppsGetBuilder struct {
	api.Params
}

AppsGetBuilder builder.

Returns applications data.

https://vk.com/dev/apps.get

func NewAppsGetBuilder

func NewAppsGetBuilder() *AppsGetBuilder

NewAppsGetBuilder func.

func (*AppsGetBuilder) AppID

func (b *AppsGetBuilder) AppID(v int) *AppsGetBuilder

AppID application ID.

func (*AppsGetBuilder) AppIDs

func (b *AppsGetBuilder) AppIDs(v []string) *AppsGetBuilder

AppIDs list of application ID.

func (*AppsGetBuilder) Extended

func (b *AppsGetBuilder) Extended(v bool) *AppsGetBuilder

Extended parameter.

func (*AppsGetBuilder) Fields

func (b *AppsGetBuilder) Fields(v []string) *AppsGetBuilder

Fields profile fields to return. Sample values:

* nickname;

* screen_name;

* sex;

* bdate (birthdate);

* city;

* country;

* timezone;

* photo;

* photo_medium;

* photo_big;

* has_mobile;

* contacts;

* education;

* online;

* counters;

* relation;

* last_seen;

* activity;

* can_write_private_message;

* can_see_all_posts;

* can_post;

* universities, (only if return_friends - 1).

func (*AppsGetBuilder) NameCase

func (b *AppsGetBuilder) NameCase(v string) *AppsGetBuilder

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional. (only if 'return_friends' = '1').

func (*AppsGetBuilder) Platform

func (b *AppsGetBuilder) Platform(v string) *AppsGetBuilder

Platform platform. Possible values:

* ios — iOS;

* android — Android;

* winphone — Windows Phone;

* web — приложения на vk.com.

By default: web.

func (*AppsGetBuilder) ReturnFriends

func (b *AppsGetBuilder) ReturnFriends(v bool) *AppsGetBuilder

ReturnFriends parameter.

type AppsGetCatalogBuilder

type AppsGetCatalogBuilder struct {
	api.Params
}

AppsGetCatalogBuilder builder.

Returns a list of applications (apps) available to users in the App Catalog.

https://vk.com/dev/apps.getCatalog

func NewAppsGetCatalogBuilder

func NewAppsGetCatalogBuilder() *AppsGetCatalogBuilder

NewAppsGetCatalogBuilder func.

func (*AppsGetCatalogBuilder) Count

Count number of apps to return.

func (*AppsGetCatalogBuilder) Extended

Extended parameter.

* 1 — to return additional fields 'screenshots', 'MAU', 'catalog_position', and 'international'. If set, 'count' must be less than or equal to '100'.

* 0 — not to return additional fields (default).

func (*AppsGetCatalogBuilder) Fields

Fields parameter.

func (*AppsGetCatalogBuilder) Filter

Filter 'installed' — to return list of installed apps (only for mobile platform).

func (*AppsGetCatalogBuilder) GenreID

GenreID parameter.

func (*AppsGetCatalogBuilder) NameCase

NameCase parameter.

func (*AppsGetCatalogBuilder) Offset

Offset required to return a specific subset of apps.

func (*AppsGetCatalogBuilder) Platform

Platform parameter.

func (*AppsGetCatalogBuilder) Q

Q search query string.

func (*AppsGetCatalogBuilder) ReturnFriends

func (b *AppsGetCatalogBuilder) ReturnFriends(v bool) *AppsGetCatalogBuilder

ReturnFriends parameter.

func (*AppsGetCatalogBuilder) Sort

Sort order:

* popular_today — popular for one day (default)

* visitors — by visitors number

* create_date — by creation date

* growth_rate — by growth rate

* popular_week — popular for one week.

type AppsGetFriendsListBuilder

type AppsGetFriendsListBuilder struct {
	api.Params
}

AppsGetFriendsListBuilder builder.

Creates friends list for requests and invites in current app.

https://vk.com/dev/apps.getFriendsList

func NewAppsGetFriendsListBuilder

func NewAppsGetFriendsListBuilder() *AppsGetFriendsListBuilder

NewAppsGetFriendsListBuilder func.

func (*AppsGetFriendsListBuilder) Count

Count - list size.

func (*AppsGetFriendsListBuilder) Extended

Extended parameter.

func (*AppsGetFriendsListBuilder) Fields

Fields additional profile fields, see [vk.com/dev/fields|description].

func (*AppsGetFriendsListBuilder) Offset

Offset parameter.

func (*AppsGetFriendsListBuilder) Type

Type list. Possible values:

* invite — available for invites (don't play the game);

* request — available for request (play the game).

By default: invite.

type AppsGetLeaderboardBuilder

type AppsGetLeaderboardBuilder struct {
	api.Params
}

AppsGetLeaderboardBuilder builder.

Returns players rating in the game.

https://vk.com/dev/apps.getLeaderboard

func NewAppsGetLeaderboardBuilder

func NewAppsGetLeaderboardBuilder() *AppsGetLeaderboardBuilder

NewAppsGetLeaderboardBuilder func.

func (*AppsGetLeaderboardBuilder) Extended

Extended 1 — to return additional info about users.

func (*AppsGetLeaderboardBuilder) Global

Global rating type. Possible values:

* 1 — global rating among all players;

* 0 — rating among user friends.

func (*AppsGetLeaderboardBuilder) Type

Type leaderboard. Possible values:

* level — by level;

* points — by mission points;

* score — by score ().

type AppsGetScopesBuilder

type AppsGetScopesBuilder struct {
	api.Params
}

AppsGetScopesBuilder builder.

Returns scopes for auth.

https://vk.com/dev/apps.getScopes

func NewAppsGetScopesBuilder

func NewAppsGetScopesBuilder() *AppsGetScopesBuilder

NewAppsGetScopesBuilder func.

func (*AppsGetScopesBuilder) Type

Type parameter.

type AppsGetScoreBuilder

type AppsGetScoreBuilder struct {
	api.Params
}

AppsGetScoreBuilder builder.

Returns user score in app.

https://vk.com/dev/apps.getScore

func NewAppsGetScoreBuilder

func NewAppsGetScoreBuilder() *AppsGetScoreBuilder

NewAppsGetScoreBuilder func.

func (*AppsGetScoreBuilder) UserID

UserID parameter.

type AppsGetTestingGroupsBuilder

type AppsGetTestingGroupsBuilder struct {
	api.Params
}

AppsGetTestingGroupsBuilder builder.

https://vk.com/dev/apps.getTestingGroups

func NewAppsGetTestingGroupsBuilder

func NewAppsGetTestingGroupsBuilder() *AppsGetTestingGroupsBuilder

NewAppsGetTestingGroupsBuilder func.

func (*AppsGetTestingGroupsBuilder) GroupID

GroupID group ID.

type AppsRemoveTestingGroupBuilder

type AppsRemoveTestingGroupBuilder struct {
	api.Params
}

AppsRemoveTestingGroupBuilder builder.

https://vk.com/dev/apps.removeTestingGroup

func NewAppsRemoveTestingGroupBuilder

func NewAppsRemoveTestingGroupBuilder() *AppsRemoveTestingGroupBuilder

NewAppsRemoveTestingGroupBuilder func.

func (*AppsRemoveTestingGroupBuilder) GroupID

GroupID group ID.

type AppsRemoveUsersFromTestingGroupsBuilder

type AppsRemoveUsersFromTestingGroupsBuilder struct {
	api.Params
}

AppsRemoveUsersFromTestingGroupsBuilder builder.

https://vk.com/dev/apps.removeUsersFromTestingGroups

func NewAppsRemoveUsersFromTestingGroupsBuilder

func NewAppsRemoveUsersFromTestingGroupsBuilder() *AppsRemoveUsersFromTestingGroupsBuilder

NewAppsRemoveUsersFromTestingGroupsBuilder func.

func (*AppsRemoveUsersFromTestingGroupsBuilder) UserIDs

UserIDs users ID.

type AppsSendRequestBuilder

type AppsSendRequestBuilder struct {
	api.Params
}

AppsSendRequestBuilder builder.

Sends a request to another user in an app that uses VK authorization.

https://vk.com/dev/apps.sendRequest

func NewAppsSendRequestBuilder

func NewAppsSendRequestBuilder() *AppsSendRequestBuilder

NewAppsSendRequestBuilder func.

func (*AppsSendRequestBuilder) Key

Key special string key to be sent with the request.

func (*AppsSendRequestBuilder) Name

Name parameter.

func (*AppsSendRequestBuilder) Separate

Separate parameter.

func (*AppsSendRequestBuilder) Text

Text request text.

func (*AppsSendRequestBuilder) Type

Type request type. Values:

* invite – if the request is sent to a user who does not have the app installed

* request – if a user has already installed the app.

func (*AppsSendRequestBuilder) UserID

UserID id of the user to send a request.

type AppsUpdateMetaForTestingGroupBuilder

type AppsUpdateMetaForTestingGroupBuilder struct {
	api.Params
}

AppsUpdateMetaForTestingGroupBuilder builder.

https://vk.com/dev/apps.UpdateMetaForTestingGroup

func NewAppsUpdateMetaForTestingGroupBuilder

func NewAppsUpdateMetaForTestingGroupBuilder() *AppsUpdateMetaForTestingGroupBuilder

NewAppsUpdateMetaForTestingGroupBuilder func.

func (*AppsUpdateMetaForTestingGroupBuilder) GroupID

GroupID parameter.

func (*AppsUpdateMetaForTestingGroupBuilder) Name

Name parameter.

func (*AppsUpdateMetaForTestingGroupBuilder) Platforms

Platforms parameter.

func (*AppsUpdateMetaForTestingGroupBuilder) UserIDs

UserIDs users ID.

func (*AppsUpdateMetaForTestingGroupBuilder) Webview

Webview parameter.

type AuthCheckPhoneBuilder

type AuthCheckPhoneBuilder struct {
	api.Params
}

AuthCheckPhoneBuilder builder.

Checks a user's phone number for correctness.

https://vk.com/dev/auth.checkPhone

func NewAuthCheckPhoneBuilder

func NewAuthCheckPhoneBuilder() *AuthCheckPhoneBuilder

NewAuthCheckPhoneBuilder func.

func (*AuthCheckPhoneBuilder) AuthByPhone

AuthByPhone parameter.

func (*AuthCheckPhoneBuilder) ClientID

ClientID user ID.

func (*AuthCheckPhoneBuilder) ClientSecret

ClientSecret parameter.

func (*AuthCheckPhoneBuilder) Phone

Phone phone number.

type AuthExchangeSilentAuthTokenBuilder

type AuthExchangeSilentAuthTokenBuilder struct {
	api.Params
}

AuthExchangeSilentAuthTokenBuilder builder.

https://platform.vk.com/?p=DocsDashboard&docs=tokens_silent-token

func NewAuthExchangeSilentAuthTokenBuilder

func NewAuthExchangeSilentAuthTokenBuilder() *AuthExchangeSilentAuthTokenBuilder

NewAuthExchangeSilentAuthTokenBuilder func.

func (*AuthExchangeSilentAuthTokenBuilder) Token

Token parameter.

func (*AuthExchangeSilentAuthTokenBuilder) UUID

UUID parameter.

type AuthGetProfileInfoBySilentTokenBuilder

type AuthGetProfileInfoBySilentTokenBuilder struct {
	api.Params
}

AuthGetProfileInfoBySilentTokenBuilder builder.

https://platform.vk.com/?p=DocsDashboard&docs=tokens_silent-token

func NewAuthGetProfileInfoBySilentTokenBuilder

func NewAuthGetProfileInfoBySilentTokenBuilder() *AuthGetProfileInfoBySilentTokenBuilder

NewAuthGetProfileInfoBySilentTokenBuilder func.

func (*AuthGetProfileInfoBySilentTokenBuilder) Add

Add token, uuid, event to params.

type AuthRestoreBuilder

type AuthRestoreBuilder struct {
	api.Params
}

AuthRestoreBuilder builder.

Allows to restore account access using a code received via SMS. This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access.

https://vk.com/dev/auth.restore

func NewAuthRestoreBuilder

func NewAuthRestoreBuilder() *AuthRestoreBuilder

NewAuthRestoreBuilder func.

func (*AuthRestoreBuilder) LastName

LastName user last name.

func (*AuthRestoreBuilder) Phone

Phone user phone number.

type BoardAddTopicBuilder

type BoardAddTopicBuilder struct {
	api.Params
}

BoardAddTopicBuilder builder.

Creates a new topic on a community's discussion board.

https://vk.com/dev/board.addTopic

func NewBoardAddTopicBuilder

func NewBoardAddTopicBuilder() *BoardAddTopicBuilder

NewBoardAddTopicBuilder func.

func (*BoardAddTopicBuilder) Attachments

func (b *BoardAddTopicBuilder) Attachments(v interface{}) *BoardAddTopicBuilder

Attachments list of media objects attached to the topic, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. Example: "photo100172_166443618,photo66748_265827614".

NOTE: If you try to attach more than one reference, an error will be thrown.

func (*BoardAddTopicBuilder) FromGroup

FromGroup for a community:

* 1 — to post the topic as by the community,

* 0 — to post the topic as by the user (default).

func (*BoardAddTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardAddTopicBuilder) Text

Text Text of the topic.

func (*BoardAddTopicBuilder) Title

Title Topic title.

type BoardCloseTopicBuilder

type BoardCloseTopicBuilder struct {
	api.Params
}

BoardCloseTopicBuilder builder.

Closes a topic on a community's discussion board so that comments cannot be posted.

https://vk.com/dev/board.closeTopic

func NewBoardCloseTopicBuilder

func NewBoardCloseTopicBuilder() *BoardCloseTopicBuilder

NewBoardCloseTopicBuilder func.

func (*BoardCloseTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardCloseTopicBuilder) TopicID

TopicID parameter.

type BoardCreateCommentBuilder

type BoardCreateCommentBuilder struct {
	api.Params
}

BoardCreateCommentBuilder builder.

Adds a comment on a topic on a community's discussion board.

https://vk.com/dev/board.createComment

func NewBoardCreateCommentBuilder

func NewBoardCreateCommentBuilder() *BoardCreateCommentBuilder

NewBoardCreateCommentBuilder func.

func (*BoardCreateCommentBuilder) Attachments

func (b *BoardCreateCommentBuilder) Attachments(v interface{}) *BoardCreateCommentBuilder

Attachments (Required if 'text' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID.

func (*BoardCreateCommentBuilder) FromGroup

FromGroup '1' — to post the comment as by the community, '0' — to post the comment as by the user (default).

func (*BoardCreateCommentBuilder) GUID

GUID unique identifier to avoid repeated comments.

func (*BoardCreateCommentBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardCreateCommentBuilder) Message

Message (Required if 'attachments' is not set.) Text of the comment.

func (*BoardCreateCommentBuilder) StickerID

StickerID parameter.

func (*BoardCreateCommentBuilder) TopicID

TopicID ID of the topic to be commented on.

type BoardDeleteCommentBuilder

type BoardDeleteCommentBuilder struct {
	api.Params
}

BoardDeleteCommentBuilder builder.

Deletes a comment on a topic on a community's discussion board.

https://vk.com/dev/board.deleteComment

func NewBoardDeleteCommentBuilder

func NewBoardDeleteCommentBuilder() *BoardDeleteCommentBuilder

NewBoardDeleteCommentBuilder func.

func (*BoardDeleteCommentBuilder) CommentID

CommentID parameter.

func (*BoardDeleteCommentBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardDeleteCommentBuilder) TopicID

TopicID parameter.

type BoardDeleteTopicBuilder

type BoardDeleteTopicBuilder struct {
	api.Params
}

BoardDeleteTopicBuilder builder.

Deletes a topic from a community's discussion board.

https://vk.com/dev/board.deleteTopic

func NewBoardDeleteTopicBuilder

func NewBoardDeleteTopicBuilder() *BoardDeleteTopicBuilder

NewBoardDeleteTopicBuilder func.

func (*BoardDeleteTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardDeleteTopicBuilder) TopicID

TopicID parameter.

type BoardEditCommentBuilder

type BoardEditCommentBuilder struct {
	api.Params
}

BoardEditCommentBuilder builder.

Edits a comment on a topic on a community's discussion board.

https://vk.com/dev/board.editComment

func NewBoardEditCommentBuilder

func NewBoardEditCommentBuilder() *BoardEditCommentBuilder

NewBoardEditCommentBuilder func.

func (*BoardEditCommentBuilder) Attachments

func (b *BoardEditCommentBuilder) Attachments(v interface{}) *BoardEditCommentBuilder

Attachments (Required if 'message' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. Example: "photo100172_166443618,photo66748_265827614".

func (*BoardEditCommentBuilder) CommentID

CommentID ID of the comment on the topic.

func (*BoardEditCommentBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardEditCommentBuilder) Message

Message (Required if 'attachments' is not set). New comment text.

func (*BoardEditCommentBuilder) TopicID

TopicID parameter.

type BoardEditTopicBuilder

type BoardEditTopicBuilder struct {
	api.Params
}

BoardEditTopicBuilder builder.

Edits the title of a topic on a community's discussion board.

https://vk.com/dev/board.editTopic

func NewBoardEditTopicBuilder

func NewBoardEditTopicBuilder() *BoardEditTopicBuilder

NewBoardEditTopicBuilder func.

func (*BoardEditTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardEditTopicBuilder) Title

Title new title of the topic.

func (*BoardEditTopicBuilder) TopicID

TopicID parameter.

type BoardFixTopicBuilder

type BoardFixTopicBuilder struct {
	api.Params
}

BoardFixTopicBuilder builder.

Pins a topic (fixes its place) to the top of a community's discussion board.

https://vk.com/dev/board.fixTopic

func NewBoardFixTopicBuilder

func NewBoardFixTopicBuilder() *BoardFixTopicBuilder

NewBoardFixTopicBuilder func.

func (*BoardFixTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardFixTopicBuilder) TopicID

TopicID parameter.

type BoardGetCommentsBuilder

type BoardGetCommentsBuilder struct {
	api.Params
}

BoardGetCommentsBuilder builder.

Returns a list of comments on a topic on a community's discussion board.

https://vk.com/dev/board.getComments

func NewBoardGetCommentsBuilder

func NewBoardGetCommentsBuilder() *BoardGetCommentsBuilder

NewBoardGetCommentsBuilder func.

func (*BoardGetCommentsBuilder) Count

Count number of comments to return.

func (*BoardGetCommentsBuilder) Extended

Extended '1' — to return information about users who posted comments, '0' — to return no additional fields (default).

func (*BoardGetCommentsBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardGetCommentsBuilder) NeedLikes

NeedLikes '1' — to return the 'likes' field, '0' — not to return the 'likes' field (default).

func (*BoardGetCommentsBuilder) Offset

Offset needed to return a specific subset of comments.

func (*BoardGetCommentsBuilder) Sort

Sort order:

* asc — by creation date in chronological order, 'desc' — by creation date in reverse chronological order.

func (*BoardGetCommentsBuilder) StartCommentID

func (b *BoardGetCommentsBuilder) StartCommentID(v int) *BoardGetCommentsBuilder

StartCommentID parameter.

func (*BoardGetCommentsBuilder) TopicID

TopicID parameter.

type BoardGetTopicsBuilder

type BoardGetTopicsBuilder struct {
	api.Params
}

BoardGetTopicsBuilder builder.

Returns a list of topics on a community's discussion board.

https://vk.com/dev/board.getTopics

func NewBoardGetTopicsBuilder

func NewBoardGetTopicsBuilder() *BoardGetTopicsBuilder

NewBoardGetTopicsBuilder func.

func (*BoardGetTopicsBuilder) Count

Count number of topics to return.

func (*BoardGetTopicsBuilder) Extended

Extended parameter.

* 1 — to return information about users who created topics or who posted there last,

* 0 — to return no additional fields (default).

func (*BoardGetTopicsBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardGetTopicsBuilder) Offset

Offset needed to return a specific subset of topics.

func (*BoardGetTopicsBuilder) Order

Order sort order:

* 1 — by date updated in reverse chronological order.

* 2 — by date created in reverse chronological order.

* -1 — by date updated in chronological order.

* -2 — by date created in chronological order.

If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.

func (*BoardGetTopicsBuilder) Preview

Preview parameter.

* 1 — to return the first comment in each topic;

* 2 — to return the last comment in each topic;

* 0 — to return no comments.

By default: 0.

func (*BoardGetTopicsBuilder) PreviewLength

func (b *BoardGetTopicsBuilder) PreviewLength(v int) *BoardGetTopicsBuilder

PreviewLength number of characters after which to truncate the previewed comment. To preview the full comment, specify '0'.

func (*BoardGetTopicsBuilder) TopicIDs

TopicIDs IDs of topics to be returned (100 maximum). By default, all topics are returned. If this parameter is set, the 'order', 'offset', and 'count' parameters are ignored.

type BoardOpenTopicBuilder

type BoardOpenTopicBuilder struct {
	api.Params
}

BoardOpenTopicBuilder builder.

Re-opens a previously closed topic on a community's discussion board.

https://vk.com/dev/board.openTopic

func NewBoardOpenTopicBuilder

func NewBoardOpenTopicBuilder() *BoardOpenTopicBuilder

NewBoardOpenTopicBuilder func.

func (*BoardOpenTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardOpenTopicBuilder) TopicID

TopicID parameter.

type BoardRestoreCommentBuilder

type BoardRestoreCommentBuilder struct {
	api.Params
}

BoardRestoreCommentBuilder builder.

Restores a comment deleted from a topic on a community's discussion board.

https://vk.com/dev/board.restoreComment

func NewBoardRestoreCommentBuilder

func NewBoardRestoreCommentBuilder() *BoardRestoreCommentBuilder

NewBoardRestoreCommentBuilder func.

func (*BoardRestoreCommentBuilder) CommentID

CommentID parameter.

func (*BoardRestoreCommentBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardRestoreCommentBuilder) TopicID

TopicID parameter.

type BoardUnfixTopicBuilder

type BoardUnfixTopicBuilder struct {
	api.Params
}

BoardUnfixTopicBuilder builder.

Unpins a pinned topic from the top of a community's discussion board.

https://vk.com/dev/board.unfixTopic

func NewBoardUnfixTopicBuilder

func NewBoardUnfixTopicBuilder() *BoardUnfixTopicBuilder

NewBoardUnfixTopicBuilder func.

func (*BoardUnfixTopicBuilder) GroupID

GroupID ID of the community that owns the discussion board.

func (*BoardUnfixTopicBuilder) TopicID

TopicID parameter.

type CallsForceFinishBuilder

type CallsForceFinishBuilder struct {
	api.Params
}

CallsForceFinishBuilder builder.

https://vk.com/dev/calls.forceFinish

func NewCallsForceFinishBuilder

func NewCallsForceFinishBuilder() *CallsForceFinishBuilder

NewCallsForceFinishBuilder func.

func (*CallsForceFinishBuilder) CallID

CallID parameter.

type CallsStartBuilder

type CallsStartBuilder struct {
	api.Params
}

CallsStartBuilder builder.

https://vk.com/dev/calls.start

func NewCallsStartBuilder

func NewCallsStartBuilder() *CallsStartBuilder

NewCallsStartBuilder func.

func (*CallsStartBuilder) GroupID

func (b *CallsStartBuilder) GroupID(v int) *CallsStartBuilder

GroupID parameter.

type DatabaseGetChairsBuilder

type DatabaseGetChairsBuilder struct {
	api.Params
}

DatabaseGetChairsBuilder builder.

Returns list of chairs on a specified faculty.

https://vk.com/dev/database.getChairs

func NewDatabaseGetChairsBuilder

func NewDatabaseGetChairsBuilder() *DatabaseGetChairsBuilder

NewDatabaseGetChairsBuilder func.

func (*DatabaseGetChairsBuilder) Count

Count amount of chairs to get.

func (*DatabaseGetChairsBuilder) FacultyID

FacultyID id of the faculty to get chairs from.

func (*DatabaseGetChairsBuilder) Offset

Offset offset required to get a certain subset of chairs.

type DatabaseGetCitiesBuilder

type DatabaseGetCitiesBuilder struct {
	api.Params
}

DatabaseGetCitiesBuilder builder.

Returns a list of cities.

https://vk.com/dev/database.getCities

func NewDatabaseGetCitiesBuilder

func NewDatabaseGetCitiesBuilder() *DatabaseGetCitiesBuilder

NewDatabaseGetCitiesBuilder func.

func (*DatabaseGetCitiesBuilder) Count

Count number of cities to return.

func (*DatabaseGetCitiesBuilder) CountryID

CountryID parameter.

func (*DatabaseGetCitiesBuilder) NeedAll

NeedAll parameter.

* 1 — to return all cities in the country,

* 0 — to return major cities in the country (default).

func (*DatabaseGetCitiesBuilder) Offset

Offset needed to return a specific subset of cities.

func (*DatabaseGetCitiesBuilder) Q

Q search query.

func (*DatabaseGetCitiesBuilder) RegionID

RegionID parameter.

type DatabaseGetCitiesByIDBuilder

type DatabaseGetCitiesByIDBuilder struct {
	api.Params
}

DatabaseGetCitiesByIDBuilder builder.

Returns information about cities by their IDs.

https://vk.com/dev/database.getCitiesById

func NewDatabaseGetCitiesByIDBuilder

func NewDatabaseGetCitiesByIDBuilder() *DatabaseGetCitiesByIDBuilder

NewDatabaseGetCitiesByIDBuilder func.

func (*DatabaseGetCitiesByIDBuilder) CityIDs

CityIDs parameter.

type DatabaseGetCountriesBuilder

type DatabaseGetCountriesBuilder struct {
	api.Params
}

DatabaseGetCountriesBuilder builder.

Returns a list of countries.

https://vk.com/dev/database.getCountries

func NewDatabaseGetCountriesBuilder

func NewDatabaseGetCountriesBuilder() *DatabaseGetCountriesBuilder

NewDatabaseGetCountriesBuilder func.

func (*DatabaseGetCountriesBuilder) Code

Code - country codes in [vk.com/dev/country_codes|ISO 3166-1 alpha-2] standard.

func (*DatabaseGetCountriesBuilder) Count

Count number of countries to return.

func (*DatabaseGetCountriesBuilder) NeedAll

NeedAll parameter.

* 1 — to return a full list of all countries.

* 0 — to return a list of countries near the current user's country (default).

func (*DatabaseGetCountriesBuilder) Offset

Offset needed to return a specific subset of countries.

type DatabaseGetCountriesByIDBuilder

type DatabaseGetCountriesByIDBuilder struct {
	api.Params
}

DatabaseGetCountriesByIDBuilder builder.

Returns information about countries by their IDs.

https://vk.com/dev/database.getCountriesById

func NewDatabaseGetCountriesByIDBuilder

func NewDatabaseGetCountriesByIDBuilder() *DatabaseGetCountriesByIDBuilder

NewDatabaseGetCountriesByIDBuilder func.

func (*DatabaseGetCountriesByIDBuilder) CountryIDs

CountryIDs parameter.

type DatabaseGetFacultiesBuilder

type DatabaseGetFacultiesBuilder struct {
	api.Params
}

DatabaseGetFacultiesBuilder builder.

Returns a list of faculties (i.e., university departments).

https://vk.com/dev/database.getFaculties

func NewDatabaseGetFacultiesBuilder

func NewDatabaseGetFacultiesBuilder() *DatabaseGetFacultiesBuilder

NewDatabaseGetFacultiesBuilder func.

func (*DatabaseGetFacultiesBuilder) Count

Count number of faculties to return.

func (*DatabaseGetFacultiesBuilder) Offset

Offset needed to return a specific subset of faculties.

func (*DatabaseGetFacultiesBuilder) UniversityID

UniversityID parameter.

type DatabaseGetMetroStationsBuilder

type DatabaseGetMetroStationsBuilder struct {
	api.Params
}

DatabaseGetMetroStationsBuilder builder.

Get metro stations by city.

https://vk.com/dev/database.getMetroStations

func NewDatabaseGetMetroStationsBuilder

func NewDatabaseGetMetroStationsBuilder() *DatabaseGetMetroStationsBuilder

NewDatabaseGetMetroStationsBuilder func.

func (*DatabaseGetMetroStationsBuilder) CityID

CityID parameter.

func (*DatabaseGetMetroStationsBuilder) Count

Count parameter.

func (*DatabaseGetMetroStationsBuilder) Extended

Extended parameter.

func (*DatabaseGetMetroStationsBuilder) Offset

Offset parameter.

type DatabaseGetMetroStationsByIDBuilder

type DatabaseGetMetroStationsByIDBuilder struct {
	api.Params
}

DatabaseGetMetroStationsByIDBuilder builder.

Get metro station by his id.

https://vk.com/dev/database.getMetroStationsById

func NewDatabaseGetMetroStationsByIDBuilder

func NewDatabaseGetMetroStationsByIDBuilder() *DatabaseGetMetroStationsByIDBuilder

NewDatabaseGetMetroStationsByIDBuilder func.

func (*DatabaseGetMetroStationsByIDBuilder) StationIDs

StationIDs parameter.

type DatabaseGetRegionsBuilder

type DatabaseGetRegionsBuilder struct {
	api.Params
}

DatabaseGetRegionsBuilder builder.

Returns a list of regions.

https://vk.com/dev/database.getRegions

func NewDatabaseGetRegionsBuilder

func NewDatabaseGetRegionsBuilder() *DatabaseGetRegionsBuilder

NewDatabaseGetRegionsBuilder func.

func (*DatabaseGetRegionsBuilder) Count

Count number of regions to return.

func (*DatabaseGetRegionsBuilder) CountryID

CountryID parameter, received in [vk.com/dev/database.getCountries|database.getCountries] method.

func (*DatabaseGetRegionsBuilder) Offset

Offset needed to return specific subset of regions.

func (*DatabaseGetRegionsBuilder) Q

Q search query.

type DatabaseGetSchoolClassesBuilder

type DatabaseGetSchoolClassesBuilder struct {
	api.Params
}

DatabaseGetSchoolClassesBuilder builder.

Returns a list of school classes specified for the country.

https://vk.com/dev/database.getSchoolClasses

func NewDatabaseGetSchoolClassesBuilder

func NewDatabaseGetSchoolClassesBuilder() *DatabaseGetSchoolClassesBuilder

NewDatabaseGetSchoolClassesBuilder func.

func (*DatabaseGetSchoolClassesBuilder) CountryID

CountryID parameter.

type DatabaseGetSchoolsBuilder

type DatabaseGetSchoolsBuilder struct {
	api.Params
}

DatabaseGetSchoolsBuilder builder.

Returns a list of schools.

https://vk.com/dev/database.getSchools

func NewDatabaseGetSchoolsBuilder

func NewDatabaseGetSchoolsBuilder() *DatabaseGetSchoolsBuilder

NewDatabaseGetSchoolsBuilder func.

func (*DatabaseGetSchoolsBuilder) CityID

CityID parameter.

func (*DatabaseGetSchoolsBuilder) Count

Count number of schools to return.

func (*DatabaseGetSchoolsBuilder) Offset

Offset needed to return a specific subset of schools.

func (*DatabaseGetSchoolsBuilder) Q

Q search query.

type DatabaseGetUniversitiesBuilder

type DatabaseGetUniversitiesBuilder struct {
	api.Params
}

DatabaseGetUniversitiesBuilder builder.

Returns a list of higher education institutions.

https://vk.com/dev/database.getUniversities

func NewDatabaseGetUniversitiesBuilder

func NewDatabaseGetUniversitiesBuilder() *DatabaseGetUniversitiesBuilder

NewDatabaseGetUniversitiesBuilder func.

func (*DatabaseGetUniversitiesBuilder) CityID

CityID parameter.

func (*DatabaseGetUniversitiesBuilder) Count

Count number of universities to return.

func (*DatabaseGetUniversitiesBuilder) CountryID

CountryID parameter.

func (*DatabaseGetUniversitiesBuilder) Offset

Offset needed to return a specific subset of universities.

func (*DatabaseGetUniversitiesBuilder) Q

Q search query.

type DocsAddBuilder

type DocsAddBuilder struct {
	api.Params
}

DocsAddBuilder builder.

Copies a document to a user's or community's document list.

https://vk.com/dev/docs.add

func NewDocsAddBuilder

func NewDocsAddBuilder() *DocsAddBuilder

NewDocsAddBuilder func.

func (*DocsAddBuilder) AccessKey

func (b *DocsAddBuilder) AccessKey(v string) *DocsAddBuilder

AccessKey access key. This parameter is required if 'access_key' was returned with the document's data.

func (*DocsAddBuilder) DocID

func (b *DocsAddBuilder) DocID(v int) *DocsAddBuilder

DocID document ID.

func (*DocsAddBuilder) OwnerID

func (b *DocsAddBuilder) OwnerID(v int) *DocsAddBuilder

OwnerID ID of the user or community that owns the document. Use a negative value to designate a community ID.

type DocsDeleteBuilder

type DocsDeleteBuilder struct {
	api.Params
}

DocsDeleteBuilder builder.

Deletes a user or community document.

https://vk.com/dev/docs.delete

func NewDocsDeleteBuilder

func NewDocsDeleteBuilder() *DocsDeleteBuilder

NewDocsDeleteBuilder func.

func (*DocsDeleteBuilder) DocID

DocID document ID.

func (*DocsDeleteBuilder) OwnerID

func (b *DocsDeleteBuilder) OwnerID(v int) *DocsDeleteBuilder

OwnerID ID of the user or community that owns the document. Use a negative value to designate a community ID.

type DocsEditBuilder

type DocsEditBuilder struct {
	api.Params
}

DocsEditBuilder builder.

Edits a document.

https://vk.com/dev/docs.edit

func NewDocsEditBuilder

func NewDocsEditBuilder() *DocsEditBuilder

NewDocsEditBuilder func.

func (*DocsEditBuilder) DocID

func (b *DocsEditBuilder) DocID(v int) *DocsEditBuilder

DocID document ID.

func (*DocsEditBuilder) OwnerID

func (b *DocsEditBuilder) OwnerID(v int) *DocsEditBuilder

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*DocsEditBuilder) Tags

func (b *DocsEditBuilder) Tags(v []string) *DocsEditBuilder

Tags document.

func (*DocsEditBuilder) Title

func (b *DocsEditBuilder) Title(v string) *DocsEditBuilder

Title document.

type DocsGetBuilder

type DocsGetBuilder struct {
	api.Params
}

DocsGetBuilder builder.

Returns detailed information about user or community documents.

https://vk.com/dev/docs.get

func NewDocsGetBuilder

func NewDocsGetBuilder() *DocsGetBuilder

NewDocsGetBuilder func.

func (*DocsGetBuilder) Count

func (b *DocsGetBuilder) Count(v int) *DocsGetBuilder

Count number of documents to return. By default, all documents.

func (*DocsGetBuilder) Offset

func (b *DocsGetBuilder) Offset(v int) *DocsGetBuilder

Offset needed to return a specific subset of documents.

func (*DocsGetBuilder) OwnerID

func (b *DocsGetBuilder) OwnerID(v int) *DocsGetBuilder

OwnerID ID of the user or community that owns the documents. Use a negative value to designate a community ID.

func (*DocsGetBuilder) Type

func (b *DocsGetBuilder) Type(v int) *DocsGetBuilder

Type parameter.

type DocsGetByIDBuilder

type DocsGetByIDBuilder struct {
	api.Params
}

DocsGetByIDBuilder builder.

Returns information about documents by their IDs.

https://vk.com/dev/docs.getById

func NewDocsGetByIDBuilder

func NewDocsGetByIDBuilder() *DocsGetByIDBuilder

NewDocsGetByIDBuilder func.

func (*DocsGetByIDBuilder) Docs

Docs IDs. Example: , "66748_91488,66748_91455".

type DocsGetMessagesUploadServerBuilder

type DocsGetMessagesUploadServerBuilder struct {
	api.Params
}

DocsGetMessagesUploadServerBuilder builder.

Returns the server address for document upload.

https://vk.com/dev/docs.getMessagesUploadServer

func NewDocsGetMessagesUploadServerBuilder

func NewDocsGetMessagesUploadServerBuilder() *DocsGetMessagesUploadServerBuilder

NewDocsGetMessagesUploadServerBuilder func.

func (*DocsGetMessagesUploadServerBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*DocsGetMessagesUploadServerBuilder) Type

Type document.

type DocsGetTypesBuilder

type DocsGetTypesBuilder struct {
	api.Params
}

DocsGetTypesBuilder builder.

Returns documents types available for current user.

https://vk.com/dev/docs.getTypes

func NewDocsGetTypesBuilder

func NewDocsGetTypesBuilder() *DocsGetTypesBuilder

NewDocsGetTypesBuilder func.

func (*DocsGetTypesBuilder) OwnerID

OwnerID ID of the user or community that owns the documents. Use a negative value to designate a community ID.

type DocsGetUploadServerBuilder

type DocsGetUploadServerBuilder struct {
	api.Params
}

DocsGetUploadServerBuilder builder.

Returns the server address for document upload.

https://vk.com/dev/docs.getUploadServer

func NewDocsGetUploadServerBuilder

func NewDocsGetUploadServerBuilder() *DocsGetUploadServerBuilder

NewDocsGetUploadServerBuilder func.

func (*DocsGetUploadServerBuilder) GroupID

GroupID community ID (if the document will be uploaded to the community).

type DocsGetWallUploadServerBuilder

type DocsGetWallUploadServerBuilder struct {
	api.Params
}

DocsGetWallUploadServerBuilder builder.

Returns the server address for document upload onto a user's or community's wall.

https://vk.com/dev/docs.getWallUploadServer

func NewDocsGetWallUploadServerBuilder

func NewDocsGetWallUploadServerBuilder() *DocsGetWallUploadServerBuilder

NewDocsGetWallUploadServerBuilder func.

func (*DocsGetWallUploadServerBuilder) GroupID

GroupID community ID (if the document will be uploaded to the community).

type DocsSaveBuilder

type DocsSaveBuilder struct {
	api.Params
}

DocsSaveBuilder builder.

Saves a document after [vk.com/dev/upload_files_2|uploading it to a server].

https://vk.com/dev/docs.save

func NewDocsSaveBuilder

func NewDocsSaveBuilder() *DocsSaveBuilder

NewDocsSaveBuilder func.

func (*DocsSaveBuilder) File

File This parameter is returned when the file is [vk.com/dev/upload_files_2|uploaded to the server].

func (*DocsSaveBuilder) Tags

Tags document.

func (*DocsSaveBuilder) Title

func (b *DocsSaveBuilder) Title(v string) *DocsSaveBuilder

Title document.

type DocsSearchBuilder

type DocsSearchBuilder struct {
	api.Params
}

DocsSearchBuilder builder.

Returns a list of documents matching the search criteria.

https://vk.com/dev/docs.search

func NewDocsSearchBuilder

func NewDocsSearchBuilder() *DocsSearchBuilder

NewDocsSearchBuilder func.

func (*DocsSearchBuilder) Count

Count number of results to return.

func (*DocsSearchBuilder) Offset

func (b *DocsSearchBuilder) Offset(v int) *DocsSearchBuilder

Offset needed to return a specific subset of results.

func (*DocsSearchBuilder) Q

Q search query string.

func (*DocsSearchBuilder) SearchOwn

func (b *DocsSearchBuilder) SearchOwn(v bool) *DocsSearchBuilder

SearchOwn parameter.

type DonutGetFriendsBuilder

type DonutGetFriendsBuilder struct {
	api.Params
}

DonutGetFriendsBuilder struct.

func NewDonutGetFriendsBuilder

func NewDonutGetFriendsBuilder() *DonutGetFriendsBuilder

NewDonutGetFriendsBuilder func.

func (*DonutGetFriendsBuilder) Count

Count - number of results to return.

func (*DonutGetFriendsBuilder) Fields

Fields parameter.

func (*DonutGetFriendsBuilder) Offset

Offset parameter.

func (*DonutGetFriendsBuilder) OwnerID

OwnerID parameter.

type DonutGetSubscriptionBuilder

type DonutGetSubscriptionBuilder struct {
	api.Params
}

DonutGetSubscriptionBuilder struct.

func NewDonutGetSubscriptionBuilder

func NewDonutGetSubscriptionBuilder() *DonutGetSubscriptionBuilder

NewDonutGetSubscriptionBuilder func.

func (*DonutGetSubscriptionBuilder) OwnerID

OwnerID parameter.

type DonutGetSubscriptionsBuilder

type DonutGetSubscriptionsBuilder struct {
	api.Params
}

DonutGetSubscriptionsBuilder struct.

func NewDonutGetSubscriptionsBuilder

func NewDonutGetSubscriptionsBuilder() *DonutGetSubscriptionsBuilder

NewDonutGetSubscriptionsBuilder func.

func (*DonutGetSubscriptionsBuilder) Count

Count - number of results to return.

func (*DonutGetSubscriptionsBuilder) Fields

Fields parameter.

func (*DonutGetSubscriptionsBuilder) Offset

Offset parameter.

type DonutIsDonBuilder

type DonutIsDonBuilder struct {
	api.Params
}

DonutIsDonBuilder struct.

func NewDonutIsDonBuilder

func NewDonutIsDonBuilder() *DonutIsDonBuilder

NewDonutIsDonBuilder func.

func (*DonutIsDonBuilder) OwnerID

func (b *DonutIsDonBuilder) OwnerID(v int) *DonutIsDonBuilder

OwnerID parameter.

type DownloadedGamesGetPaidStatusBuilder

type DownloadedGamesGetPaidStatusBuilder struct {
	api.Params
}

DownloadedGamesGetPaidStatusBuilder builder.

https://vk.com/dev/downloadedGames.getPaidStatus

func NewDownloadedGamesGetPaidStatusBuilder

func NewDownloadedGamesGetPaidStatusBuilder() *DownloadedGamesGetPaidStatusBuilder

NewDownloadedGamesGetPaidStatusBuilder func.

func (*DownloadedGamesGetPaidStatusBuilder) UserID

UserID parameter.

type FaveAddArticleBuilder

type FaveAddArticleBuilder struct {
	api.Params
}

FaveAddArticleBuilder builder.

https://vk.com/dev/fave.addArticle

func NewFaveAddArticleBuilder

func NewFaveAddArticleBuilder() *FaveAddArticleBuilder

NewFaveAddArticleBuilder func.

func (*FaveAddArticleBuilder) URL

URL parameter.

type FaveAddLinkBuilder

type FaveAddLinkBuilder struct {
	api.Params
}

FaveAddLinkBuilder builder.

Adds a link to user faves.

https://vk.com/dev/fave.addLink

func NewFaveAddLinkBuilder

func NewFaveAddLinkBuilder() *FaveAddLinkBuilder

NewFaveAddLinkBuilder func.

Link URL.

type FaveAddPageBuilder

type FaveAddPageBuilder struct {
	api.Params
}

FaveAddPageBuilder builder.

https://vk.com/dev/fave.addPage

func NewFaveAddPageBuilder

func NewFaveAddPageBuilder() *FaveAddPageBuilder

NewFaveAddPageBuilder func.

func (*FaveAddPageBuilder) GroupID

func (b *FaveAddPageBuilder) GroupID(v int) *FaveAddPageBuilder

GroupID parameter.

func (*FaveAddPageBuilder) UserID

UserID parameter.

type FaveAddPostBuilder

type FaveAddPostBuilder struct {
	api.Params
}

FaveAddPostBuilder builder.

https://vk.com/dev/fave.addPost

func NewFaveAddPostBuilder

func NewFaveAddPostBuilder() *FaveAddPostBuilder

NewFaveAddPostBuilder func.

func (*FaveAddPostBuilder) AccessKey

func (b *FaveAddPostBuilder) AccessKey(v string) *FaveAddPostBuilder

AccessKey parameter.

func (*FaveAddPostBuilder) ID

ID parameter.

func (*FaveAddPostBuilder) OwnerID

func (b *FaveAddPostBuilder) OwnerID(v int) *FaveAddPostBuilder

OwnerID parameter.

type FaveAddProductBuilder

type FaveAddProductBuilder struct {
	api.Params
}

FaveAddProductBuilder builder.

https://vk.com/dev/fave.addProduct

func NewFaveAddProductBuilder

func NewFaveAddProductBuilder() *FaveAddProductBuilder

NewFaveAddProductBuilder func.

func (*FaveAddProductBuilder) AccessKey

AccessKey parameter.

func (*FaveAddProductBuilder) ID

ID parameter.

func (*FaveAddProductBuilder) OwnerID

OwnerID parameter.

type FaveAddTagBuilder

type FaveAddTagBuilder struct {
	api.Params
}

FaveAddTagBuilder builder.

https://vk.com/dev/fave.addTag

func NewFaveAddTagBuilder

func NewFaveAddTagBuilder() *FaveAddTagBuilder

NewFaveAddTagBuilder func.

func (*FaveAddTagBuilder) Name

Name parameter.

type FaveAddVideoBuilder

type FaveAddVideoBuilder struct {
	api.Params
}

FaveAddVideoBuilder builder.

https://vk.com/dev/fave.addVideo

func NewFaveAddVideoBuilder

func NewFaveAddVideoBuilder() *FaveAddVideoBuilder

NewFaveAddVideoBuilder func.

func (*FaveAddVideoBuilder) AccessKey

AccessKey parameter.

func (*FaveAddVideoBuilder) ID

ID parameter.

func (*FaveAddVideoBuilder) OwnerID

OwnerID parameter.

type FaveEditTagBuilder

type FaveEditTagBuilder struct {
	api.Params
}

FaveEditTagBuilder builder.

https://vk.com/dev/fave.editTag

func NewFaveEditTagBuilder

func NewFaveEditTagBuilder() *FaveEditTagBuilder

NewFaveEditTagBuilder func.

func (*FaveEditTagBuilder) ID

ID parameter.

func (*FaveEditTagBuilder) Name

Name parameter.

type FaveGetBuilder

type FaveGetBuilder struct {
	api.Params
}

FaveGetBuilder builder.

https://vk.com/dev/fave.get

func NewFaveGetBuilder

func NewFaveGetBuilder() *FaveGetBuilder

NewFaveGetBuilder func.

func (*FaveGetBuilder) Count

func (b *FaveGetBuilder) Count(v int) *FaveGetBuilder

Count number of users to return.

func (*FaveGetBuilder) Extended

func (b *FaveGetBuilder) Extended(v bool) *FaveGetBuilder

Extended '1' — to return additional 'wall', 'profiles', and 'groups' fields. By default: '0'.

func (*FaveGetBuilder) Fields

func (b *FaveGetBuilder) Fields(v string) *FaveGetBuilder

Fields parameter.

func (*FaveGetBuilder) IsFromSnackbar

func (b *FaveGetBuilder) IsFromSnackbar(v bool) *FaveGetBuilder

IsFromSnackbar parameter.

func (*FaveGetBuilder) ItemType

func (b *FaveGetBuilder) ItemType(v string) *FaveGetBuilder

ItemType parameter.

func (*FaveGetBuilder) Offset

func (b *FaveGetBuilder) Offset(v int) *FaveGetBuilder

Offset needed to return a specific subset of users.

func (*FaveGetBuilder) TagID

func (b *FaveGetBuilder) TagID(v int) *FaveGetBuilder

TagID parameter.

type FaveGetPagesBuilder

type FaveGetPagesBuilder struct {
	api.Params
}

FaveGetPagesBuilder builder.

https://vk.com/dev/fave.getPages

func NewFaveGetPagesBuilder

func NewFaveGetPagesBuilder() *FaveGetPagesBuilder

NewFaveGetPagesBuilder func.

func (*FaveGetPagesBuilder) Count

Count parameter.

func (*FaveGetPagesBuilder) Fields

Fields parameter.

func (*FaveGetPagesBuilder) Offset

Offset parameter.

func (*FaveGetPagesBuilder) TagID

TagID parameter.

func (*FaveGetPagesBuilder) Type

Type parameter.

type FaveRemoveArticleBuilder

type FaveRemoveArticleBuilder struct {
	api.Params
}

FaveRemoveArticleBuilder builder.

https://vk.com/dev/fave.removeArticle

func NewFaveRemoveArticleBuilder

func NewFaveRemoveArticleBuilder() *FaveRemoveArticleBuilder

NewFaveRemoveArticleBuilder func.

func (*FaveRemoveArticleBuilder) ArticleID

ArticleID parameter.

func (*FaveRemoveArticleBuilder) OwnerID

OwnerID parameter.

type FaveRemoveLinkBuilder

type FaveRemoveLinkBuilder struct {
	api.Params
}

FaveRemoveLinkBuilder builder.

Removes link from the user's faves.

https://vk.com/dev/fave.removeLink

func NewFaveRemoveLinkBuilder

func NewFaveRemoveLinkBuilder() *FaveRemoveLinkBuilder

NewFaveRemoveLinkBuilder func.

Link URL.

func (*FaveRemoveLinkBuilder) LinkID

LinkID parameter (can be obtained by [vk.com/dev/faves.getLinks|faves.getLinks] method).

type FaveRemovePageBuilder

type FaveRemovePageBuilder struct {
	api.Params
}

FaveRemovePageBuilder builder.

https://vk.com/dev/fave.removePage

func NewFaveRemovePageBuilder

func NewFaveRemovePageBuilder() *FaveRemovePageBuilder

NewFaveRemovePageBuilder func.

func (*FaveRemovePageBuilder) GroupID

GroupID parameter.

func (*FaveRemovePageBuilder) UserID

UserID parameter.

type FaveRemovePostBuilder

type FaveRemovePostBuilder struct {
	api.Params
}

FaveRemovePostBuilder builder.

https://vk.com/dev/fave.removePost

func NewFaveRemovePostBuilder

func NewFaveRemovePostBuilder() *FaveRemovePostBuilder

NewFaveRemovePostBuilder func.

func (*FaveRemovePostBuilder) ID

ID parameter.

func (*FaveRemovePostBuilder) OwnerID

OwnerID parameter.

type FaveRemoveProductBuilder

type FaveRemoveProductBuilder struct {
	api.Params
}

FaveRemoveProductBuilder builder.

https://vk.com/dev/fave.removeProduct

func NewFaveRemoveProductBuilder

func NewFaveRemoveProductBuilder() *FaveRemoveProductBuilder

NewFaveRemoveProductBuilder func.

func (*FaveRemoveProductBuilder) ID

ID parameter.

func (*FaveRemoveProductBuilder) OwnerID

OwnerID parameter.

type FaveRemoveTagBuilder

type FaveRemoveTagBuilder struct {
	api.Params
}

FaveRemoveTagBuilder builder.

https://vk.com/dev/fave.removeTag

func NewFaveRemoveTagBuilder

func NewFaveRemoveTagBuilder() *FaveRemoveTagBuilder

NewFaveRemoveTagBuilder func.

func (*FaveRemoveTagBuilder) ID

ID parameter.

type FaveReorderTagsBuilder

type FaveReorderTagsBuilder struct {
	api.Params
}

FaveReorderTagsBuilder builder.

https://vk.com/dev/fave.reorderTags

func NewFaveReorderTagsBuilder

func NewFaveReorderTagsBuilder() *FaveReorderTagsBuilder

NewFaveReorderTagsBuilder func.

func (*FaveReorderTagsBuilder) IDs

IDs parameter.

type FaveSetPageTagsBuilder

type FaveSetPageTagsBuilder struct {
	api.Params
}

FaveSetPageTagsBuilder builder.

https://vk.com/dev/fave.setPageTags

func NewFaveSetPageTagsBuilder

func NewFaveSetPageTagsBuilder() *FaveSetPageTagsBuilder

NewFaveSetPageTagsBuilder func.

func (*FaveSetPageTagsBuilder) GroupID

GroupID parameter.

func (*FaveSetPageTagsBuilder) TagIDs

TagIDs parameter.

func (*FaveSetPageTagsBuilder) UserID

UserID parameter.

type FaveSetTagsBuilder

type FaveSetTagsBuilder struct {
	api.Params
}

FaveSetTagsBuilder builder.

https://vk.com/dev/fave.setTags

func NewFaveSetTagsBuilder

func NewFaveSetTagsBuilder() *FaveSetTagsBuilder

NewFaveSetTagsBuilder func.

func (*FaveSetTagsBuilder) ItemID

ItemID parameter.

func (*FaveSetTagsBuilder) ItemOwnerID

func (b *FaveSetTagsBuilder) ItemOwnerID(v int) *FaveSetTagsBuilder

ItemOwnerID parameter.

func (*FaveSetTagsBuilder) ItemType

ItemType parameter.

func (*FaveSetTagsBuilder) LinkID

LinkID parameter.

func (*FaveSetTagsBuilder) LinkURL

LinkURL parameter.

func (*FaveSetTagsBuilder) TagIDs

func (b *FaveSetTagsBuilder) TagIDs(v []int) *FaveSetTagsBuilder

TagIDs parameter.

type FaveTrackPageInteractionBuilder

type FaveTrackPageInteractionBuilder struct {
	api.Params
}

FaveTrackPageInteractionBuilder builder.

https://vk.com/dev/fave.trackPageInteraction

func NewFaveTrackPageInteractionBuilder

func NewFaveTrackPageInteractionBuilder() *FaveTrackPageInteractionBuilder

NewFaveTrackPageInteractionBuilder func.

func (*FaveTrackPageInteractionBuilder) GroupID

GroupID parameter.

func (*FaveTrackPageInteractionBuilder) UserID

UserID parameter.

type FriendsAddBuilder

type FriendsAddBuilder struct {
	api.Params
}

FriendsAddBuilder builder.

Approves or creates a friend request.

https://vk.com/dev/friends.add

func NewFriendsAddBuilder

func NewFriendsAddBuilder() *FriendsAddBuilder

NewFriendsAddBuilder func.

func (*FriendsAddBuilder) Follow

Follow '1' to pass an incoming request to followers list.

func (*FriendsAddBuilder) Text

Text of the message (up to 500 characters) for the friend request, if any.

func (*FriendsAddBuilder) UserID

func (b *FriendsAddBuilder) UserID(v int) *FriendsAddBuilder

UserID ID of the user whose friend request will be approved or to whom a friend request will be sent.

type FriendsAddListBuilder

type FriendsAddListBuilder struct {
	api.Params
}

FriendsAddListBuilder builder.

Creates a new friend list for the current user.

https://vk.com/dev/friends.addList

func NewFriendsAddListBuilder

func NewFriendsAddListBuilder() *FriendsAddListBuilder

NewFriendsAddListBuilder func.

func (*FriendsAddListBuilder) Name

Name of the friend list.

func (*FriendsAddListBuilder) UserIDs

UserIDs IDs of users to be added to the friend list.

type FriendsAreFriendsBuilder

type FriendsAreFriendsBuilder struct {
	api.Params
}

FriendsAreFriendsBuilder builder.

Checks the current user's friendship status with other specified users.

https://vk.com/dev/friends.areFriends

func NewFriendsAreFriendsBuilder

func NewFriendsAreFriendsBuilder() *FriendsAreFriendsBuilder

NewFriendsAreFriendsBuilder func.

func (*FriendsAreFriendsBuilder) NeedSign

NeedSign parameter.

* 1 — to return 'sign' field. 'sign' is md5("{id}_{user_id}_{friends_status}_{application_secret}"), where id is current user ID. This field allows to check that data has not been modified by the client.

By default: '0'.

func (*FriendsAreFriendsBuilder) UserIDs

UserIDs IDs of the users whose friendship status to check.

type FriendsDeleteBuilder

type FriendsDeleteBuilder struct {
	api.Params
}

FriendsDeleteBuilder builder.

Declines a friend request or deletes a user from the current user's friend list.

https://vk.com/dev/friends.delete

func NewFriendsDeleteBuilder

func NewFriendsDeleteBuilder() *FriendsDeleteBuilder

NewFriendsDeleteBuilder func.

func (*FriendsDeleteBuilder) UserID

UserID ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.

type FriendsDeleteListBuilder

type FriendsDeleteListBuilder struct {
	api.Params
}

FriendsDeleteListBuilder builder.

Deletes a friend list of the current user.

https://vk.com/dev/friends.deleteList

func NewFriendsDeleteListBuilder

func NewFriendsDeleteListBuilder() *FriendsDeleteListBuilder

NewFriendsDeleteListBuilder func.

func (*FriendsDeleteListBuilder) ListID

ListID ID of the friend list to delete.

type FriendsEditBuilder

type FriendsEditBuilder struct {
	api.Params
}

FriendsEditBuilder builder.

Edits the friend lists of the selected user.

https://vk.com/dev/friends.edit

func NewFriendsEditBuilder

func NewFriendsEditBuilder() *FriendsEditBuilder

NewFriendsEditBuilder func.

func (*FriendsEditBuilder) ListIDs

func (b *FriendsEditBuilder) ListIDs(v []int) *FriendsEditBuilder

ListIDs IDs of the friend lists to which to add the user.

func (*FriendsEditBuilder) UserID

UserID ID of the user whose friend list is to be edited.

type FriendsEditListBuilder

type FriendsEditListBuilder struct {
	api.Params
}

FriendsEditListBuilder builder.

Edits a friend list of the current user.

https://vk.com/dev/friends.editList

func NewFriendsEditListBuilder

func NewFriendsEditListBuilder() *FriendsEditListBuilder

NewFriendsEditListBuilder func.

func (*FriendsEditListBuilder) AddUserIDs

AddUserIDs (Applies if 'user_ids' parameter is not set.), User IDs to add to the friend list.

func (*FriendsEditListBuilder) DeleteUserIDs

func (b *FriendsEditListBuilder) DeleteUserIDs(v []int) *FriendsEditListBuilder

DeleteUserIDs (Applies if 'user_ids' parameter is not set.), User IDs to delete from the friend list.

func (*FriendsEditListBuilder) ListID

ListID friend list ID.

func (*FriendsEditListBuilder) Name

Name of the friend list.

func (*FriendsEditListBuilder) UserIDs

UserIDs IDs of users in the friend list.

type FriendsGetBuilder

type FriendsGetBuilder struct {
	api.Params
}

FriendsGetBuilder builder.

Returns a list of user IDs or detailed information about a user's friends.

https://vk.com/dev/friends.get

func NewFriendsGetBuilder

func NewFriendsGetBuilder() *FriendsGetBuilder

NewFriendsGetBuilder func.

func (*FriendsGetBuilder) Count

Count number of friends to return.

func (*FriendsGetBuilder) Fields

func (b *FriendsGetBuilder) Fields(v []string) *FriendsGetBuilder

Fields profile fields to return. Sample values: 'uid', 'first_name', 'last_name', 'nickname', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'domain', 'has_mobile', 'rate', 'contacts', 'education'.

func (*FriendsGetBuilder) ListID

func (b *FriendsGetBuilder) ListID(v int) *FriendsGetBuilder

ListID ID of the friend list returned by the [vk.com/dev/friends.getLists|friends.getLists] method to be used as the source. This parameter is taken into account only when the uid parameter is set to the current user ID. This parameter is available only for [vk.com/dev/standalone|desktop applications].

func (*FriendsGetBuilder) NameCase

func (b *FriendsGetBuilder) NameCase(v string) *FriendsGetBuilder

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

func (*FriendsGetBuilder) Offset

func (b *FriendsGetBuilder) Offset(v int) *FriendsGetBuilder

Offset needed to return a specific subset of friends.

func (*FriendsGetBuilder) Order

Order sort order:

* name — by name (enabled only if the 'fields' parameter is used);

* hints — by rating, similar to how friends are sorted in My friends section. This parameter is available only for [vk.com/dev/standalone|desktop applications].

func (*FriendsGetBuilder) Ref

Ref parameter.

func (*FriendsGetBuilder) UserID

func (b *FriendsGetBuilder) UserID(v int) *FriendsGetBuilder

UserID parameter. By default, the current user ID.

type FriendsGetByPhonesBuilder

type FriendsGetByPhonesBuilder struct {
	api.Params
}

FriendsGetByPhonesBuilder builder.

Returns a list of the current user's friends whose phone numbers, validated or specified in a profile, are in a given list.

https://vk.com/dev/friends.getByPhones

func NewFriendsGetByPhonesBuilder

func NewFriendsGetByPhonesBuilder() *FriendsGetByPhonesBuilder

NewFriendsGetByPhonesBuilder func.

func (*FriendsGetByPhonesBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online, counters'.

func (*FriendsGetByPhonesBuilder) Phones

Phones list of phone numbers in MSISDN format (maximum 1000). Example: "+79219876543,+79111234567".

type FriendsGetListsBuilder

type FriendsGetListsBuilder struct {
	api.Params
}

FriendsGetListsBuilder builder.

Returns a list of the user's friend lists.

https://vk.com/dev/friends.getLists

func NewFriendsGetListsBuilder

func NewFriendsGetListsBuilder() *FriendsGetListsBuilder

NewFriendsGetListsBuilder func.

func (*FriendsGetListsBuilder) ReturnSystem

ReturnSystem parameter.

* 1 — to return system friend lists. By default: '0'.

func (*FriendsGetListsBuilder) UserID

UserID parameter.

type FriendsGetMutualBuilder

type FriendsGetMutualBuilder struct {
	api.Params
}

FriendsGetMutualBuilder builder.

Returns a list of user IDs of the mutual friends of two users.

https://vk.com/dev/friends.getMutual

func NewFriendsGetMutualBuilder

func NewFriendsGetMutualBuilder() *FriendsGetMutualBuilder

NewFriendsGetMutualBuilder func.

func (*FriendsGetMutualBuilder) Count

Count number of mutual friends to return.

func (*FriendsGetMutualBuilder) Offset

Offset needed to return a specific subset of mutual friends.

func (*FriendsGetMutualBuilder) Order

Order sort order: 'random' — random order.

func (*FriendsGetMutualBuilder) SourceUID

SourceUID ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.

func (*FriendsGetMutualBuilder) TargetUID

TargetUID ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'.

func (*FriendsGetMutualBuilder) TargetUids

TargetUids IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.

type FriendsGetOnlineBuilder

type FriendsGetOnlineBuilder struct {
	api.Params
}

FriendsGetOnlineBuilder builder.

Returns a list of user IDs of a user's friends who are online.

https://vk.com/dev/friends.getOnline

func NewFriendsGetOnlineBuilder

func NewFriendsGetOnlineBuilder() *FriendsGetOnlineBuilder

NewFriendsGetOnlineBuilder func.

func (*FriendsGetOnlineBuilder) Count

Count number of friends to return.

func (*FriendsGetOnlineBuilder) ListID

ListID friend list ID. If this parameter is not set, information about all online friends is returned.

func (*FriendsGetOnlineBuilder) Offset

Offset needed to return a specific subset of friends.

func (*FriendsGetOnlineBuilder) OnlineMobile

OnlineMobile parameter.

* 1 — to return an additional 'online_mobile' field, '0' — (default).

func (*FriendsGetOnlineBuilder) Order

Order sort order: 'random' — random order.

func (*FriendsGetOnlineBuilder) UserID

UserID parameter.

type FriendsGetRecentBuilder

type FriendsGetRecentBuilder struct {
	api.Params
}

FriendsGetRecentBuilder builder.

Returns a list of user IDs of the current user's recently added friends.

https://vk.com/dev/friends.getRecent

func NewFriendsGetRecentBuilder

func NewFriendsGetRecentBuilder() *FriendsGetRecentBuilder

NewFriendsGetRecentBuilder func.

func (*FriendsGetRecentBuilder) Count

Count number of recently added friends to return.

type FriendsGetRequestsBuilder

type FriendsGetRequestsBuilder struct {
	api.Params
}

FriendsGetRequestsBuilder builder.

Returns information about the current user's incoming and outgoing friend requests.

https://vk.com/dev/friends.getRequests

func NewFriendsGetRequestsBuilder

func NewFriendsGetRequestsBuilder() *FriendsGetRequestsBuilder

NewFriendsGetRequestsBuilder func.

func (*FriendsGetRequestsBuilder) Count

Count number of friend requests to return (default 100, maximum 1000).

func (*FriendsGetRequestsBuilder) Extended

Extended parameter.

* 1 — to return response messages from users who have sent a friend request or, if 'suggested' is set to '1', to return a list of suggested friends.

func (*FriendsGetRequestsBuilder) Fields

Fields parameter.

func (*FriendsGetRequestsBuilder) NeedMutual

NeedMutual parameter.

* 1 — to return a list of mutual friends (up to 20), if any.

func (*FriendsGetRequestsBuilder) NeedViewed

NeedViewed parameter.

func (*FriendsGetRequestsBuilder) Offset

Offset needed to return a specific subset of friend requests.

func (*FriendsGetRequestsBuilder) Out

Out parameter.

* 1 — to return outgoing requests, '0' — to return incoming requests (default).

func (*FriendsGetRequestsBuilder) Ref

Ref parameter.

func (*FriendsGetRequestsBuilder) Sort

Sort order:

* 1 — by number of mutual friends, '0' — by date.

func (*FriendsGetRequestsBuilder) Suggested

Suggested parameter.

* 1 — to return a list of suggested friends, '0' — to return friend requests (default).

type FriendsGetSuggestionsBuilder

type FriendsGetSuggestionsBuilder struct {
	api.Params
}

FriendsGetSuggestionsBuilder builder.

Returns a list of profiles of users whom the current user may know.

https://vk.com/dev/friends.getSuggestions

func NewFriendsGetSuggestionsBuilder

func NewFriendsGetSuggestionsBuilder() *FriendsGetSuggestionsBuilder

NewFriendsGetSuggestionsBuilder func.

func (*FriendsGetSuggestionsBuilder) Count

Count number of suggestions to return.

func (*FriendsGetSuggestionsBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.

func (*FriendsGetSuggestionsBuilder) Filter

Filter Types of potential friends to return:

* mutual — users with many mutual friends;

* contacts — users found with the [vk.com/dev/account.importContacts|account.importContacts] method;

* mutual_contacts — users who imported the same contacts as the current user with the [vk.com/dev/account.importContacts|account.importContacts] method.

func (*FriendsGetSuggestionsBuilder) NameCase

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

func (*FriendsGetSuggestionsBuilder) Offset

Offset needed to return a specific subset of suggestions.

type FriendsSearchBuilder

type FriendsSearchBuilder struct {
	api.Params
}

FriendsSearchBuilder builder.

Returns a list of friends matching the search criteria.

https://vk.com/dev/friends.search

func NewFriendsSearchBuilder

func NewFriendsSearchBuilder() *FriendsSearchBuilder

NewFriendsSearchBuilder func.

func (*FriendsSearchBuilder) Count

Count number of friends to return.

func (*FriendsSearchBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.

func (*FriendsSearchBuilder) NameCase

NameCase case for declension of user name and surname:

* nom — nominative (default),

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

func (*FriendsSearchBuilder) Offset

Offset needed to return a specific subset of friends.

func (*FriendsSearchBuilder) Q

Q search query string (e.g., 'Vasya Babich').

func (*FriendsSearchBuilder) UserID

UserID parameter.

type GiftsGetBuilder

type GiftsGetBuilder struct {
	api.Params
}

GiftsGetBuilder builder.

Returns a list of user gifts.

https://vk.com/dev/gifts.get

func NewGiftsGetBuilder

func NewGiftsGetBuilder() *GiftsGetBuilder

NewGiftsGetBuilder func.

func (*GiftsGetBuilder) Count

func (b *GiftsGetBuilder) Count(v int) *GiftsGetBuilder

Count number of gifts to return.

func (*GiftsGetBuilder) Offset

func (b *GiftsGetBuilder) Offset(v int) *GiftsGetBuilder

Offset needed to return a specific subset of results.

func (*GiftsGetBuilder) UserID

func (b *GiftsGetBuilder) UserID(v int) *GiftsGetBuilder

UserID parameter.

type GroupMarketState

type GroupMarketState string

GroupMarketState market state.

const (
	GroupMarketNone     GroupMarketState = "none"
	GroupMarketBasic    GroupMarketState = "basic"
	GroupMarketAdvanced GroupMarketState = "advanced"
)

Possible values.

type GroupsAddAddressBuilder

type GroupsAddAddressBuilder struct {
	api.Params
}

GroupsAddAddressBuilder builder.

https://vk.com/dev/groups.addAddress

func NewGroupsAddAddressBuilder

func NewGroupsAddAddressBuilder() *GroupsAddAddressBuilder

NewGroupsAddAddressBuilder func.

func (*GroupsAddAddressBuilder) AdditionalAddress

func (b *GroupsAddAddressBuilder) AdditionalAddress(v string) *GroupsAddAddressBuilder

AdditionalAddress parameter.

func (*GroupsAddAddressBuilder) Address

Address parameter.

func (*GroupsAddAddressBuilder) CityID

CityID parameter.

func (*GroupsAddAddressBuilder) CountryID

CountryID parameter.

func (*GroupsAddAddressBuilder) GroupID

GroupID parameter.

func (*GroupsAddAddressBuilder) IsMainAddress

IsMainAddress parameter.

func (*GroupsAddAddressBuilder) Latitude

Latitude parameter.

func (*GroupsAddAddressBuilder) Longitude

Longitude parameter.

func (*GroupsAddAddressBuilder) MetroID

MetroID parameter.

func (*GroupsAddAddressBuilder) Phone

Phone parameter.

func (*GroupsAddAddressBuilder) Timetable

Timetable parameter.

func (*GroupsAddAddressBuilder) Title

Title parameter.

func (*GroupsAddAddressBuilder) WorkInfoStatus

WorkInfoStatus parameter.

type GroupsAddCallbackServerBuilder

type GroupsAddCallbackServerBuilder struct {
	api.Params
}

GroupsAddCallbackServerBuilder builder.

https://vk.com/dev/groups.addCallbackServer

func NewGroupsAddCallbackServerBuilder

func NewGroupsAddCallbackServerBuilder() *GroupsAddCallbackServerBuilder

NewGroupsAddCallbackServerBuilder func.

func (*GroupsAddCallbackServerBuilder) GroupID

GroupID parameter.

func (*GroupsAddCallbackServerBuilder) SecretKey

SecretKey parameter.

func (*GroupsAddCallbackServerBuilder) Title

Title parameter.

func (*GroupsAddCallbackServerBuilder) URL

URL parameter.

type GroupsAddLinkBuilder

type GroupsAddLinkBuilder struct {
	api.Params
}

GroupsAddLinkBuilder builder.

Allows to add a link to the community.

https://vk.com/dev/groups.addLink

func NewGroupsAddLinkBuilder

func NewGroupsAddLinkBuilder() *GroupsAddLinkBuilder

NewGroupsAddLinkBuilder func.

func (*GroupsAddLinkBuilder) GroupID

GroupID community ID.

Link link URL.

func (*GroupsAddLinkBuilder) Text

Text description text for the link.

type GroupsApproveRequestBuilder

type GroupsApproveRequestBuilder struct {
	api.Params
}

GroupsApproveRequestBuilder builder.

Allows to approve join request to the community.

https://vk.com/dev/groups.approveRequest

func NewGroupsApproveRequestBuilder

func NewGroupsApproveRequestBuilder() *GroupsApproveRequestBuilder

NewGroupsApproveRequestBuilder func.

func (*GroupsApproveRequestBuilder) GroupID

GroupID community ID.

func (*GroupsApproveRequestBuilder) UserID

UserID parameter.

type GroupsBanBuilder

type GroupsBanBuilder struct {
	api.Params
}

GroupsBanBuilder builder.

https://vk.com/dev/groups.ban

func NewGroupsBanBuilder

func NewGroupsBanBuilder() *GroupsBanBuilder

NewGroupsBanBuilder func.

func (*GroupsBanBuilder) Comment

func (b *GroupsBanBuilder) Comment(v string) *GroupsBanBuilder

Comment parameter.

func (*GroupsBanBuilder) CommentVisible

func (b *GroupsBanBuilder) CommentVisible(v bool) *GroupsBanBuilder

CommentVisible parameter.

func (*GroupsBanBuilder) EndDate

func (b *GroupsBanBuilder) EndDate(v int) *GroupsBanBuilder

EndDate parameter.

func (*GroupsBanBuilder) GroupID

func (b *GroupsBanBuilder) GroupID(v int) *GroupsBanBuilder

GroupID parameter.

func (*GroupsBanBuilder) OwnerID

func (b *GroupsBanBuilder) OwnerID(v int) *GroupsBanBuilder

OwnerID parameter.

func (*GroupsBanBuilder) Reason

func (b *GroupsBanBuilder) Reason(v int) *GroupsBanBuilder

Reason parameter.

type GroupsCreateBuilder

type GroupsCreateBuilder struct {
	api.Params
}

GroupsCreateBuilder builder.

Creates a new community.

https://vk.com/dev/groups.create

func NewGroupsCreateBuilder

func NewGroupsCreateBuilder() *GroupsCreateBuilder

NewGroupsCreateBuilder func.

func (*GroupsCreateBuilder) Description

func (b *GroupsCreateBuilder) Description(v string) *GroupsCreateBuilder

Description community (ignored for 'type' = 'public').

func (*GroupsCreateBuilder) PublicCategory

func (b *GroupsCreateBuilder) PublicCategory(v int) *GroupsCreateBuilder

PublicCategory category ID (for 'type' = 'public' only).

func (*GroupsCreateBuilder) PublicSubcategory

func (b *GroupsCreateBuilder) PublicSubcategory(v int) *GroupsCreateBuilder

PublicSubcategory subcategory ID.

func (*GroupsCreateBuilder) Subtype

Subtype public page subtype. Possible values:

* 1 – place or small business;

* 2 – company, organization or website;

* 3 – famous person or group of people;

* 4 – product or work of art.

func (*GroupsCreateBuilder) Title

Title community.

func (*GroupsCreateBuilder) Type

Type community. Possible values:

* group – group;

* event' – event;

* public' – public page.

type GroupsDeleteCallbackServerBuilder

type GroupsDeleteCallbackServerBuilder struct {
	api.Params
}

GroupsDeleteCallbackServerBuilder builder.

https://vk.com/dev/groups.deleteCallbackServer

func NewGroupsDeleteCallbackServerBuilder

func NewGroupsDeleteCallbackServerBuilder() *GroupsDeleteCallbackServerBuilder

NewGroupsDeleteCallbackServerBuilder func.

func (*GroupsDeleteCallbackServerBuilder) GroupID

GroupID parameter.

func (*GroupsDeleteCallbackServerBuilder) ServerID

ServerID parameter.

type GroupsDeleteLinkBuilder

type GroupsDeleteLinkBuilder struct {
	api.Params
}

GroupsDeleteLinkBuilder builder.

Allows to delete a link from the community.

https://vk.com/dev/groups.deleteLink

func NewGroupsDeleteLinkBuilder

func NewGroupsDeleteLinkBuilder() *GroupsDeleteLinkBuilder

NewGroupsDeleteLinkBuilder func.

func (*GroupsDeleteLinkBuilder) GroupID

GroupID community ID.

func (*GroupsDeleteLinkBuilder) LinkID

LinkID parameter.

type GroupsDisableOnlineBuilder

type GroupsDisableOnlineBuilder struct {
	api.Params
}

GroupsDisableOnlineBuilder builder.

https://vk.com/dev/groups.disableOnline

func NewGroupsDisableOnlineBuilder

func NewGroupsDisableOnlineBuilder() *GroupsDisableOnlineBuilder

NewGroupsDisableOnlineBuilder func.

func (*GroupsDisableOnlineBuilder) GroupID

GroupID parameter.

type GroupsEditAddressBuilder

type GroupsEditAddressBuilder struct {
	api.Params
}

GroupsEditAddressBuilder builder.

https://vk.com/dev/groups.editAddress

func NewGroupsEditAddressBuilder

func NewGroupsEditAddressBuilder() *GroupsEditAddressBuilder

NewGroupsEditAddressBuilder func.

func (*GroupsEditAddressBuilder) AdditionalAddress

func (b *GroupsEditAddressBuilder) AdditionalAddress(v string) *GroupsEditAddressBuilder

AdditionalAddress parameter.

func (*GroupsEditAddressBuilder) Address

Address parameter.

func (*GroupsEditAddressBuilder) AddressID

AddressID parameter.

func (*GroupsEditAddressBuilder) CityID

CityID parameter.

func (*GroupsEditAddressBuilder) CountryID

CountryID parameter.

func (*GroupsEditAddressBuilder) GroupID

GroupID parameter.

func (*GroupsEditAddressBuilder) IsMainAddress

IsMainAddress parameter.

func (*GroupsEditAddressBuilder) Latitude

Latitude parameter.

func (*GroupsEditAddressBuilder) Longitude

Longitude parameter.

func (*GroupsEditAddressBuilder) MetroID

MetroID parameter.

func (*GroupsEditAddressBuilder) Phone

Phone parameter.

func (*GroupsEditAddressBuilder) Timetable

Timetable parameter.

func (*GroupsEditAddressBuilder) Title

Title parameter.

func (*GroupsEditAddressBuilder) WorkInfoStatus

WorkInfoStatus parameter.

type GroupsEditBuilder

type GroupsEditBuilder struct {
	api.Params
}

GroupsEditBuilder builder.

Edits a community.

https://vk.com/dev/groups.edit

func NewGroupsEditBuilder

func NewGroupsEditBuilder() *GroupsEditBuilder

NewGroupsEditBuilder func.

func (*GroupsEditBuilder) Access

func (b *GroupsEditBuilder) Access(v int) *GroupsEditBuilder

Access community type. Possible values:

* 0 – open;

* 1 – closed;

* 2 – private.

func (*GroupsEditBuilder) Addresses

func (b *GroupsEditBuilder) Addresses(v bool) *GroupsEditBuilder

Addresses parameter.

func (*GroupsEditBuilder) AgeLimits

func (b *GroupsEditBuilder) AgeLimits(v int) *GroupsEditBuilder

AgeLimits community age limits. Possible values:

* 1 — no limits;

* 2 — 16+;

* 3 — 18+.

func (*GroupsEditBuilder) Articles

func (b *GroupsEditBuilder) Articles(v bool) *GroupsEditBuilder

Articles parameter.

func (*GroupsEditBuilder) Audio

Audio settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

func (*GroupsEditBuilder) City

City of the community.

func (*GroupsEditBuilder) Contacts

func (b *GroupsEditBuilder) Contacts(v bool) *GroupsEditBuilder

Contacts settings (for public pages only). Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) Country

func (b *GroupsEditBuilder) Country(v int) *GroupsEditBuilder

Country of the community.

func (*GroupsEditBuilder) Description

func (b *GroupsEditBuilder) Description(v string) *GroupsEditBuilder

Description community.

func (*GroupsEditBuilder) Docs

Docs settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

func (*GroupsEditBuilder) Email

Email organizer email (for events).

func (*GroupsEditBuilder) EventFinishDate

func (b *GroupsEditBuilder) EventFinishDate(v int) *GroupsEditBuilder

EventFinishDate event finish date in Unixtime format.

func (*GroupsEditBuilder) EventGroupID

func (b *GroupsEditBuilder) EventGroupID(v int) *GroupsEditBuilder

EventGroupID organizer community ID (for events only).

func (*GroupsEditBuilder) EventStartDate

func (b *GroupsEditBuilder) EventStartDate(v int) *GroupsEditBuilder

EventStartDate event start date in Unixtime format.

func (*GroupsEditBuilder) Events

Events settings (for public pages only). Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) GroupID

func (b *GroupsEditBuilder) GroupID(v int) *GroupsEditBuilder

GroupID community ID.

Links settings (for public pages only). Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) MainSection

func (b *GroupsEditBuilder) MainSection(v int) *GroupsEditBuilder

MainSection parameter.

func (*GroupsEditBuilder) Market

Market settings. Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) MarketCity

func (b *GroupsEditBuilder) MarketCity(v []int) *GroupsEditBuilder

MarketCity cities (if only one country is specified).

func (*GroupsEditBuilder) MarketComments

func (b *GroupsEditBuilder) MarketComments(v bool) *GroupsEditBuilder

MarketComments settings. Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) MarketContact

func (b *GroupsEditBuilder) MarketContact(v int) *GroupsEditBuilder

MarketContact seller contact for market. Set '0' for community messages.

func (*GroupsEditBuilder) MarketCountry

func (b *GroupsEditBuilder) MarketCountry(v []int) *GroupsEditBuilder

MarketCountry countries.

func (*GroupsEditBuilder) MarketCurrency

func (b *GroupsEditBuilder) MarketCurrency(v int) *GroupsEditBuilder

MarketCurrency settings. Possible values:

* 643 – Russian rubles,

* 980 – Ukrainian hryvnia,

* 398 – Kazakh tenge,

* 978 – Euro,

* 840 – US dollars.

func (*GroupsEditBuilder) MarketWiki

func (b *GroupsEditBuilder) MarketWiki(v int) *GroupsEditBuilder

MarketWiki ID of a wiki page with market description.

func (*GroupsEditBuilder) Messages

func (b *GroupsEditBuilder) Messages(v bool) *GroupsEditBuilder

Messages community messages. Possible values:

* 0 — disabled;

* 1 — enabled.

func (*GroupsEditBuilder) ObsceneFilter

func (b *GroupsEditBuilder) ObsceneFilter(v bool) *GroupsEditBuilder

ObsceneFilter obscene expressions filter in comments. Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) ObsceneStopwords

func (b *GroupsEditBuilder) ObsceneStopwords(v bool) *GroupsEditBuilder

ObsceneStopwords stopwords filter in comments. Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) ObsceneWords

func (b *GroupsEditBuilder) ObsceneWords(v []string) *GroupsEditBuilder

ObsceneWords keywords for stopwords filter.

func (*GroupsEditBuilder) Phone

Phone organizer phone number (for events).

func (*GroupsEditBuilder) Photos

func (b *GroupsEditBuilder) Photos(v int) *GroupsEditBuilder

Photos settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

func (*GroupsEditBuilder) Places

Places settings (for public pages only). Possible values:

* 0 – disabled;

* 1 – enabled.

func (*GroupsEditBuilder) PublicCategory

func (b *GroupsEditBuilder) PublicCategory(v int) *GroupsEditBuilder

PublicCategory public page category ID.

func (*GroupsEditBuilder) PublicDate

func (b *GroupsEditBuilder) PublicDate(v string) *GroupsEditBuilder

PublicDate founding date of a company or organization owning the community in "dd.mm.YYYY" format.

func (*GroupsEditBuilder) PublicSubcategory

func (b *GroupsEditBuilder) PublicSubcategory(v int) *GroupsEditBuilder

PublicSubcategory public page subcategory ID.

func (*GroupsEditBuilder) Rss

Rss RSS feed address for import (available only to communities with special permission. Contact vk.com/support to get it.

func (*GroupsEditBuilder) ScreenName

func (b *GroupsEditBuilder) ScreenName(v string) *GroupsEditBuilder

ScreenName community.

func (*GroupsEditBuilder) SecondarySection

func (b *GroupsEditBuilder) SecondarySection(v int) *GroupsEditBuilder

SecondarySection parameter.

func (*GroupsEditBuilder) Subject

Subject community subject. Possible values:

* 1 – auto/moto,

* 2 – activity holidays,

* 3 – business,

* 4 – pets,

* 5 – health,

* 6 – dating and communication,

* 7 – games,

* 8 – IT (computers and software),

* 9 – cinema,

* 10 – beauty and fashion,

* 11 – cooking,

* 12 – art and culture,

* 13 – literature,

* 14 – mobile services and internet,

* 15 – music,

* 16 – science and technology,

* 17 – real estate,

* 18 – news and media,

* 19 – security,

* 20 – education,

* 21 – home and renovations,

* 22 – politics,

* 23 – food,

* 24 – industry,

* 25 – travel,

* 26 – work,

* 27 – entertainment,

* 28 – religion,

* 29 – family,

* 30 – sports,

* 31 – insurance,

* 32 – television,

* 33 – goods and services,

* 34 – hobbies,

* 35 – finance,

* 36 – photo,

* 37 – esoterics,

* 38 – electronics and appliances,

* 39 – erotic,

* 40 – humor,

* 41 – society, humanities,

* 42 – design and graphics.

func (*GroupsEditBuilder) Title

Title community.

func (*GroupsEditBuilder) Topics

func (b *GroupsEditBuilder) Topics(v int) *GroupsEditBuilder

Topics settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

func (*GroupsEditBuilder) Video

Video settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

func (*GroupsEditBuilder) Wall

Wall settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (groups and events only);

* 3 – closed (groups and events only).

func (*GroupsEditBuilder) Website

Website that will be displayed in the community information field.

func (*GroupsEditBuilder) Wiki

Wiki pages settings. Possible values:

* 0 – disabled;

* 1 – open;

* 2 – limited (for groups and events only).

type GroupsEditCallbackServerBuilder

type GroupsEditCallbackServerBuilder struct {
	api.Params
}

GroupsEditCallbackServerBuilder builder.

https://vk.com/dev/groups.editCallbackServer

func NewGroupsEditCallbackServerBuilder

func NewGroupsEditCallbackServerBuilder() *GroupsEditCallbackServerBuilder

NewGroupsEditCallbackServerBuilder func.

func (*GroupsEditCallbackServerBuilder) GroupID

GroupID parameter.

func (*GroupsEditCallbackServerBuilder) SecretKey

SecretKey parameter.

func (*GroupsEditCallbackServerBuilder) ServerID

ServerID parameter.

func (*GroupsEditCallbackServerBuilder) Title

Title parameter.

func (*GroupsEditCallbackServerBuilder) URL

URL parameter.

type GroupsEditLinkBuilder

type GroupsEditLinkBuilder struct {
	api.Params
}

GroupsEditLinkBuilder builder.

Allows to edit a link in the community.

https://vk.com/dev/groups.editLink

func NewGroupsEditLinkBuilder

func NewGroupsEditLinkBuilder() *GroupsEditLinkBuilder

NewGroupsEditLinkBuilder func.

func (*GroupsEditLinkBuilder) GroupID

GroupID community ID.

func (*GroupsEditLinkBuilder) LinkID

LinkID parameter.

func (*GroupsEditLinkBuilder) Text

Text new description text for the link.

type GroupsEditManagerBuilder

type GroupsEditManagerBuilder struct {
	api.Params
}

GroupsEditManagerBuilder builder.

Allows to add, remove or edit the community manager.

https://vk.com/dev/groups.editManager

func NewGroupsEditManagerBuilder

func NewGroupsEditManagerBuilder() *GroupsEditManagerBuilder

NewGroupsEditManagerBuilder func.

func (*GroupsEditManagerBuilder) ContactEmail

ContactEmail parameter.

func (*GroupsEditManagerBuilder) ContactPhone

ContactPhone parameter.

func (*GroupsEditManagerBuilder) ContactPosition

ContactPosition position to show in Contacts block.

func (*GroupsEditManagerBuilder) GroupID

GroupID community ID.

func (*GroupsEditManagerBuilder) IsContact

IsContact '1' — to show the manager in Contacts block of the community.

func (*GroupsEditManagerBuilder) Role

Role manager role. Possible values:

* moderator;

* editor';

* administrator'.

func (*GroupsEditManagerBuilder) UserID

UserID parameter.

type GroupsEnableOnlineBuilder

type GroupsEnableOnlineBuilder struct {
	api.Params
}

GroupsEnableOnlineBuilder builder.

https://vk.com/dev/groups.enableOnline

func NewGroupsEnableOnlineBuilder

func NewGroupsEnableOnlineBuilder() *GroupsEnableOnlineBuilder

NewGroupsEnableOnlineBuilder func.

func (*GroupsEnableOnlineBuilder) GroupID

GroupID parameter.

type GroupsGetAddressesBuilder

type GroupsGetAddressesBuilder struct {
	api.Params
}

GroupsGetAddressesBuilder builder.

Returns a list of community addresses.

https://vk.com/dev/groups.getAddresses

func NewGroupsGetAddressesBuilder

func NewGroupsGetAddressesBuilder() *GroupsGetAddressesBuilder

NewGroupsGetAddressesBuilder func.

func (*GroupsGetAddressesBuilder) AddressIDs

AddressIDs parameter.

func (*GroupsGetAddressesBuilder) Count

Count number of community addresses to return.

func (*GroupsGetAddressesBuilder) Fields

Fields address fields.

func (*GroupsGetAddressesBuilder) GroupID

GroupID ID or screen name of the community.

func (*GroupsGetAddressesBuilder) Latitude

Latitude of the user geo position.

func (*GroupsGetAddressesBuilder) Longitude

Longitude of the user geo position.

func (*GroupsGetAddressesBuilder) Offset

Offset needed to return a specific subset of community addresses.

type GroupsGetBannedBuilder

type GroupsGetBannedBuilder struct {
	api.Params
}

GroupsGetBannedBuilder builder.

Returns a list of users on a community blacklist.

https://vk.com/dev/groups.getBanned

func NewGroupsGetBannedBuilder

func NewGroupsGetBannedBuilder() *GroupsGetBannedBuilder

NewGroupsGetBannedBuilder func.

func (*GroupsGetBannedBuilder) Count

Count number of users to return.

func (*GroupsGetBannedBuilder) Fields

Fields parameter.

func (*GroupsGetBannedBuilder) GroupID

GroupID community ID.

func (*GroupsGetBannedBuilder) Offset

Offset needed to return a specific subset of users.

func (*GroupsGetBannedBuilder) OwnerID

OwnerID parameter.

type GroupsGetBuilder

type GroupsGetBuilder struct {
	api.Params
}

GroupsGetBuilder builder.

Returns a list of the communities to which a user belongs.

https://vk.com/dev/groups.get

func NewGroupsGetBuilder

func NewGroupsGetBuilder() *GroupsGetBuilder

NewGroupsGetBuilder func.

func (*GroupsGetBuilder) Count

func (b *GroupsGetBuilder) Count(v int) *GroupsGetBuilder

Count number of communities to return.

func (*GroupsGetBuilder) Extended

func (b *GroupsGetBuilder) Extended(v bool) *GroupsGetBuilder

Extended parameter.

* 1 — to return complete information about a user's communities,

* 0 — to return a list of community IDs without any additional fields (default).

func (*GroupsGetBuilder) Fields

func (b *GroupsGetBuilder) Fields(v []string) *GroupsGetBuilder

Fields profile fields to return.

func (*GroupsGetBuilder) Filter

func (b *GroupsGetBuilder) Filter(v []string) *GroupsGetBuilder

Filter Types of communities to return:

'admin' — to return communities administered by the user,

'editor' — to return communities where the user is an administrator or editor,

'moder' — to return communities where the user is an administrator, editor, or moderator,

'groups' — to return only groups,

'publics' — to return only public pages,

'events' — to return only events.

func (*GroupsGetBuilder) Offset

func (b *GroupsGetBuilder) Offset(v int) *GroupsGetBuilder

Offset needed to return a specific subset of communities.

func (*GroupsGetBuilder) UserID

func (b *GroupsGetBuilder) UserID(v int) *GroupsGetBuilder

UserID parameter.

type GroupsGetByIDBuilder

type GroupsGetByIDBuilder struct {
	api.Params
}

GroupsGetByIDBuilder builder.

Returns information about communities by their IDs.

https://vk.com/dev/groups.getById

func NewGroupsGetByIDBuilder

func NewGroupsGetByIDBuilder() *GroupsGetByIDBuilder

NewGroupsGetByIDBuilder func.

func (*GroupsGetByIDBuilder) Fields

Fields group fields to return.

func (*GroupsGetByIDBuilder) GroupID

GroupID ID or screen name of the community.

func (*GroupsGetByIDBuilder) GroupIDs

GroupIDs IDs or screen names of communities.

type GroupsGetCallbackConfirmationCodeBuilder

type GroupsGetCallbackConfirmationCodeBuilder struct {
	api.Params
}

GroupsGetCallbackConfirmationCodeBuilder builder.

Returns Callback API confirmation code for the community.

https://vk.com/dev/groups.getCallbackConfirmationCode

func NewGroupsGetCallbackConfirmationCodeBuilder

func NewGroupsGetCallbackConfirmationCodeBuilder() *GroupsGetCallbackConfirmationCodeBuilder

NewGroupsGetCallbackConfirmationCodeBuilder func.

func (*GroupsGetCallbackConfirmationCodeBuilder) GroupID

GroupID community ID.

type GroupsGetCallbackServersBuilder

type GroupsGetCallbackServersBuilder struct {
	api.Params
}

GroupsGetCallbackServersBuilder builder.

https://vk.com/dev/groups.getCallbackServers

func NewGroupsGetCallbackServersBuilder

func NewGroupsGetCallbackServersBuilder() *GroupsGetCallbackServersBuilder

NewGroupsGetCallbackServersBuilder func.

func (*GroupsGetCallbackServersBuilder) GroupID

GroupID parameter.

func (*GroupsGetCallbackServersBuilder) ServerIDs

ServerIDs parameter.

type GroupsGetCallbackSettingsBuilder

type GroupsGetCallbackSettingsBuilder struct {
	api.Params
}

GroupsGetCallbackSettingsBuilder builder.

Returns [vk.com/dev/callback_api|Callback API] notifications settings.

https://vk.com/dev/groups.getCallbackSettings

func NewGroupsGetCallbackSettingsBuilder

func NewGroupsGetCallbackSettingsBuilder() *GroupsGetCallbackSettingsBuilder

NewGroupsGetCallbackSettingsBuilder func.

func (*GroupsGetCallbackSettingsBuilder) GroupID

GroupID community ID.

func (*GroupsGetCallbackSettingsBuilder) ServerID

ServerID parameter.

type GroupsGetCatalogBuilder

type GroupsGetCatalogBuilder struct {
	api.Params
}

GroupsGetCatalogBuilder builder.

Returns communities list for a catalog category.

https://vk.com/dev/groups.getCatalog

func NewGroupsGetCatalogBuilder

func NewGroupsGetCatalogBuilder() *GroupsGetCatalogBuilder

NewGroupsGetCatalogBuilder func.

func (*GroupsGetCatalogBuilder) CategoryID

CategoryID received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].

func (*GroupsGetCatalogBuilder) SubcategoryID

SubcategoryID received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].

type GroupsGetCatalogInfoBuilder

type GroupsGetCatalogInfoBuilder struct {
	api.Params
}

GroupsGetCatalogInfoBuilder builder.

Returns categories list for communities catalog.

https://vk.com/dev/groups.getCatalogInfo

func NewGroupsGetCatalogInfoBuilder

func NewGroupsGetCatalogInfoBuilder() *GroupsGetCatalogInfoBuilder

NewGroupsGetCatalogInfoBuilder func.

func (*GroupsGetCatalogInfoBuilder) Extended

Extended 1 – to return communities count and three communities for preview. By default: 0.

func (*GroupsGetCatalogInfoBuilder) Subcategories

Subcategories 1 – to return subcategories info. By default: 0.

type GroupsGetInvitedUsersBuilder

type GroupsGetInvitedUsersBuilder struct {
	api.Params
}

GroupsGetInvitedUsersBuilder builder.

Returns invited users list of a community.

https://vk.com/dev/groups.getInvitedUsers

func NewGroupsGetInvitedUsersBuilder

func NewGroupsGetInvitedUsersBuilder() *GroupsGetInvitedUsersBuilder

NewGroupsGetInvitedUsersBuilder func.

func (*GroupsGetInvitedUsersBuilder) Count

Count number of results to return.

func (*GroupsGetInvitedUsersBuilder) Fields

Fields list of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.

func (*GroupsGetInvitedUsersBuilder) GroupID

GroupID community ID to return invited users for.

func (*GroupsGetInvitedUsersBuilder) NameCase

NameCase case for declension of user name and surname. Possible values:

* nom — nominative (default);

* gn' — genitive;

* dt' — dative;

* ac' — accusative,

* ins — instrumental;

* al' — prepositional.

func (*GroupsGetInvitedUsersBuilder) Offset

Offset needed to return a specific subset of results.

type GroupsGetInvitesBuilder

type GroupsGetInvitesBuilder struct {
	api.Params
}

GroupsGetInvitesBuilder builder.

Returns a list of invitations to join communities and events.

https://vk.com/dev/groups.getInvites

func NewGroupsGetInvitesBuilder

func NewGroupsGetInvitesBuilder() *GroupsGetInvitesBuilder

NewGroupsGetInvitesBuilder func.

func (*GroupsGetInvitesBuilder) Count

Count number of invitations to return.

func (*GroupsGetInvitesBuilder) Extended

Extended '1' — to return additional [vk.com/dev/fields_groups|fields] for communities..

func (*GroupsGetInvitesBuilder) Offset

Offset needed to return a specific subset of invitations.

type GroupsGetLongPollServerBuilder

type GroupsGetLongPollServerBuilder struct {
	api.Params
}

GroupsGetLongPollServerBuilder builder.

Returns the data needed to query a Long Poll server for events.

https://vk.com/dev/groups.getLongPollServer

func NewGroupsGetLongPollServerBuilder

func NewGroupsGetLongPollServerBuilder() *GroupsGetLongPollServerBuilder

NewGroupsGetLongPollServerBuilder func.

func (*GroupsGetLongPollServerBuilder) GroupID

GroupID community ID.

type GroupsGetLongPollSettingsBuilder

type GroupsGetLongPollSettingsBuilder struct {
	api.Params
}

GroupsGetLongPollSettingsBuilder builder.

Returns Long Poll notification settings.

https://vk.com/dev/groups.getLongPollSettings

func NewGroupsGetLongPollSettingsBuilder

func NewGroupsGetLongPollSettingsBuilder() *GroupsGetLongPollSettingsBuilder

NewGroupsGetLongPollSettingsBuilder func.

func (*GroupsGetLongPollSettingsBuilder) GroupID

GroupID community ID.

type GroupsGetMembersBuilder

type GroupsGetMembersBuilder struct {
	api.Params
}

GroupsGetMembersBuilder builder.

Returns a list of community members.

https://vk.com/dev/groups.getMembers

func NewGroupsGetMembersBuilder

func NewGroupsGetMembersBuilder() *GroupsGetMembersBuilder

NewGroupsGetMembersBuilder func.

func (*GroupsGetMembersBuilder) Count

Count number of community members to return.

func (*GroupsGetMembersBuilder) Fields

Fields list of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.

func (*GroupsGetMembersBuilder) Filter

Filter *'friends' – only friends in this community will be returned;

* unsure' – only those who pressed 'I may attend' will be returned (if it's an event).

func (*GroupsGetMembersBuilder) GroupID

GroupID ID or screen name of the community.

func (*GroupsGetMembersBuilder) Offset

Offset needed to return a specific subset of community members.

func (*GroupsGetMembersBuilder) Sort

Sort order. Available values: 'id_asc', 'id_desc', 'time_asc', 'time_desc'. 'time_asc' and 'time_desc' are available only if the method is called by the group's 'moderator'.

type GroupsGetRequestsBuilder

type GroupsGetRequestsBuilder struct {
	api.Params
}

GroupsGetRequestsBuilder builder.

Returns a list of requests to the community.

https://vk.com/dev/groups.getRequests

func NewGroupsGetRequestsBuilder

func NewGroupsGetRequestsBuilder() *GroupsGetRequestsBuilder

NewGroupsGetRequestsBuilder func.

func (*GroupsGetRequestsBuilder) Count

Count number of results to return.

func (*GroupsGetRequestsBuilder) Fields

Fields profile fields to return.

func (*GroupsGetRequestsBuilder) GroupID

GroupID community ID.

func (*GroupsGetRequestsBuilder) Offset

Offset needed to return a specific subset of results.

type GroupsGetSettingsBuilder

type GroupsGetSettingsBuilder struct {
	api.Params
}

GroupsGetSettingsBuilder builder.

Returns community settings.

https://vk.com/dev/groups.getSettings

func NewGroupsGetSettingsBuilder

func NewGroupsGetSettingsBuilder() *GroupsGetSettingsBuilder

NewGroupsGetSettingsBuilder func.

func (*GroupsGetSettingsBuilder) GroupID

GroupID community ID.

type GroupsGetTagListBuilder

type GroupsGetTagListBuilder struct {
	api.Params
}

GroupsGetTagListBuilder builder.

https://vk.com/dev/groups.getTagList

func NewGroupsGetTagListBuilder

func NewGroupsGetTagListBuilder() *GroupsGetTagListBuilder

NewGroupsGetTagListBuilder func.

func (*GroupsGetTagListBuilder) GroupID

GroupID community ID.

type GroupsInviteBuilder

type GroupsInviteBuilder struct {
	api.Params
}

GroupsInviteBuilder builder.

Allows to invite friends to the community.

https://vk.com/dev/groups.invite

func NewGroupsInviteBuilder

func NewGroupsInviteBuilder() *GroupsInviteBuilder

NewGroupsInviteBuilder func.

func (*GroupsInviteBuilder) GroupID

GroupID community ID.

func (*GroupsInviteBuilder) UserID

UserID parameter.

type GroupsIsMemberBuilder

type GroupsIsMemberBuilder struct {
	api.Params
}

GroupsIsMemberBuilder builder.

Returns information specifying whether a user is a member of a community.

https://vk.com/dev/groups.isMember

func NewGroupsIsMemberBuilder

func NewGroupsIsMemberBuilder() *GroupsIsMemberBuilder

NewGroupsIsMemberBuilder func.

func (*GroupsIsMemberBuilder) Extended

Extended '1' — to return an extended response with additional fields. By default: '0'.

func (*GroupsIsMemberBuilder) GroupID

GroupID ID or screen name of the community.

func (*GroupsIsMemberBuilder) UserID

UserID parameter.

func (*GroupsIsMemberBuilder) UserIDs

UserIDs user IDs.

type GroupsJoinBuilder

type GroupsJoinBuilder struct {
	api.Params
}

GroupsJoinBuilder builder.

With this method you can join the group or public page, and also confirm your participation in an event.

https://vk.com/dev/groups.join

func NewGroupsJoinBuilder

func NewGroupsJoinBuilder() *GroupsJoinBuilder

NewGroupsJoinBuilder func.

func (*GroupsJoinBuilder) GroupID

func (b *GroupsJoinBuilder) GroupID(v int) *GroupsJoinBuilder

GroupID ID or screen name of the community.

func (*GroupsJoinBuilder) NotSure

NotSure optional parameter which is taken into account when 'gid' belongs to the event:

* 1 — Perhaps I will attend;

* 0 — I will be there for sure (default).

type GroupsLeaveBuilder

type GroupsLeaveBuilder struct {
	api.Params
}

GroupsLeaveBuilder builder.

With this method you can leave a group, public page, or event.

https://vk.com/dev/groups.leave

func NewGroupsLeaveBuilder

func NewGroupsLeaveBuilder() *GroupsLeaveBuilder

NewGroupsLeaveBuilder func.

func (*GroupsLeaveBuilder) GroupID

func (b *GroupsLeaveBuilder) GroupID(v int) *GroupsLeaveBuilder

GroupID ID or screen name of the community.

type GroupsRemoveUserBuilder

type GroupsRemoveUserBuilder struct {
	api.Params
}

GroupsRemoveUserBuilder builder.

Removes a user from the community.

https://vk.com/dev/groups.removeUser

func NewGroupsRemoveUserBuilder

func NewGroupsRemoveUserBuilder() *GroupsRemoveUserBuilder

NewGroupsRemoveUserBuilder func.

func (*GroupsRemoveUserBuilder) GroupID

GroupID community ID.

func (*GroupsRemoveUserBuilder) UserID

UserID parameter.

type GroupsReorderLinkBuilder

type GroupsReorderLinkBuilder struct {
	api.Params
}

GroupsReorderLinkBuilder builder.

Allows to reorder links in the community.

https://vk.com/dev/groups.reorderLink

func NewGroupsReorderLinkBuilder

func NewGroupsReorderLinkBuilder() *GroupsReorderLinkBuilder

NewGroupsReorderLinkBuilder func.

func (*GroupsReorderLinkBuilder) After

After ID of the link after which to place the link with 'link_id'.

func (*GroupsReorderLinkBuilder) GroupID

GroupID community ID.

func (*GroupsReorderLinkBuilder) LinkID

LinkID parameter.

type GroupsSearchBuilder

type GroupsSearchBuilder struct {
	api.Params
}

GroupsSearchBuilder builder.

Returns a list of communities matching the search criteria.

https://vk.com/dev/groups.search

func NewGroupsSearchBuilder

func NewGroupsSearchBuilder() *GroupsSearchBuilder

NewGroupsSearchBuilder func.

func (*GroupsSearchBuilder) CityID

CityID parameter. If this parameter is transmitted, country_id is ignored.

func (*GroupsSearchBuilder) Count

Count number of communities to return. Note that you can not receive more than first thousand of results, regardless of 'count' and 'offset' values.

func (*GroupsSearchBuilder) CountryID

func (b *GroupsSearchBuilder) CountryID(v int) *GroupsSearchBuilder

CountryID parameter.

func (*GroupsSearchBuilder) Future

Future '1' — to return only upcoming events. Works with the 'type' = 'event' only.

func (*GroupsSearchBuilder) Market

Market '1' — to return communities with enabled market only.

func (*GroupsSearchBuilder) Offset

Offset needed to return a specific subset of results.

func (*GroupsSearchBuilder) Q

Q search query string.

func (*GroupsSearchBuilder) Sort

Sort order. Possible values:

* 0 — default sorting (similar the full version of the site);

* 1 — by growth speed;

* 2— by the "day attendance/members number" ratio;

* 3 — by the "Likes number/members number" ratio;

* 4 — by the "comments number/members number" ratio;

* 5 — by the "boards entries number/members number" ratio.

func (*GroupsSearchBuilder) Type

Type community . Possible values: 'group, page, event.'.

type GroupsSetCallbackSettingsBuilder

type GroupsSetCallbackSettingsBuilder struct {
	api.Params
}

GroupsSetCallbackSettingsBuilder builder.

Allow to set notifications settings for group.

https://vk.com/dev/groups.setCallbackSettings

func NewGroupsSetCallbackSettingsBuilder

func NewGroupsSetCallbackSettingsBuilder() *GroupsSetCallbackSettingsBuilder

NewGroupsSetCallbackSettingsBuilder func.

func (*GroupsSetCallbackSettingsBuilder) APIVersion

APIVersion parameter.

func (*GroupsSetCallbackSettingsBuilder) AudioNew

AudioNew new audios notifications.

func (*GroupsSetCallbackSettingsBuilder) BoardPostDelete

BoardPostDelete board posts deleted notifications.

func (*GroupsSetCallbackSettingsBuilder) BoardPostEdit

BoardPostEdit board posts edited notifications.

func (*GroupsSetCallbackSettingsBuilder) BoardPostNew

BoardPostNew new board posts notifications.

func (*GroupsSetCallbackSettingsBuilder) BoardPostRestore

BoardPostRestore board posts restored notifications.

func (*GroupsSetCallbackSettingsBuilder) DonutMoneyWithdraw

DonutMoneyWithdraw event.

func (*GroupsSetCallbackSettingsBuilder) DonutMoneyWithdrawError

DonutMoneyWithdrawError event.

func (*GroupsSetCallbackSettingsBuilder) DonutSubscriptionCancelled

DonutSubscriptionCancelled event.

func (*GroupsSetCallbackSettingsBuilder) DonutSubscriptionCreate

DonutSubscriptionCreate event.

func (*GroupsSetCallbackSettingsBuilder) DonutSubscriptionExpired

DonutSubscriptionExpired event.

func (*GroupsSetCallbackSettingsBuilder) DonutSubscriptionPriceChanged

func (b *GroupsSetCallbackSettingsBuilder) DonutSubscriptionPriceChanged(v bool) *GroupsSetCallbackSettingsBuilder

DonutSubscriptionPriceChanged event.

func (*GroupsSetCallbackSettingsBuilder) DonutSubscriptionProlonged

DonutSubscriptionProlonged event.

func (*GroupsSetCallbackSettingsBuilder) GroupChangePhoto

GroupChangePhoto parameter.

func (*GroupsSetCallbackSettingsBuilder) GroupChangeSettings

GroupChangeSettings parameter.

func (*GroupsSetCallbackSettingsBuilder) GroupID

GroupID community ID.

func (*GroupsSetCallbackSettingsBuilder) GroupJoin

GroupJoin joined community notifications.

func (*GroupsSetCallbackSettingsBuilder) GroupLeave

GroupLeave left community notifications.

func (*GroupsSetCallbackSettingsBuilder) GroupOfficersEdit

GroupOfficersEdit parameter.

func (*GroupsSetCallbackSettingsBuilder) LeadFormsNew

LeadFormsNew new form in lead forms.

func (*GroupsSetCallbackSettingsBuilder) LikeAdd

LikeAdd new "I like" mark.

func (*GroupsSetCallbackSettingsBuilder) LikeRemove

LikeRemove remove "I like" mark.

func (*GroupsSetCallbackSettingsBuilder) MarketCommentDelete

MarketCommentDelete a market comment has been deleted.

func (*GroupsSetCallbackSettingsBuilder) MarketCommentEdit

MarketCommentEdit a market comment has been edited.

func (*GroupsSetCallbackSettingsBuilder) MarketCommentNew

MarketCommentNew new comment to market item notifications.

func (*GroupsSetCallbackSettingsBuilder) MarketCommentRestore

MarketCommentRestore a market comment has been restored.

func (*GroupsSetCallbackSettingsBuilder) MarketOrderEdit

MarketOrderEdit parameter.

func (*GroupsSetCallbackSettingsBuilder) MarketOrderNew

MarketOrderNew parameter.

func (*GroupsSetCallbackSettingsBuilder) MessageAllow

MessageAllow allowed messages notifications.

func (*GroupsSetCallbackSettingsBuilder) MessageDeny

MessageDeny denied messages notifications.

func (*GroupsSetCallbackSettingsBuilder) MessageEdit

MessageEdit parameter.

func (*GroupsSetCallbackSettingsBuilder) MessageNew

MessageNew a new incoming message has been received.

func (*GroupsSetCallbackSettingsBuilder) MessageReply

MessageReply a new outcoming message has been received.

func (*GroupsSetCallbackSettingsBuilder) MessageTypingState

MessageTypingState parameter.

func (*GroupsSetCallbackSettingsBuilder) PhotoCommentDelete

PhotoCommentDelete a photo comment has been deleted.

func (*GroupsSetCallbackSettingsBuilder) PhotoCommentEdit

PhotoCommentEdit a photo comment has been edited.

func (*GroupsSetCallbackSettingsBuilder) PhotoCommentNew

PhotoCommentNew new comment to photo notifications.

func (*GroupsSetCallbackSettingsBuilder) PhotoCommentRestore

PhotoCommentRestore a photo comment has been restored.

func (*GroupsSetCallbackSettingsBuilder) PhotoNew

PhotoNew new photos notifications.

func (*GroupsSetCallbackSettingsBuilder) PollVoteNew

PollVoteNew a vote in a public poll has been added.

func (*GroupsSetCallbackSettingsBuilder) ServerID

ServerID parameter.

func (*GroupsSetCallbackSettingsBuilder) UserBlock

UserBlock user added to community blacklist.

func (*GroupsSetCallbackSettingsBuilder) UserUnblock

UserUnblock user removed from community blacklist.

func (*GroupsSetCallbackSettingsBuilder) VideoCommentDelete

VideoCommentDelete a video comment has been deleted.

func (*GroupsSetCallbackSettingsBuilder) VideoCommentEdit

VideoCommentEdit a video comment has been edited.

func (*GroupsSetCallbackSettingsBuilder) VideoCommentNew

VideoCommentNew new comment to video notifications.

func (*GroupsSetCallbackSettingsBuilder) VideoCommentRestore

VideoCommentRestore a video comment has been restored.

func (*GroupsSetCallbackSettingsBuilder) VideoNew

VideoNew new videos notifications.

func (*GroupsSetCallbackSettingsBuilder) WallPostNew

WallPostNew new wall posts notifications.

func (*GroupsSetCallbackSettingsBuilder) WallReplyDelete

WallReplyDelete a wall comment has been deleted.

func (*GroupsSetCallbackSettingsBuilder) WallReplyEdit

WallReplyEdit wall replies edited notifications.

func (*GroupsSetCallbackSettingsBuilder) WallReplyNew

WallReplyNew new wall replies notifications.

func (*GroupsSetCallbackSettingsBuilder) WallReplyRestore

WallReplyRestore a wall comment has been restored.

func (*GroupsSetCallbackSettingsBuilder) WallRepost

WallRepost new wall posts notifications.

type GroupsSetLongPollSettingsBuilder

type GroupsSetLongPollSettingsBuilder struct {
	api.Params
}

GroupsSetLongPollSettingsBuilder builder.

Sets Long Poll notification settings.

https://vk.com/dev/groups.setLongPollSettings

func NewGroupsSetLongPollSettingsBuilder

func NewGroupsSetLongPollSettingsBuilder() *GroupsSetLongPollSettingsBuilder

NewGroupsSetLongPollSettingsBuilder func.

func (*GroupsSetLongPollSettingsBuilder) APIVersion

APIVersion parameter.

func (*GroupsSetLongPollSettingsBuilder) AudioNew

AudioNew new audios notifications.

func (*GroupsSetLongPollSettingsBuilder) BoardPostDelete

BoardPostDelete board posts deleted notifications.

func (*GroupsSetLongPollSettingsBuilder) BoardPostEdit

BoardPostEdit board posts edited notifications.

func (*GroupsSetLongPollSettingsBuilder) BoardPostNew

BoardPostNew new board posts notifications.

func (*GroupsSetLongPollSettingsBuilder) BoardPostRestore

BoardPostRestore board posts restored notifications.

func (*GroupsSetLongPollSettingsBuilder) DonutMoneyWithdraw

DonutMoneyWithdraw event.

func (*GroupsSetLongPollSettingsBuilder) DonutMoneyWithdrawError

DonutMoneyWithdrawError event.

func (*GroupsSetLongPollSettingsBuilder) DonutSubscriptionCancelled

DonutSubscriptionCancelled event.

func (*GroupsSetLongPollSettingsBuilder) DonutSubscriptionCreate

DonutSubscriptionCreate event.

func (*GroupsSetLongPollSettingsBuilder) DonutSubscriptionExpired

DonutSubscriptionExpired event.

func (*GroupsSetLongPollSettingsBuilder) DonutSubscriptionPriceChanged

func (b *GroupsSetLongPollSettingsBuilder) DonutSubscriptionPriceChanged(v bool) *GroupsSetLongPollSettingsBuilder

DonutSubscriptionPriceChanged event.

func (*GroupsSetLongPollSettingsBuilder) DonutSubscriptionProlonged

DonutSubscriptionProlonged event.

func (*GroupsSetLongPollSettingsBuilder) Enabled

Enabled sets whether Long Poll is enabled.

func (*GroupsSetLongPollSettingsBuilder) GroupChangePhoto

GroupChangePhoto parameter.

func (*GroupsSetLongPollSettingsBuilder) GroupChangeSettings

GroupChangeSettings parameter.

func (*GroupsSetLongPollSettingsBuilder) GroupID

GroupID community ID.

func (*GroupsSetLongPollSettingsBuilder) GroupJoin

GroupJoin joined community notifications.

func (*GroupsSetLongPollSettingsBuilder) GroupLeave

GroupLeave left community notifications.

func (*GroupsSetLongPollSettingsBuilder) GroupOfficersEdit

GroupOfficersEdit parameter.

func (*GroupsSetLongPollSettingsBuilder) LikeAdd

LikeAdd new "I like" mark.

func (*GroupsSetLongPollSettingsBuilder) LikeRemove

LikeRemove remove "I like" mark.

func (*GroupsSetLongPollSettingsBuilder) MarketCommentDelete

MarketCommentDelete a market comment has been deleted.

func (*GroupsSetLongPollSettingsBuilder) MarketCommentEdit

MarketCommentEdit a market comment has been edited.

func (*GroupsSetLongPollSettingsBuilder) MarketCommentNew

MarketCommentNew new comment to market item notifications.

func (*GroupsSetLongPollSettingsBuilder) MarketCommentRestore

MarketCommentRestore a market comment has been restored.

func (*GroupsSetLongPollSettingsBuilder) MarketOrderEdit

MarketOrderEdit parameter.

func (*GroupsSetLongPollSettingsBuilder) MarketOrderNew

MarketOrderNew parameter.

func (*GroupsSetLongPollSettingsBuilder) MessageAllow

MessageAllow allowed messages notifications.

func (*GroupsSetLongPollSettingsBuilder) MessageDeny

MessageDeny denied messages notifications.

func (*GroupsSetLongPollSettingsBuilder) MessageEdit

MessageEdit a message has been edited.

func (*GroupsSetLongPollSettingsBuilder) MessageNew

MessageNew a new incoming message has been received.

func (*GroupsSetLongPollSettingsBuilder) MessageReply

MessageReply a new outcoming message has been received.

func (*GroupsSetLongPollSettingsBuilder) MessageTypingState

MessageTypingState parameter.

func (*GroupsSetLongPollSettingsBuilder) PhotoCommentDelete

PhotoCommentDelete a photo comment has been deleted.

func (*GroupsSetLongPollSettingsBuilder) PhotoCommentEdit

PhotoCommentEdit a photo comment has been edited.

func (*GroupsSetLongPollSettingsBuilder) PhotoCommentNew

PhotoCommentNew new comment to photo notifications.

func (*GroupsSetLongPollSettingsBuilder) PhotoCommentRestore

PhotoCommentRestore a photo comment has been restored.

func (*GroupsSetLongPollSettingsBuilder) PhotoNew

PhotoNew new photos notifications.

func (*GroupsSetLongPollSettingsBuilder) PollVoteNew

PollVoteNew a vote in a public poll has been added.

func (*GroupsSetLongPollSettingsBuilder) UserBlock

UserBlock user added to community blacklist.

func (*GroupsSetLongPollSettingsBuilder) UserUnblock

UserUnblock user removed from community blacklist.

func (*GroupsSetLongPollSettingsBuilder) VideoCommentDelete

VideoCommentDelete a video comment has been deleted.

func (*GroupsSetLongPollSettingsBuilder) VideoCommentEdit

VideoCommentEdit a video comment has been edited.

func (*GroupsSetLongPollSettingsBuilder) VideoCommentNew

VideoCommentNew new comment to video notifications.

func (*GroupsSetLongPollSettingsBuilder) VideoCommentRestore

VideoCommentRestore a video comment has been restored.

func (*GroupsSetLongPollSettingsBuilder) VideoNew

VideoNew new videos notifications.

func (*GroupsSetLongPollSettingsBuilder) WallPostNew

WallPostNew new wall posts notifications.

func (*GroupsSetLongPollSettingsBuilder) WallReplyDelete

WallReplyDelete a wall comment has been deleted.

func (*GroupsSetLongPollSettingsBuilder) WallReplyEdit

WallReplyEdit wall replies edited notifications.

func (*GroupsSetLongPollSettingsBuilder) WallReplyNew

WallReplyNew new wall replies notifications.

func (*GroupsSetLongPollSettingsBuilder) WallReplyRestore

WallReplyRestore a wall comment has been restored.

func (*GroupsSetLongPollSettingsBuilder) WallRepost

WallRepost new wall posts notifications.

type GroupsSetUserNoteBuilder

type GroupsSetUserNoteBuilder struct {
	api.Params
}

GroupsSetUserNoteBuilder builder.

https://vk.com/dev/groups.setUserNote

func NewGroupsSetUserNoteBuilder

func NewGroupsSetUserNoteBuilder() *GroupsSetUserNoteBuilder

NewGroupsSetUserNoteBuilder func.

func (*GroupsSetUserNoteBuilder) GroupID

GroupID parameter.

func (*GroupsSetUserNoteBuilder) Note

Note parameter.

maximum length 96.

func (*GroupsSetUserNoteBuilder) UserID

UserID parameter.

type GroupsTagAddBuilder

type GroupsTagAddBuilder struct {
	api.Params
}

GroupsTagAddBuilder builder.

https://vk.com/dev/groups.tagAdd

func NewGroupsTagAddBuilder

func NewGroupsTagAddBuilder() *GroupsTagAddBuilder

NewGroupsTagAddBuilder func.

func (*GroupsTagAddBuilder) GroupID

GroupID parameter.

func (*GroupsTagAddBuilder) TagColor

TagColor parameter.

The following colours are permitted: 4bb34b, 5c9ce6, e64646, 792ec0, 63b9ba, ffa000, ffc107, 76787a, 9e8d6b, 45678f, 539b9c, 454647, 7a6c4f, 6bc76b, 5181b8, ff5c5c, a162de, 7ececf, aaaeb3, bbaa84.

func (*GroupsTagAddBuilder) TagName

TagName parameter.

type GroupsTagBindBuilder

type GroupsTagBindBuilder struct {
	api.Params
}

GroupsTagBindBuilder builder.

https://vk.com/dev/groups.tagBind

func NewGroupsTagBindBuilder

func NewGroupsTagBindBuilder() *GroupsTagBindBuilder

NewGroupsTagBindBuilder func.

func (*GroupsTagBindBuilder) Act

Act parameter.

func (*GroupsTagBindBuilder) Bind

Bind tag.

func (*GroupsTagBindBuilder) GroupID

GroupID parameter.

func (*GroupsTagBindBuilder) TagID

TagID parameter.

func (*GroupsTagBindBuilder) Unbind

Unbind tag.

func (*GroupsTagBindBuilder) UserID

UserID parameter.

type GroupsTagDeleteBuilder

type GroupsTagDeleteBuilder struct {
	api.Params
}

GroupsTagDeleteBuilder builder.

https://vk.com/dev/groups.tagDelete

func NewGroupsTagDeleteBuilder

func NewGroupsTagDeleteBuilder() *GroupsTagDeleteBuilder

NewGroupsTagDeleteBuilder func.

func (*GroupsTagDeleteBuilder) GroupID

GroupID parameter.

func (*GroupsTagDeleteBuilder) TagID

TagID parameter.

type GroupsTagUpdateBuilder

type GroupsTagUpdateBuilder struct {
	api.Params
}

GroupsTagUpdateBuilder builder.

https://vk.com/dev/groups.tagUpdate

func NewGroupsTagUpdateBuilder

func NewGroupsTagUpdateBuilder() *GroupsTagUpdateBuilder

NewGroupsTagUpdateBuilder func.

func (*GroupsTagUpdateBuilder) GroupID

GroupID parameter.

func (*GroupsTagUpdateBuilder) TagID

TagID parameter.

func (*GroupsTagUpdateBuilder) TagName

TagName parameter.

type GroupsToggleMarketBuilder

type GroupsToggleMarketBuilder struct {
	api.Params
}

GroupsToggleMarketBuilder builder.

https://vk.com/dev/groups.toggleMarket

func NewGroupsToggleMarketBuilder

func NewGroupsToggleMarketBuilder() *GroupsToggleMarketBuilder

NewGroupsToggleMarketBuilder func.

func (*GroupsToggleMarketBuilder) GroupID

GroupID parameter.

func (*GroupsToggleMarketBuilder) State

State parameter.

none
basic
advanced

type GroupsUnbanBuilder

type GroupsUnbanBuilder struct {
	api.Params
}

GroupsUnbanBuilder builder.

https://vk.com/dev/groups.unban

func NewGroupsUnbanBuilder

func NewGroupsUnbanBuilder() *GroupsUnbanBuilder

NewGroupsUnbanBuilder func.

func (*GroupsUnbanBuilder) GroupID

func (b *GroupsUnbanBuilder) GroupID(v int) *GroupsUnbanBuilder

GroupID parameter.

func (*GroupsUnbanBuilder) OwnerID

func (b *GroupsUnbanBuilder) OwnerID(v int) *GroupsUnbanBuilder

OwnerID parameter.

type LeadsCheckUserBuilder

type LeadsCheckUserBuilder struct {
	api.Params
}

LeadsCheckUserBuilder builder.

Checks if the user can start the lead.

https://vk.com/dev/leads.checkUser

func NewLeadsCheckUserBuilder

func NewLeadsCheckUserBuilder() *LeadsCheckUserBuilder

NewLeadsCheckUserBuilder func.

func (*LeadsCheckUserBuilder) Age

Age user age.

func (*LeadsCheckUserBuilder) AutoStart

AutoStart parameter.

func (*LeadsCheckUserBuilder) Country

Country user country code.

func (*LeadsCheckUserBuilder) LeadID

LeadID parameter.

func (*LeadsCheckUserBuilder) TestMode

TestMode parameter.

func (*LeadsCheckUserBuilder) TestResult

TestResult value to be return in 'result' field when test mode is used.

type LeadsCompleteBuilder

type LeadsCompleteBuilder struct {
	api.Params
}

LeadsCompleteBuilder builder.

Completes the lead started by user.

https://vk.com/dev/leads.complete

func NewLeadsCompleteBuilder

func NewLeadsCompleteBuilder() *LeadsCompleteBuilder

NewLeadsCompleteBuilder func.

func (*LeadsCompleteBuilder) Comment

Comment text.

func (*LeadsCompleteBuilder) Secret

Secret secret key from the lead testing interface.

func (*LeadsCompleteBuilder) VkSID

VkSID session obtained as GET parameter when session started.

type LeadsGetStatsBuilder

type LeadsGetStatsBuilder struct {
	api.Params
}

LeadsGetStatsBuilder builder.

Returns lead stats data.

https://vk.com/dev/leads.getStats

func NewLeadsGetStatsBuilder

func NewLeadsGetStatsBuilder() *LeadsGetStatsBuilder

NewLeadsGetStatsBuilder func.

func (*LeadsGetStatsBuilder) DateEnd

DateEnd day to finish stats (YYYY_MM_DD, e.g.2011-09-17).

func (*LeadsGetStatsBuilder) DateStart

DateStart day to start stats from (YYYY_MM_DD, e.g.2011-09-17).

func (*LeadsGetStatsBuilder) LeadID

LeadID lead ID.

func (*LeadsGetStatsBuilder) Secret

Secret key obtained from the lead testing interface.

type LeadsGetUsersBuilder

type LeadsGetUsersBuilder struct {
	api.Params
}

LeadsGetUsersBuilder builder.

Returns a list of last user actions for the offer.

https://vk.com/dev/leads.getUsers

func NewLeadsGetUsersBuilder

func NewLeadsGetUsersBuilder() *LeadsGetUsersBuilder

NewLeadsGetUsersBuilder func.

func (*LeadsGetUsersBuilder) Count

Count number of results to return.

func (*LeadsGetUsersBuilder) OfferID

OfferID parameter.

func (*LeadsGetUsersBuilder) Offset

Offset needed to return a specific subset of results.

func (*LeadsGetUsersBuilder) Reverse

Reverse sort order. Possible values:

* 1 — chronological;

* 0 — reverse chronological.

func (*LeadsGetUsersBuilder) Secret

Secret key obtained in the lead testing interface.

func (*LeadsGetUsersBuilder) Status

Status action type. Possible values:

* 0 — start;

* 1 — finish;

* 2 — blocking users;

* 3 — start in a test mode;

* 4 — finish in a test mode.

type LeadsMetricHitBuilder

type LeadsMetricHitBuilder struct {
	api.Params
}

LeadsMetricHitBuilder builder.

Counts the metric event.

https://vk.com/dev/leads.metricHit

func NewLeadsMetricHitBuilder

func NewLeadsMetricHitBuilder() *LeadsMetricHitBuilder

NewLeadsMetricHitBuilder func.

func (*LeadsMetricHitBuilder) Data

Data metric data obtained in the lead interface.

type LeadsStartBuilder

type LeadsStartBuilder struct {
	api.Params
}

LeadsStartBuilder builder.

Creates new session for the user passing the offer.

https://vk.com/dev/leads.start

func NewLeadsStartBuilder

func NewLeadsStartBuilder() *LeadsStartBuilder

NewLeadsStartBuilder func.

func (*LeadsStartBuilder) AID

AID parameter.

func (*LeadsStartBuilder) Force

Force parameter.

func (*LeadsStartBuilder) LeadID

func (b *LeadsStartBuilder) LeadID(v int) *LeadsStartBuilder

LeadID lead ID.

func (*LeadsStartBuilder) Secret

Secret key from the lead testing interface.

func (*LeadsStartBuilder) TestMode

func (b *LeadsStartBuilder) TestMode(v bool) *LeadsStartBuilder

TestMode parameter.

func (*LeadsStartBuilder) UID

UID parameter.

type LikesAddBuilder

type LikesAddBuilder struct {
	api.Params
}

LikesAddBuilder builder.

Adds the specified object to the 'Likes' list of the current user.

https://vk.com/dev/likes.add

func NewLikesAddBuilder

func NewLikesAddBuilder() *LikesAddBuilder

NewLikesAddBuilder func.

func (*LikesAddBuilder) AccessKey

func (b *LikesAddBuilder) AccessKey(v string) *LikesAddBuilder

AccessKey access key required for an object owned by a private entity.

func (*LikesAddBuilder) ItemID

func (b *LikesAddBuilder) ItemID(v int) *LikesAddBuilder

ItemID parameter.

func (*LikesAddBuilder) OwnerID

func (b *LikesAddBuilder) OwnerID(v int) *LikesAddBuilder

OwnerID ID of the user or community that owns the object.

func (*LikesAddBuilder) ReactionID

func (b *LikesAddBuilder) ReactionID(v int) *LikesAddBuilder

ReactionID parameter.

func (*LikesAddBuilder) Type

Type object:

* post — post on user or community wall;

* comment — comment on a wall post;

* photo — photo;

* audio — audio;

* video — video;

* note — note;

* photo_comment — comment on the photo;

* video_comment — comment on the video;

* topic_comment — comment in the discussion;

* sitepage — page of the site where the [vk.com/dev/Like|Like widget] is installed.

type LikesDeleteBuilder

type LikesDeleteBuilder struct {
	api.Params
}

LikesDeleteBuilder builder.

Deletes the specified object from the 'Likes' list of the current user.

https://vk.com/dev/likes.delete

func NewLikesDeleteBuilder

func NewLikesDeleteBuilder() *LikesDeleteBuilder

NewLikesDeleteBuilder func.

func (*LikesDeleteBuilder) ItemID

ItemID parameter.

func (*LikesDeleteBuilder) OwnerID

func (b *LikesDeleteBuilder) OwnerID(v int) *LikesDeleteBuilder

OwnerID ID of the user or community that owns the object.

func (*LikesDeleteBuilder) Type

Type object:

* post — post on user or community wall;

* comment — comment on a wall post;

* photo — photo;

* audio — audio;

* video — video;

* note — note;

* photo_comment — comment on the photo;

* video_comment — comment on the video;

* topic_comment — comment in the discussion;

* sitepage — page of the site where the [vk.com/dev/Like|Like widget] is installed.

type LikesGetListBuilder

type LikesGetListBuilder struct {
	api.Params
}

LikesGetListBuilder builder.

Returns a list of IDs of users who added the specified object to their 'Likes' list.

https://vk.com/dev/likes.getList

func NewLikesGetListBuilder

func NewLikesGetListBuilder() *LikesGetListBuilder

NewLikesGetListBuilder func.

func (*LikesGetListBuilder) Count

Count number of user IDs to return (maximum '1000'). Default is '100' if 'friends_only' is set to '0', otherwise, the default is '10' if 'friends_only' is set to '1'.

func (*LikesGetListBuilder) Extended

Extended specifies whether extended information will be returned.

* 1 — to return extended information about users and communities from the 'Likes' list;

* 0 — to return no additional information (default).

func (*LikesGetListBuilder) Filter

Filter filters to apply:

* likes — returns information about all users who liked the object (default);

* copies — returns information only about users who told their friends about the object.

func (*LikesGetListBuilder) FriendsOnly

func (b *LikesGetListBuilder) FriendsOnly(v int) *LikesGetListBuilder

FriendsOnly specifies which users are returned:

* 1 — to return only the current user's friends;

* 0 — to return all users (default).

func (*LikesGetListBuilder) ItemID

ItemID parameter. If 'type' is set as 'sitepage', 'item_id' can include the 'page_id' parameter value used during initialization of the [vk.com/dev/Like|Like widget].

func (*LikesGetListBuilder) Offset

Offset needed to select a specific subset of users.

func (*LikesGetListBuilder) OwnerID

OwnerID ID of the user, community, or application that owns the object. If the 'type' parameter is set as 'sitepage', the application ID is passed as 'owner_id'. Use negative value for a community id. If the 'type' parameter is not set, the 'owner_id' is assumed to be either the current user or the same application ID as if the 'type' parameter was set to 'sitepage'.

func (*LikesGetListBuilder) PageURL

PageURL URL of the page where the [vk.com/dev/Like|Like widget] is installed. Used instead of the 'item_id' parameter.

func (*LikesGetListBuilder) SkipOwn

SkipOwn parameter.

func (*LikesGetListBuilder) Type

Type object:

* post — post on user or community wall;

* comment — comment on a wall post;

* photo — photo;

* audio — audio;

* video — video;

* note — note;

* photo_comment — comment on the photo;

* video_comment — comment on the video;

* topic_comment — comment in the discussion;

* sitepage — page of the site where the [vk.com/dev/Like|Like widget] is installed.

type LikesIsLikedBuilder

type LikesIsLikedBuilder struct {
	api.Params
}

LikesIsLikedBuilder builder.

Checks for the object in the 'Likes' list of the specified user.

https://vk.com/dev/likes.isLiked

func NewLikesIsLikedBuilder

func NewLikesIsLikedBuilder() *LikesIsLikedBuilder

NewLikesIsLikedBuilder func.

func (*LikesIsLikedBuilder) ItemID

ItemID parameter.

func (*LikesIsLikedBuilder) OwnerID

OwnerID ID of the user or community that owns the object.

func (*LikesIsLikedBuilder) Type

Type object:

* post — post on user or community wall;

* comment — comment on a wall post;

* photo — photo;

* audio — audio;

* video — video;

* note — note;

* photo_comment — comment on the photo;

* video_comment — comment on the video;

* topic_comment — comment in the discussion.

func (*LikesIsLikedBuilder) UserID

UserID parameter.

type MarketAddAlbumBuilder

type MarketAddAlbumBuilder struct {
	api.Params
}

MarketAddAlbumBuilder builder.

Creates new collection of items.

https://vk.com/dev/market.addAlbum

func NewMarketAddAlbumBuilder

func NewMarketAddAlbumBuilder() *MarketAddAlbumBuilder

NewMarketAddAlbumBuilder func.

func (*MarketAddAlbumBuilder) IsHidden

IsHidden flag.

func (*MarketAddAlbumBuilder) MainAlbum

MainAlbum set as main ('1' – set, '0' – no).

func (*MarketAddAlbumBuilder) OwnerID

OwnerID ID of an item owner community.

func (*MarketAddAlbumBuilder) PhotoID

PhotoID cover photo ID.

func (*MarketAddAlbumBuilder) Title

Title collection title.

type MarketAddBuilder

type MarketAddBuilder struct {
	api.Params
}

MarketAddBuilder builder.

Ads a new item to the market.

https://vk.com/dev/market.add

func NewMarketAddBuilder

func NewMarketAddBuilder() *MarketAddBuilder

NewMarketAddBuilder func.

func (*MarketAddBuilder) CategoryID

func (b *MarketAddBuilder) CategoryID(v int) *MarketAddBuilder

CategoryID item.

func (*MarketAddBuilder) Deleted

func (b *MarketAddBuilder) Deleted(v bool) *MarketAddBuilder

Deleted item status ('1' — deleted, '0' — not deleted).

func (*MarketAddBuilder) Description

func (b *MarketAddBuilder) Description(v string) *MarketAddBuilder

Description item.

func (*MarketAddBuilder) MainPhotoID

func (b *MarketAddBuilder) MainPhotoID(v int) *MarketAddBuilder

MainPhotoID cover photo ID.

func (*MarketAddBuilder) Name

Name item.

func (*MarketAddBuilder) OldPrice

func (b *MarketAddBuilder) OldPrice(v float64) *MarketAddBuilder

OldPrice parameter.

func (*MarketAddBuilder) OwnerID

func (b *MarketAddBuilder) OwnerID(v int) *MarketAddBuilder

OwnerID ID of an item owner community.

func (*MarketAddBuilder) PhotoIDs

func (b *MarketAddBuilder) PhotoIDs(v []int) *MarketAddBuilder

PhotoIDs IDs of additional photos.

func (*MarketAddBuilder) Price

Price item.

func (*MarketAddBuilder) URL

URL for button in market item.

type MarketAddToAlbumBuilder

type MarketAddToAlbumBuilder struct {
	api.Params
}

MarketAddToAlbumBuilder builder.

Adds an item to one or multiple collections.

https://vk.com/dev/market.addToAlbum

func NewMarketAddToAlbumBuilder

func NewMarketAddToAlbumBuilder() *MarketAddToAlbumBuilder

NewMarketAddToAlbumBuilder func.

func (*MarketAddToAlbumBuilder) AlbumIDs

AlbumIDs collections IDs to add item to.

func (*MarketAddToAlbumBuilder) ItemID

ItemID parameter.

func (*MarketAddToAlbumBuilder) ItemIDs

ItemIDs parameter.

func (*MarketAddToAlbumBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketCreateCommentBuilder

type MarketCreateCommentBuilder struct {
	api.Params
}

MarketCreateCommentBuilder builder.

Creates a new comment for an item.

https://vk.com/dev/market.createComment

func NewMarketCreateCommentBuilder

func NewMarketCreateCommentBuilder() *MarketCreateCommentBuilder

NewMarketCreateCommentBuilder func.

func (*MarketCreateCommentBuilder) Attachments

func (b *MarketCreateCommentBuilder) Attachments(v interface{}) *MarketCreateCommentBuilder

Attachments comma-separated list of objects attached to a comment. The field is submitted the following way: , "'<owner_id>_<media_id>,<owner_id>_<media_id>'", ” - media attachment type: "'photo' - photo, 'video' - video, 'audio' - audio, 'doc' - document", '<owner_id>' - media owner id, '<media_id>' - media attachment id, For example: "photo100172_166443618,photo66748_265827614".

func (*MarketCreateCommentBuilder) FromGroup

FromGroup '1' - comment will be published on behalf of a community, '0' - on behalf of a user (by default).

func (*MarketCreateCommentBuilder) GUID

GUID random value to avoid resending one comment.

func (*MarketCreateCommentBuilder) ItemID

ItemID parameter.

func (*MarketCreateCommentBuilder) Message

Message comment text (required if 'attachments' parameter is not specified).

func (*MarketCreateCommentBuilder) OwnerID

OwnerID ID of an item owner community.

func (*MarketCreateCommentBuilder) ReplyToComment

ReplyToComment ID of a comment to reply with current comment to.

func (*MarketCreateCommentBuilder) StickerID

StickerID parameter.

type MarketDeleteAlbumBuilder

type MarketDeleteAlbumBuilder struct {
	api.Params
}

MarketDeleteAlbumBuilder builder.

Deletes a collection of items.

https://vk.com/dev/market.deleteAlbum

func NewMarketDeleteAlbumBuilder

func NewMarketDeleteAlbumBuilder() *MarketDeleteAlbumBuilder

NewMarketDeleteAlbumBuilder func.

func (*MarketDeleteAlbumBuilder) AlbumID

AlbumID collection ID.

func (*MarketDeleteAlbumBuilder) OwnerID

OwnerID ID of an collection owner community.

type MarketDeleteBuilder

type MarketDeleteBuilder struct {
	api.Params
}

MarketDeleteBuilder builder.

Deletes an item.

https://vk.com/dev/market.delete

func NewMarketDeleteBuilder

func NewMarketDeleteBuilder() *MarketDeleteBuilder

NewMarketDeleteBuilder func.

func (*MarketDeleteBuilder) ItemID

ItemID parameter.

func (*MarketDeleteBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketDeleteCommentBuilder

type MarketDeleteCommentBuilder struct {
	api.Params
}

MarketDeleteCommentBuilder builder.

Deletes an item's comment.

https://vk.com/dev/market.deleteComment

func NewMarketDeleteCommentBuilder

func NewMarketDeleteCommentBuilder() *MarketDeleteCommentBuilder

NewMarketDeleteCommentBuilder func.

func (*MarketDeleteCommentBuilder) CommentID

CommentID comment id.

func (*MarketDeleteCommentBuilder) OwnerID

OwnerID identifier of an item owner community. Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community.

type MarketEditAlbumBuilder

type MarketEditAlbumBuilder struct {
	api.Params
}

MarketEditAlbumBuilder builder.

Edits a collection of items.

https://vk.com/dev/market.editAlbum

func NewMarketEditAlbumBuilder

func NewMarketEditAlbumBuilder() *MarketEditAlbumBuilder

NewMarketEditAlbumBuilder func.

func (*MarketEditAlbumBuilder) AlbumID

AlbumID collection ID.

func (*MarketEditAlbumBuilder) IsHidden

IsHidden flag.

func (*MarketEditAlbumBuilder) MainAlbum

MainAlbum set as main ('1' – set, '0' – no).

func (*MarketEditAlbumBuilder) OwnerID

OwnerID ID of an collection owner community.

func (*MarketEditAlbumBuilder) PhotoID

PhotoID cover photo id.

func (*MarketEditAlbumBuilder) Title

Title collection.

type MarketEditBuilder

type MarketEditBuilder struct {
	api.Params
}

MarketEditBuilder builder.

Edits an item.

https://vk.com/dev/market.edit

func NewMarketEditBuilder

func NewMarketEditBuilder() *MarketEditBuilder

NewMarketEditBuilder func.

func (*MarketEditBuilder) CategoryID

func (b *MarketEditBuilder) CategoryID(v int) *MarketEditBuilder

CategoryID item category ID.

func (*MarketEditBuilder) Deleted

func (b *MarketEditBuilder) Deleted(v bool) *MarketEditBuilder

Deleted item status ('1' — deleted, '0' — not deleted).

func (*MarketEditBuilder) Description

func (b *MarketEditBuilder) Description(v string) *MarketEditBuilder

Description item description.

func (*MarketEditBuilder) ItemID

func (b *MarketEditBuilder) ItemID(v int) *MarketEditBuilder

ItemID parameter.

func (*MarketEditBuilder) MainPhotoID

func (b *MarketEditBuilder) MainPhotoID(v int) *MarketEditBuilder

MainPhotoID cover photo ID.

func (*MarketEditBuilder) Name

Name item name.

func (*MarketEditBuilder) OwnerID

func (b *MarketEditBuilder) OwnerID(v int) *MarketEditBuilder

OwnerID ID of an item owner community.

func (*MarketEditBuilder) PhotoIDs

func (b *MarketEditBuilder) PhotoIDs(v []int) *MarketEditBuilder

PhotoIDs IDs of additional photos.

func (*MarketEditBuilder) Price

Price item price.

func (*MarketEditBuilder) URL

URL for button in market item.

type MarketEditCommentBuilder

type MarketEditCommentBuilder struct {
	api.Params
}

MarketEditCommentBuilder builder.

Changes item comment's text.

https://vk.com/dev/market.editComment

func NewMarketEditCommentBuilder

func NewMarketEditCommentBuilder() *MarketEditCommentBuilder

NewMarketEditCommentBuilder func.

func (*MarketEditCommentBuilder) Attachments

func (b *MarketEditCommentBuilder) Attachments(v interface{}) *MarketEditCommentBuilder

Attachments comma-separated list of objects attached to a comment. The field is submitted the following way: , "'<owner_id>_<media_id>,<owner_id>_<media_id>'", ” - media attachment type: "'photo' - photo, 'video' - video, 'audio' - audio, 'doc' - document", '<owner_id>' - media owner id, '<media_id>' - media attachment id, For example: "photo100172_166443618,photo66748_265827614".

func (*MarketEditCommentBuilder) CommentID

CommentID parameter.

func (*MarketEditCommentBuilder) Message

Message new comment text (required if 'attachments' are not specified), 2048 symbols maximum.

func (*MarketEditCommentBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketEditOrderBuilder

type MarketEditOrderBuilder struct {
	api.Params
}

MarketEditOrderBuilder builder.

EditOrders an item.

https://vk.com/dev/market.editOrder

func NewMarketEditOrderBuilder

func NewMarketEditOrderBuilder() *MarketEditOrderBuilder

NewMarketEditOrderBuilder func.

func (*MarketEditOrderBuilder) CommentForUser

CommentForUser parameter.

func (*MarketEditOrderBuilder) DeliveryPrice

func (b *MarketEditOrderBuilder) DeliveryPrice(v int) *MarketEditOrderBuilder

DeliveryPrice parameter.

func (*MarketEditOrderBuilder) Height

Height parameter.

func (*MarketEditOrderBuilder) Length

Length parameter.

func (*MarketEditOrderBuilder) MerchantComment

func (b *MarketEditOrderBuilder) MerchantComment(v string) *MarketEditOrderBuilder

MerchantComment merchant comment.

func (*MarketEditOrderBuilder) OrderID

OrderID order id.

func (*MarketEditOrderBuilder) PaymentStatus

PaymentStatus parameter.

ReceiptLink parameter.

func (*MarketEditOrderBuilder) Status

Status status.

func (*MarketEditOrderBuilder) TrackNumber

TrackNumber parameter.

func (*MarketEditOrderBuilder) UserID

UserID user id.

func (*MarketEditOrderBuilder) Weight

Weight parameter.

func (*MarketEditOrderBuilder) Width

Width parameter.

type MarketGetAlbumByIDBuilder

type MarketGetAlbumByIDBuilder struct {
	api.Params
}

MarketGetAlbumByIDBuilder builder.

Returns items album's data.

https://vk.com/dev/market.getAlbumById

func NewMarketGetAlbumByIDBuilder

func NewMarketGetAlbumByIDBuilder() *MarketGetAlbumByIDBuilder

NewMarketGetAlbumByIDBuilder func.

func (*MarketGetAlbumByIDBuilder) AlbumIDs

AlbumIDs collections identifiers to obtain data from.

func (*MarketGetAlbumByIDBuilder) NeedAllItemIDs

NeedAllItemIDs flag.

func (*MarketGetAlbumByIDBuilder) OwnerID

OwnerID identifier of an album owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".

type MarketGetAlbumsBuilder

type MarketGetAlbumsBuilder struct {
	api.Params
}

MarketGetAlbumsBuilder builder.

Returns community's collections list.

https://vk.com/dev/market.getAlbums

func NewMarketGetAlbumsBuilder

func NewMarketGetAlbumsBuilder() *MarketGetAlbumsBuilder

NewMarketGetAlbumsBuilder func.

func (*MarketGetAlbumsBuilder) Count

Count number of items to return.

func (*MarketGetAlbumsBuilder) Offset

Offset needed to return a specific subset of results.

func (*MarketGetAlbumsBuilder) OwnerID

OwnerID ID of an items owner community.

type MarketGetBuilder

type MarketGetBuilder struct {
	api.Params
}

MarketGetBuilder builder.

Returns items list for a community.

https://vk.com/dev/market.get

func NewMarketGetBuilder

func NewMarketGetBuilder() *MarketGetBuilder

NewMarketGetBuilder func.

func (*MarketGetBuilder) AlbumID

func (b *MarketGetBuilder) AlbumID(v int) *MarketGetBuilder

AlbumID parameter.

func (*MarketGetBuilder) Count

func (b *MarketGetBuilder) Count(v int) *MarketGetBuilder

Count number of items to return.

func (*MarketGetBuilder) Extended

func (b *MarketGetBuilder) Extended(v bool) *MarketGetBuilder

Extended parameter.

* 1 – method will return additional fields: 'likes, can_comment, car_repost, photos'. These parameters are not returned by default.

func (*MarketGetBuilder) NeedVariants

func (b *MarketGetBuilder) NeedVariants(v bool) *MarketGetBuilder

NeedVariants flag.

func (*MarketGetBuilder) Offset

func (b *MarketGetBuilder) Offset(v int) *MarketGetBuilder

Offset needed to return a specific subset of results.

func (*MarketGetBuilder) OwnerID

func (b *MarketGetBuilder) OwnerID(v int) *MarketGetBuilder

OwnerID ID of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number.

For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".

func (*MarketGetBuilder) WithDisabled

func (b *MarketGetBuilder) WithDisabled(v bool) *MarketGetBuilder

WithDisabled flag.

type MarketGetByIDBuilder

type MarketGetByIDBuilder struct {
	api.Params
}

MarketGetByIDBuilder builder.

Returns information about market items by their ids.

https://vk.com/dev/market.getById

func NewMarketGetByIDBuilder

func NewMarketGetByIDBuilder() *MarketGetByIDBuilder

NewMarketGetByIDBuilder func.

func (*MarketGetByIDBuilder) Extended

Extended '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.

func (*MarketGetByIDBuilder) ItemIDs

ItemIDs comma-separated ids list: {user id}_{item id}. If an item belongs to a community -{community id} is used. 'Videos' value example: , '-4363_136089719,13245770_137352259'.

type MarketGetCategoriesBuilder

type MarketGetCategoriesBuilder struct {
	api.Params
}

MarketGetCategoriesBuilder builder.

Returns a list of market categories.

https://vk.com/dev/market.getCategories

func NewMarketGetCategoriesBuilder

func NewMarketGetCategoriesBuilder() *MarketGetCategoriesBuilder

NewMarketGetCategoriesBuilder func.

func (*MarketGetCategoriesBuilder) Count

Count number of results to return.

func (*MarketGetCategoriesBuilder) Offset

Offset needed to return a specific subset of results.

type MarketGetCommentsBuilder

type MarketGetCommentsBuilder struct {
	api.Params
}

MarketGetCommentsBuilder builder.

Returns comments list for an item.

https://vk.com/dev/market.getComments

func NewMarketGetCommentsBuilder

func NewMarketGetCommentsBuilder() *MarketGetCommentsBuilder

NewMarketGetCommentsBuilder func.

func (*MarketGetCommentsBuilder) Count

Count number of results to return.

func (*MarketGetCommentsBuilder) Extended

Extended parameter.

* 1 — comments will be returned as numbered objects, in addition lists of 'profiles' and 'groups' objects will be returned.

func (*MarketGetCommentsBuilder) Fields

Fields list of additional profile fields to return. See the [vk.com/dev/fields|details].

func (*MarketGetCommentsBuilder) ItemID

ItemID parameter.

func (*MarketGetCommentsBuilder) NeedLikes

NeedLikes '1' — to return likes info.

func (*MarketGetCommentsBuilder) Offset

Offset parameter.

func (*MarketGetCommentsBuilder) OwnerID

OwnerID ID of an item owner community.

func (*MarketGetCommentsBuilder) Sort

Sort order ('asc' — from old to new, 'desc' — from new to old).

func (*MarketGetCommentsBuilder) StartCommentID

StartCommentID ID of a comment to start a list from (details below).

type MarketGetGroupOrdersBuilder

type MarketGetGroupOrdersBuilder struct {
	api.Params
}

MarketGetGroupOrdersBuilder builder.

Returns community's orders list.

https://vk.com/dev/market.getGroupOrders

func NewMarketGetGroupOrdersBuilder

func NewMarketGetGroupOrdersBuilder() *MarketGetGroupOrdersBuilder

NewMarketGetGroupOrdersBuilder func.

func (*MarketGetGroupOrdersBuilder) Count

Count number of items to return.

func (*MarketGetGroupOrdersBuilder) GroupID

GroupID ID of an items owner community.

func (*MarketGetGroupOrdersBuilder) Offset

Offset needed to return a specific subset of results.

type MarketGetOrderByIDBuilder

type MarketGetOrderByIDBuilder struct {
	api.Params
}

MarketGetOrderByIDBuilder builder.

Returns order by id.

https://vk.com/dev/market.getOrderById

func NewMarketGetOrderByIDBuilder

func NewMarketGetOrderByIDBuilder() *MarketGetOrderByIDBuilder

NewMarketGetOrderByIDBuilder func.

func (*MarketGetOrderByIDBuilder) Extended

Extended extended.

func (*MarketGetOrderByIDBuilder) OrderID

OrderID order id.

func (*MarketGetOrderByIDBuilder) UserID

UserID user id.

type MarketGetOrderItemsBuilder

type MarketGetOrderItemsBuilder struct {
	api.Params
}

MarketGetOrderItemsBuilder builder.

Returns items of an order.

https://vk.com/dev/market.getOrderItems

func NewMarketGetOrderItemsBuilder

func NewMarketGetOrderItemsBuilder() *MarketGetOrderItemsBuilder

NewMarketGetOrderItemsBuilder func.

func (*MarketGetOrderItemsBuilder) Count

Count number of orders to return.

func (*MarketGetOrderItemsBuilder) Offset

Offset needed to return a specific subset of items in order.

func (*MarketGetOrderItemsBuilder) OrderID

OrderID order id.

type MarketRemoveFromAlbumBuilder

type MarketRemoveFromAlbumBuilder struct {
	api.Params
}

MarketRemoveFromAlbumBuilder builder.

Removes an item from one or multiple collections.

https://vk.com/dev/market.removeFromAlbum

func NewMarketRemoveFromAlbumBuilder

func NewMarketRemoveFromAlbumBuilder() *MarketRemoveFromAlbumBuilder

NewMarketRemoveFromAlbumBuilder func.

func (*MarketRemoveFromAlbumBuilder) AlbumIDs

AlbumIDs collections IDs to remove item from.

func (*MarketRemoveFromAlbumBuilder) ItemID

ItemID parameter.

func (*MarketRemoveFromAlbumBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketReorderAlbumsBuilder

type MarketReorderAlbumsBuilder struct {
	api.Params
}

MarketReorderAlbumsBuilder builder.

Reorders the collections list.

https://vk.com/dev/market.reorderAlbums

func NewMarketReorderAlbumsBuilder

func NewMarketReorderAlbumsBuilder() *MarketReorderAlbumsBuilder

NewMarketReorderAlbumsBuilder func.

func (*MarketReorderAlbumsBuilder) After

After ID of a collection to place current collection after it.

func (*MarketReorderAlbumsBuilder) AlbumID

AlbumID collection ID.

func (*MarketReorderAlbumsBuilder) Before

Before ID of a collection to place current collection before it.

func (*MarketReorderAlbumsBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketReorderItemsBuilder

type MarketReorderItemsBuilder struct {
	api.Params
}

MarketReorderItemsBuilder builder.

Changes item place in a collection.

https://vk.com/dev/market.reorderItems

func NewMarketReorderItemsBuilder

func NewMarketReorderItemsBuilder() *MarketReorderItemsBuilder

NewMarketReorderItemsBuilder func.

func (*MarketReorderItemsBuilder) After

After ID of an item to place current item after it.

func (*MarketReorderItemsBuilder) AlbumID

AlbumID ID of a collection to reorder items in. Set 0 to reorder full items list.

func (*MarketReorderItemsBuilder) Before

Before ID of an item to place current item before it.

func (*MarketReorderItemsBuilder) ItemID

ItemID parameter.

func (*MarketReorderItemsBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketReportBuilder

type MarketReportBuilder struct {
	api.Params
}

MarketReportBuilder builder.

Sends a complaint to the item.

https://vk.com/dev/market.report

func NewMarketReportBuilder

func NewMarketReportBuilder() *MarketReportBuilder

NewMarketReportBuilder func.

func (*MarketReportBuilder) ItemID

ItemID parameter.

func (*MarketReportBuilder) OwnerID

OwnerID ID of an item owner community.

func (*MarketReportBuilder) Reason

Reason complaint. Possible values:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type MarketReportCommentBuilder

type MarketReportCommentBuilder struct {
	api.Params
}

MarketReportCommentBuilder builder.

Sends a complaint to the item's comment.

https://vk.com/dev/market.reportComment

func NewMarketReportCommentBuilder

func NewMarketReportCommentBuilder() *MarketReportCommentBuilder

NewMarketReportCommentBuilder func.

func (*MarketReportCommentBuilder) CommentID

CommentID parameter.

func (*MarketReportCommentBuilder) OwnerID

OwnerID ID of an item owner community.

func (*MarketReportCommentBuilder) Reason

Reason complaint. Possible values:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type MarketRestoreBuilder

type MarketRestoreBuilder struct {
	api.Params
}

MarketRestoreBuilder builder.

Restores recently deleted item.

https://vk.com/dev/market.restore

func NewMarketRestoreBuilder

func NewMarketRestoreBuilder() *MarketRestoreBuilder

NewMarketRestoreBuilder func.

func (*MarketRestoreBuilder) ItemID

ItemID deleted item ID.

func (*MarketRestoreBuilder) OwnerID

OwnerID ID of an item owner community.

type MarketRestoreCommentBuilder

type MarketRestoreCommentBuilder struct {
	api.Params
}

MarketRestoreCommentBuilder builder.

Restores a recently deleted comment.

https://vk.com/dev/market.restoreComment

func NewMarketRestoreCommentBuilder

func NewMarketRestoreCommentBuilder() *MarketRestoreCommentBuilder

NewMarketRestoreCommentBuilder func.

func (*MarketRestoreCommentBuilder) CommentID

CommentID deleted comment id.

func (*MarketRestoreCommentBuilder) OwnerID

OwnerID identifier of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community ".

type MarketSearchBuilder

type MarketSearchBuilder struct {
	api.Params
}

MarketSearchBuilder builder.

Searches market items in a community's catalog.

https://vk.com/dev/market.search

func NewMarketSearchBuilder

func NewMarketSearchBuilder() *MarketSearchBuilder

NewMarketSearchBuilder func.

func (*MarketSearchBuilder) AlbumID

AlbumID parameter.

func (*MarketSearchBuilder) Count

Count number of items to return.

func (*MarketSearchBuilder) Extended

Extended '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.

func (*MarketSearchBuilder) NeedVariants

func (b *MarketSearchBuilder) NeedVariants(v bool) *MarketSearchBuilder

NeedVariants flag.

func (*MarketSearchBuilder) Offset

Offset needed to return a specific subset of results.

func (*MarketSearchBuilder) OwnerID

OwnerID ID of an items owner community.

func (*MarketSearchBuilder) PriceFrom

func (b *MarketSearchBuilder) PriceFrom(v int) *MarketSearchBuilder

PriceFrom minimum item price value.

func (*MarketSearchBuilder) PriceTo

PriceTo maximum item price value.

func (*MarketSearchBuilder) Q

Q search query, for example "pink slippers".

func (*MarketSearchBuilder) Rev

Rev '0' — do not use reverse order, '1' — use reverse order.

func (*MarketSearchBuilder) Sort

Sort parameter.

func (*MarketSearchBuilder) Status

Status parameter.

func (*MarketSearchBuilder) Tags

Tags comma-separated tag IDs list.

type MarketSearchItemsBuilder

type MarketSearchItemsBuilder struct {
	api.Params
}

MarketSearchItemsBuilder builder.

https://vk.com/dev/market.searchItems

func NewMarketSearchItemsBuilder

func NewMarketSearchItemsBuilder() *MarketSearchItemsBuilder

NewMarketSearchItemsBuilder func.

func (*MarketSearchItemsBuilder) CategoryID

CategoryID parameter.

func (*MarketSearchItemsBuilder) Count

Count parameter.

func (*MarketSearchItemsBuilder) Offset

Offset parameter.

func (*MarketSearchItemsBuilder) PriceFrom

PriceFrom parameter.

func (*MarketSearchItemsBuilder) PriceTo

PriceTo parameter.

func (*MarketSearchItemsBuilder) Q

Q parameter.

func (*MarketSearchItemsBuilder) SortBy

SortBy parameter.

func (*MarketSearchItemsBuilder) SortDirection

SortDirection parameter.

type MarusiaCreateAudioBuilder

type MarusiaCreateAudioBuilder struct {
	api.Params
}

MarusiaCreateAudioBuilder builder.

https://vk.com/dev/marusia_skill_docs10

func NewMarusiaCreateAudioBuilder

func NewMarusiaCreateAudioBuilder() *MarusiaCreateAudioBuilder

NewMarusiaCreateAudioBuilder func.

func (*MarusiaCreateAudioBuilder) AudioMeta

AudioMeta parameter.

type MarusiaDeleteAudioBuilder

type MarusiaDeleteAudioBuilder struct {
	api.Params
}

MarusiaDeleteAudioBuilder builder.

https://vk.com/dev/marusia_skill_docs10

func NewMarusiaDeleteAudioBuilder

func NewMarusiaDeleteAudioBuilder() *MarusiaDeleteAudioBuilder

NewMarusiaDeleteAudioBuilder func.

func (*MarusiaDeleteAudioBuilder) ID

ID parameter.

type MarusiaDeletePictureBuilder

type MarusiaDeletePictureBuilder struct {
	api.Params
}

MarusiaDeletePictureBuilder builder.

https://vk.com/dev/marusia_skill_docs10

func NewMarusiaDeletePictureBuilder

func NewMarusiaDeletePictureBuilder() *MarusiaDeletePictureBuilder

NewMarusiaDeletePictureBuilder func.

func (*MarusiaDeletePictureBuilder) ID

ID parameter.

type MarusiaSavePictureBuilder

type MarusiaSavePictureBuilder struct {
	api.Params
}

MarusiaSavePictureBuilder builder.

https://vk.com/dev/marusia_skill_docs10

func NewMarusiaSavePictureBuilder

func NewMarusiaSavePictureBuilder() *MarusiaSavePictureBuilder

NewMarusiaSavePictureBuilder func.

func (*MarusiaSavePictureBuilder) Hash

Hash parameter.

func (*MarusiaSavePictureBuilder) Photo

Photo parameter.

func (*MarusiaSavePictureBuilder) Server

Server parameter.

type MessagesAddChatUserBuilder

type MessagesAddChatUserBuilder struct {
	api.Params
}

MessagesAddChatUserBuilder builder.

Adds a new user to a chat.

https://vk.com/dev/messages.addChatUser

func NewMessagesAddChatUserBuilder

func NewMessagesAddChatUserBuilder() *MessagesAddChatUserBuilder

NewMessagesAddChatUserBuilder func.

func (*MessagesAddChatUserBuilder) ChatID

ChatID parameter.

func (*MessagesAddChatUserBuilder) UserID

UserID ID of the user to be added to the chat.

type MessagesAllowMessagesFromGroupBuilder

type MessagesAllowMessagesFromGroupBuilder struct {
	api.Params
}

MessagesAllowMessagesFromGroupBuilder builder.

Allows sending messages from community to the current user.

https://vk.com/dev/messages.allowMessagesFromGroup

func NewMessagesAllowMessagesFromGroupBuilder

func NewMessagesAllowMessagesFromGroupBuilder() *MessagesAllowMessagesFromGroupBuilder

NewMessagesAllowMessagesFromGroupBuilder func.

func (*MessagesAllowMessagesFromGroupBuilder) GroupID

GroupID community ID.

func (*MessagesAllowMessagesFromGroupBuilder) Key

Key parameter.

type MessagesCreateChatBuilder

type MessagesCreateChatBuilder struct {
	api.Params
}

MessagesCreateChatBuilder builder.

Creates a chat with several participants.

https://vk.com/dev/messages.createChat

func NewMessagesCreateChatBuilder

func NewMessagesCreateChatBuilder() *MessagesCreateChatBuilder

NewMessagesCreateChatBuilder func.

func (*MessagesCreateChatBuilder) Title

Title chat.

func (*MessagesCreateChatBuilder) UserIDs

UserIDs IDs of the users to be added to the chat.

type MessagesDeleteBuilder

type MessagesDeleteBuilder struct {
	api.Params
}

MessagesDeleteBuilder builder.

Deletes one or more messages.

https://vk.com/dev/messages.delete

func NewMessagesDeleteBuilder

func NewMessagesDeleteBuilder() *MessagesDeleteBuilder

NewMessagesDeleteBuilder func.

func (*MessagesDeleteBuilder) ConversationMessageIDs

func (b *MessagesDeleteBuilder) ConversationMessageIDs(v []int) *MessagesDeleteBuilder

ConversationMessageIDs parameter.

func (*MessagesDeleteBuilder) DeleteForAll

func (b *MessagesDeleteBuilder) DeleteForAll(v bool) *MessagesDeleteBuilder

DeleteForAll '1' — delete message for for all.

func (*MessagesDeleteBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesDeleteBuilder) MessageIDs

func (b *MessagesDeleteBuilder) MessageIDs(v []int) *MessagesDeleteBuilder

MessageIDs parameter.

func (*MessagesDeleteBuilder) PeerID

PeerID parameter.

func (*MessagesDeleteBuilder) Spam

Spam '1' — to mark message as spam.

type MessagesDeleteChatPhotoBuilder

type MessagesDeleteChatPhotoBuilder struct {
	api.Params
}

MessagesDeleteChatPhotoBuilder builder.

Deletes a chat's cover picture.

https://vk.com/dev/messages.deleteChatPhoto

func NewMessagesDeleteChatPhotoBuilder

func NewMessagesDeleteChatPhotoBuilder() *MessagesDeleteChatPhotoBuilder

NewMessagesDeleteChatPhotoBuilder func.

func (*MessagesDeleteChatPhotoBuilder) ChatID

ChatID parameter.

func (*MessagesDeleteChatPhotoBuilder) GroupID

GroupID parameter.

type MessagesDeleteConversationBuilder

type MessagesDeleteConversationBuilder struct {
	api.Params
}

MessagesDeleteConversationBuilder builder.

Deletes all private messages in a conversation.

https://vk.com/dev/messages.deleteConversation

func NewMessagesDeleteConversationBuilder

func NewMessagesDeleteConversationBuilder() *MessagesDeleteConversationBuilder

NewMessagesDeleteConversationBuilder func.

func (*MessagesDeleteConversationBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesDeleteConversationBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesDeleteConversationBuilder) UserID

UserID parameter. To clear a chat history use 'chat_id'.

type MessagesDenyMessagesFromGroupBuilder

type MessagesDenyMessagesFromGroupBuilder struct {
	api.Params
}

MessagesDenyMessagesFromGroupBuilder builder.

Denies sending message from community to the current user.

https://vk.com/dev/messages.denyMessagesFromGroup

func NewMessagesDenyMessagesFromGroupBuilder

func NewMessagesDenyMessagesFromGroupBuilder() *MessagesDenyMessagesFromGroupBuilder

NewMessagesDenyMessagesFromGroupBuilder func.

func (*MessagesDenyMessagesFromGroupBuilder) GroupID

GroupID community ID.

type MessagesEditBuilder

type MessagesEditBuilder struct {
	api.Params
}

MessagesEditBuilder builder.

Edits the message.

https://vk.com/dev/messages.edit

func NewMessagesEditBuilder

func NewMessagesEditBuilder() *MessagesEditBuilder

NewMessagesEditBuilder func.

func (*MessagesEditBuilder) Attachment

Attachment (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618".

func (*MessagesEditBuilder) ConversationMessageID

func (b *MessagesEditBuilder) ConversationMessageID(v int) *MessagesEditBuilder

ConversationMessageID parameter.

func (b *MessagesEditBuilder) DontParseLinks(v bool) *MessagesEditBuilder

DontParseLinks parameter.

func (*MessagesEditBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesEditBuilder) KeepForwardMessages

func (b *MessagesEditBuilder) KeepForwardMessages(v bool) *MessagesEditBuilder

KeepForwardMessages '1' — to keep forwarded, messages.

func (*MessagesEditBuilder) KeepSnippets

func (b *MessagesEditBuilder) KeepSnippets(v bool) *MessagesEditBuilder

KeepSnippets '1' — to keep attached snippets.

func (*MessagesEditBuilder) Keyboard

func (b *MessagesEditBuilder) Keyboard(v interface{}) *MessagesEditBuilder

Keyboard parameter. https://vk.com/dev/bots_docs_3

func (*MessagesEditBuilder) Lat

Lat geographical latitude of a check-in, in degrees (from -90 to 90).

func (*MessagesEditBuilder) Long

Long geographical longitude of a check-in, in degrees (from -180 to 180).

func (*MessagesEditBuilder) Message

Message (Required if 'attachments' is not set.) Text of the message.

func (*MessagesEditBuilder) MessageID

func (b *MessagesEditBuilder) MessageID(v int) *MessagesEditBuilder

MessageID parameter.

func (*MessagesEditBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesEditBuilder) Template

func (b *MessagesEditBuilder) Template(v interface{}) *MessagesEditBuilder

Template parameter. https://vk.com/dev/bot_docs_templates

type MessagesEditChatBuilder

type MessagesEditChatBuilder struct {
	api.Params
}

MessagesEditChatBuilder builder.

Edits the title of a chat.

https://vk.com/dev/messages.editChat

func NewMessagesEditChatBuilder

func NewMessagesEditChatBuilder() *MessagesEditChatBuilder

NewMessagesEditChatBuilder func.

func (*MessagesEditChatBuilder) ChatID

ChatID parameter.

func (*MessagesEditChatBuilder) Title

Title new title of the chat.

type MessagesForceCallFinishBuilder

type MessagesForceCallFinishBuilder struct {
	api.Params
}

MessagesForceCallFinishBuilder builder.

https://vk.com/dev/messages.forceCallFinish

func NewMessagesForceCallFinishBuilder

func NewMessagesForceCallFinishBuilder() *MessagesForceCallFinishBuilder

NewMessagesForceCallFinishBuilder func.

func (*MessagesForceCallFinishBuilder) CallID

CallID parameter.

type MessagesGetByConversationMessageIDBuilder

type MessagesGetByConversationMessageIDBuilder struct {
	api.Params
}

MessagesGetByConversationMessageIDBuilder builder.

Returns messages by their IDs within the conversation.

https://vk.com/dev/messages.getByConversationMessageId

func NewMessagesGetByConversationMessageIDBuilder

func NewMessagesGetByConversationMessageIDBuilder() *MessagesGetByConversationMessageIDBuilder

NewMessagesGetByConversationMessageIDBuilder func.

func (*MessagesGetByConversationMessageIDBuilder) ConversationMessageIDs

ConversationMessageIDs parameter.

func (*MessagesGetByConversationMessageIDBuilder) Extended

Extended information whether the response should be extended.

func (*MessagesGetByConversationMessageIDBuilder) Fields

Fields profile fields to return.

func (*MessagesGetByConversationMessageIDBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetByConversationMessageIDBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

type MessagesGetByIDBuilder

type MessagesGetByIDBuilder struct {
	api.Params
}

MessagesGetByIDBuilder builder.

Returns messages by their IDs.

https://vk.com/dev/messages.getById

func NewMessagesGetByIDBuilder

func NewMessagesGetByIDBuilder() *MessagesGetByIDBuilder

NewMessagesGetByIDBuilder func.

func (*MessagesGetByIDBuilder) Extended

Extended information whether the response should be extended.

func (*MessagesGetByIDBuilder) Fields

Fields profile fields to return.

func (*MessagesGetByIDBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetByIDBuilder) MessageIDs

MessageIDs parameter.

func (*MessagesGetByIDBuilder) PreviewLength

func (b *MessagesGetByIDBuilder) PreviewLength(v int) *MessagesGetByIDBuilder

PreviewLength number of characters after which to truncate a previewed message. To preview the full message, specify '0'.

NOTE: Messages are not truncated by default. Messages are truncated by words.

type MessagesGetChatPreviewBuilder

type MessagesGetChatPreviewBuilder struct {
	api.Params
}

MessagesGetChatPreviewBuilder builder.

https://vk.com/dev/messages.getChatPreview

func NewMessagesGetChatPreviewBuilder

func NewMessagesGetChatPreviewBuilder() *MessagesGetChatPreviewBuilder

NewMessagesGetChatPreviewBuilder func.

func (*MessagesGetChatPreviewBuilder) Fields

Fields profile fields to return.

Link invitation.

func (*MessagesGetChatPreviewBuilder) PeerID

PeerID parameter.

type MessagesGetConversationMembersBuilder

type MessagesGetConversationMembersBuilder struct {
	api.Params
}

MessagesGetConversationMembersBuilder builder.

Returns a list of IDs of users participating in a chat.

https://vk.com/dev/messages.getConversationMembers

func NewMessagesGetConversationMembersBuilder

func NewMessagesGetConversationMembersBuilder() *MessagesGetConversationMembersBuilder

NewMessagesGetConversationMembersBuilder func.

func (*MessagesGetConversationMembersBuilder) Fields

Fields profile fields to return.

func (*MessagesGetConversationMembersBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetConversationMembersBuilder) PeerID

PeerID parameter.

type MessagesGetConversationsBuilder

type MessagesGetConversationsBuilder struct {
	api.Params
}

MessagesGetConversationsBuilder builder.

Returns a list of the current user's conversations.

https://vk.com/dev/messages.getConversations

func NewMessagesGetConversationsBuilder

func NewMessagesGetConversationsBuilder() *MessagesGetConversationsBuilder

NewMessagesGetConversationsBuilder func.

func (*MessagesGetConversationsBuilder) Count

Count number of conversations to return.

func (*MessagesGetConversationsBuilder) Extended

Extended '1' — return extra information about users and communities.

func (*MessagesGetConversationsBuilder) Fields

Fields profile and communities fields to return.

func (*MessagesGetConversationsBuilder) Filter

Filter to apply: 'all' — all conversations, 'unread' — conversations with unread messages, 'important' — conversations, marked as important (only for community messages), 'unanswered' — conversations, marked as unanswered (only for community messages).

func (*MessagesGetConversationsBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetConversationsBuilder) Offset

Offset needed to return a specific subset of conversations.

func (*MessagesGetConversationsBuilder) StartMessageID

StartMessageID ID of the message from what to return dialogs.

type MessagesGetConversationsByIDBuilder

type MessagesGetConversationsByIDBuilder struct {
	api.Params
}

MessagesGetConversationsByIDBuilder builder.

Returns conversations by their IDs.

https://vk.com/dev/messages.getConversationsById

func NewMessagesGetConversationsByIDBuilder

func NewMessagesGetConversationsByIDBuilder() *MessagesGetConversationsByIDBuilder

NewMessagesGetConversationsByIDBuilder func.

func (*MessagesGetConversationsByIDBuilder) Extended

Extended return extended properties.

func (*MessagesGetConversationsByIDBuilder) Fields

Fields profile and communities fields to return.

func (*MessagesGetConversationsByIDBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetConversationsByIDBuilder) PeerIDs

PeerIDs destination IDs. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

type MessagesGetHistoryAttachmentsBuilder

type MessagesGetHistoryAttachmentsBuilder struct {
	api.Params
}

MessagesGetHistoryAttachmentsBuilder builder.

Returns media files from the dialog or group chat.

https://vk.com/dev/messages.getHistoryAttachments

func NewMessagesGetHistoryAttachmentsBuilder

func NewMessagesGetHistoryAttachmentsBuilder() *MessagesGetHistoryAttachmentsBuilder

NewMessagesGetHistoryAttachmentsBuilder func.

func (*MessagesGetHistoryAttachmentsBuilder) Count

Count number of objects to return.

func (*MessagesGetHistoryAttachmentsBuilder) Fields

Fields additional profile [vk.com/dev/fields|fields] to return.

func (*MessagesGetHistoryAttachmentsBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetHistoryAttachmentsBuilder) MaxForwardsLevel

MaxForwardsLevel parameter.

func (*MessagesGetHistoryAttachmentsBuilder) MediaType

MediaType Type of media files to return: *'photo',, *'video',, *'audio',, *'doc',, *'link'.,*'market'.,*'wall'.,*'share'.

func (*MessagesGetHistoryAttachmentsBuilder) PeerID

PeerID parameter. ", For group chat: '2000000000 + chat ID' , , For community: '-community ID'".

func (*MessagesGetHistoryAttachmentsBuilder) PhotoSizes

PhotoSizes '1' — to return photo sizes in a.

func (*MessagesGetHistoryAttachmentsBuilder) PreserveOrder

PreserveOrder parameter.

func (*MessagesGetHistoryAttachmentsBuilder) StartFrom

StartFrom message ID to start return results from.

type MessagesGetHistoryBuilder

type MessagesGetHistoryBuilder struct {
	api.Params
}

MessagesGetHistoryBuilder builder.

Returns message history for the specified user or group chat.

https://vk.com/dev/messages.getHistory

func NewMessagesGetHistoryBuilder

func NewMessagesGetHistoryBuilder() *MessagesGetHistoryBuilder

NewMessagesGetHistoryBuilder func.

func (*MessagesGetHistoryBuilder) Count

Count number of messages to return.

func (*MessagesGetHistoryBuilder) Extended

Extended information whether the response should be extended.

func (*MessagesGetHistoryBuilder) Fields

Fields profile fields to return.

func (*MessagesGetHistoryBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesGetHistoryBuilder) Offset

Offset needed to return a specific subset of messages.

func (*MessagesGetHistoryBuilder) PeerID

PeerID parameter.

func (*MessagesGetHistoryBuilder) Rev

Rev sort order: '1' — return messages in chronological order. '0' — return messages in reverse chronological order.

func (*MessagesGetHistoryBuilder) StartMessageID

StartMessageID starting message ID from which to return history.

func (*MessagesGetHistoryBuilder) UserID

UserID ID of the user whose message history you want to return.

type MessagesGetIntentUsersBuilder

type MessagesGetIntentUsersBuilder struct {
	api.Params
}

MessagesGetIntentUsersBuilder builder.

https://vk.com/dev/messages.getIntentUsers

func NewMessagesGetIntentUsersBuilder

func NewMessagesGetIntentUsersBuilder() *MessagesGetIntentUsersBuilder

NewMessagesGetIntentUsersBuilder func.

func (*MessagesGetIntentUsersBuilder) Count

Count parameter.

func (*MessagesGetIntentUsersBuilder) Extended

Extended parameter.

func (*MessagesGetIntentUsersBuilder) Fields

Fields parameter.

func (*MessagesGetIntentUsersBuilder) Intent

Intent parameter.

func (*MessagesGetIntentUsersBuilder) NameCase

NameCase parameter.

func (*MessagesGetIntentUsersBuilder) Offset

Offset parameter.

func (*MessagesGetIntentUsersBuilder) SubscribeID

SubscribeID parameter.

type MessagesGetInviteLinkBuilder

type MessagesGetInviteLinkBuilder struct {
	api.Params
}

MessagesGetInviteLinkBuilder builder.

https://vk.com/dev/messages.getInviteLink

func NewMessagesGetInviteLinkBuilder

func NewMessagesGetInviteLinkBuilder() *MessagesGetInviteLinkBuilder

NewMessagesGetInviteLinkBuilder func.

func (*MessagesGetInviteLinkBuilder) GroupID

GroupID community ID.

func (*MessagesGetInviteLinkBuilder) PeerID

PeerID destination ID.

func (*MessagesGetInviteLinkBuilder) Reset

Reset 1 — to generate new link (revoke previous), 0 — to return previous link.

type MessagesGetLastActivityBuilder

type MessagesGetLastActivityBuilder struct {
	api.Params
}

MessagesGetLastActivityBuilder builder.

Returns a user's current status and date of last activity.

https://vk.com/dev/messages.getLastActivity

func NewMessagesGetLastActivityBuilder

func NewMessagesGetLastActivityBuilder() *MessagesGetLastActivityBuilder

NewMessagesGetLastActivityBuilder func.

func (*MessagesGetLastActivityBuilder) UserID

UserID parameter.

type MessagesGetLongPollHistoryBuilder

type MessagesGetLongPollHistoryBuilder struct {
	api.Params
}

MessagesGetLongPollHistoryBuilder builder.

Returns updates in user's private messages.

https://vk.com/dev/messages.getLongPollHistory

func NewMessagesGetLongPollHistoryBuilder

func NewMessagesGetLongPollHistoryBuilder() *MessagesGetLongPollHistoryBuilder

NewMessagesGetLongPollHistoryBuilder func.

func (*MessagesGetLongPollHistoryBuilder) Credentials

Credentials parameter.

func (*MessagesGetLongPollHistoryBuilder) EventsLimit

EventsLimit maximum number of events to return.

func (*MessagesGetLongPollHistoryBuilder) Fields

Fields additional profile [vk.com/dev/fields|fields] to return.

func (*MessagesGetLongPollHistoryBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesGetLongPollHistoryBuilder) LastN

LastN parameter.

func (*MessagesGetLongPollHistoryBuilder) LpVersion

LpVersion parameter.

func (*MessagesGetLongPollHistoryBuilder) MaxMsgID

MaxMsgID maximum ID of the message among existing ones in the local copy. Both messages received with API methods (for example, , ), and data received from a Long Poll server (events with code 4) are taken into account.

func (*MessagesGetLongPollHistoryBuilder) MsgsLimit

MsgsLimit maximum number of messages to return.

func (*MessagesGetLongPollHistoryBuilder) Onlines

Onlines '1' — to return history with online users only.

func (*MessagesGetLongPollHistoryBuilder) PreviewLength

PreviewLength number of characters after which to truncate a previewed message. To preview the full message, specify '0'.

NOTE: Messages are not truncated by default. Messages are truncated by words.

func (*MessagesGetLongPollHistoryBuilder) Pts

Pts lsat value of 'pts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.

func (*MessagesGetLongPollHistoryBuilder) Ts

Ts last value of the 'ts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory| messages.getLongPollHistory] method.

type MessagesGetLongPollServerBuilder

type MessagesGetLongPollServerBuilder struct {
	api.Params
}

MessagesGetLongPollServerBuilder builder.

Returns data required for connection to a Long Poll server.

https://vk.com/dev/messages.getLongPollServer

func NewMessagesGetLongPollServerBuilder

func NewMessagesGetLongPollServerBuilder() *MessagesGetLongPollServerBuilder

NewMessagesGetLongPollServerBuilder func.

func (*MessagesGetLongPollServerBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesGetLongPollServerBuilder) LpVersion

LpVersion long poll version.

func (*MessagesGetLongPollServerBuilder) NeedPts

NeedPts '1' — to return the 'pts' field, needed for the [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.

type MessagesIsMessagesFromGroupAllowedBuilder

type MessagesIsMessagesFromGroupAllowedBuilder struct {
	api.Params
}

MessagesIsMessagesFromGroupAllowedBuilder builder.

Returns information whether sending messages from the community to current user is allowed.

https://vk.com/dev/messages.isMessagesFromGroupAllowed

func NewMessagesIsMessagesFromGroupAllowedBuilder

func NewMessagesIsMessagesFromGroupAllowedBuilder() *MessagesIsMessagesFromGroupAllowedBuilder

NewMessagesIsMessagesFromGroupAllowedBuilder func.

func (*MessagesIsMessagesFromGroupAllowedBuilder) GroupID

GroupID community ID.

func (*MessagesIsMessagesFromGroupAllowedBuilder) UserID

UserID parameter.

type MessagesJoinChatByInviteLinkBuilder

type MessagesJoinChatByInviteLinkBuilder struct {
	api.Params
}

MessagesJoinChatByInviteLinkBuilder builder.

https://vk.com/dev/messages.joinChatByInviteLink

func NewMessagesJoinChatByInviteLinkBuilder

func NewMessagesJoinChatByInviteLinkBuilder() *MessagesJoinChatByInviteLinkBuilder

NewMessagesJoinChatByInviteLinkBuilder func.

Link invitation.

type MessagesMarkAsAnsweredConversationBuilder

type MessagesMarkAsAnsweredConversationBuilder struct {
	api.Params
}

MessagesMarkAsAnsweredConversationBuilder builder.

Marks and unmarks conversations as unanswered.

https://vk.com/dev/messages.markAsAnsweredConversation

func NewMessagesMarkAsAnsweredConversationBuilder

func NewMessagesMarkAsAnsweredConversationBuilder() *MessagesMarkAsAnsweredConversationBuilder

NewMessagesMarkAsAnsweredConversationBuilder func.

func (*MessagesMarkAsAnsweredConversationBuilder) Answered

Answered '1' — to mark as answered, '0' — to remove the mark.

func (*MessagesMarkAsAnsweredConversationBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesMarkAsAnsweredConversationBuilder) PeerID

PeerID ID of conversation to mark as important.

type MessagesMarkAsImportantBuilder

type MessagesMarkAsImportantBuilder struct {
	api.Params
}

MessagesMarkAsImportantBuilder builder.

Marks and unmarks messages as important (starred).

https://vk.com/dev/messages.markAsImportant

func NewMessagesMarkAsImportantBuilder

func NewMessagesMarkAsImportantBuilder() *MessagesMarkAsImportantBuilder

NewMessagesMarkAsImportantBuilder func.

func (*MessagesMarkAsImportantBuilder) Important

Important '1' — to add a star (mark as important), '0' — to remove the star.

func (*MessagesMarkAsImportantBuilder) MessageIDs

MessageIDs IDs of messages to mark as important.

type MessagesMarkAsImportantConversationBuilder

type MessagesMarkAsImportantConversationBuilder struct {
	api.Params
}

MessagesMarkAsImportantConversationBuilder builder.

Marks and unmarks conversations as important.

https://vk.com/dev/messages.markAsImportantConversation

func NewMessagesMarkAsImportantConversationBuilder

func NewMessagesMarkAsImportantConversationBuilder() *MessagesMarkAsImportantConversationBuilder

NewMessagesMarkAsImportantConversationBuilder func.

func (*MessagesMarkAsImportantConversationBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesMarkAsImportantConversationBuilder) Important

Important '1' — to add a star (mark as important), '0' — to remove the star.

func (*MessagesMarkAsImportantConversationBuilder) PeerID

PeerID ID of conversation to mark as important.

type MessagesMarkAsReadBuilder

type MessagesMarkAsReadBuilder struct {
	api.Params
}

MessagesMarkAsReadBuilder builder.

Marks messages as read.

https://vk.com/dev/messages.markAsRead

func NewMessagesMarkAsReadBuilder

func NewMessagesMarkAsReadBuilder() *MessagesMarkAsReadBuilder

NewMessagesMarkAsReadBuilder func.

func (*MessagesMarkAsReadBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesMarkAsReadBuilder) MessageIDs

MessageIDs IDs of messages to mark as read.

func (*MessagesMarkAsReadBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesMarkAsReadBuilder) StartMessageID

StartMessageID message ID to start from.

type MessagesPinBuilder

type MessagesPinBuilder struct {
	api.Params
}

MessagesPinBuilder builder.

Pin a message.

https://vk.com/dev/messages.pin

func NewMessagesPinBuilder

func NewMessagesPinBuilder() *MessagesPinBuilder

NewMessagesPinBuilder func.

func (*MessagesPinBuilder) ConversationMessageID

func (b *MessagesPinBuilder) ConversationMessageID(v int) *MessagesPinBuilder

ConversationMessageID parameter.

func (*MessagesPinBuilder) MessageID

func (b *MessagesPinBuilder) MessageID(v int) *MessagesPinBuilder

MessageID parameter.

func (*MessagesPinBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'.

type MessagesRemoveChatUserBuilder

type MessagesRemoveChatUserBuilder struct {
	api.Params
}

MessagesRemoveChatUserBuilder builder.

Allows the current user to leave a chat or, if the current user started the chat, allows the user to remove another user from the chat.

https://vk.com/dev/messages.removeChatUser

func NewMessagesRemoveChatUserBuilder

func NewMessagesRemoveChatUserBuilder() *MessagesRemoveChatUserBuilder

NewMessagesRemoveChatUserBuilder func.

func (*MessagesRemoveChatUserBuilder) ChatID

ChatID parameter.

func (*MessagesRemoveChatUserBuilder) MemberID

MemberID parameter.

func (*MessagesRemoveChatUserBuilder) UserID

UserID ID of the user to be removed from the chat.

type MessagesRestoreBuilder

type MessagesRestoreBuilder struct {
	api.Params
}

MessagesRestoreBuilder builder.

Restores a deleted message.

https://vk.com/dev/messages.restore

func NewMessagesRestoreBuilder

func NewMessagesRestoreBuilder() *MessagesRestoreBuilder

NewMessagesRestoreBuilder func.

func (*MessagesRestoreBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesRestoreBuilder) MessageID

MessageID ID of a previously-deleted message to restore.

type MessagesSearchBuilder

type MessagesSearchBuilder struct {
	api.Params
}

MessagesSearchBuilder builder.

Returns a list of the current user's private messages that match search criteria.

https://vk.com/dev/messages.search

func NewMessagesSearchBuilder

func NewMessagesSearchBuilder() *MessagesSearchBuilder

NewMessagesSearchBuilder func.

func (*MessagesSearchBuilder) Count

Count number of messages to return.

func (*MessagesSearchBuilder) Date

Date to search message before in Unixtime.

func (*MessagesSearchBuilder) Extended

Extended parameter.

func (*MessagesSearchBuilder) Fields

Fields parameter.

func (*MessagesSearchBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesSearchBuilder) Offset

Offset needed to return a specific subset of messages.

func (*MessagesSearchBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesSearchBuilder) PreviewLength

func (b *MessagesSearchBuilder) PreviewLength(v int) *MessagesSearchBuilder

PreviewLength number of characters after which to truncate a previewed message. To preview the full message, specify '0'.

NOTE: Messages are not truncated by default. Messages are truncated by words.

func (*MessagesSearchBuilder) Q

Q search query string.

type MessagesSearchConversationsBuilder

type MessagesSearchConversationsBuilder struct {
	api.Params
}

MessagesSearchConversationsBuilder builder.

Returns a list of the current user's conversations that match search criteria.

https://vk.com/dev/messages.searchConversations

func NewMessagesSearchConversationsBuilder

func NewMessagesSearchConversationsBuilder() *MessagesSearchConversationsBuilder

NewMessagesSearchConversationsBuilder func.

func (*MessagesSearchConversationsBuilder) Count

Count maximum number of results.

func (*MessagesSearchConversationsBuilder) Extended

Extended '1' — return extra information about users and communities.

func (*MessagesSearchConversationsBuilder) Fields

Fields profile fields to return.

func (*MessagesSearchConversationsBuilder) GroupID

GroupID community ID (for group messages with user access token).

func (*MessagesSearchConversationsBuilder) Q

Q search query string.

type MessagesSendBuilder

type MessagesSendBuilder struct {
	api.Params
}

MessagesSendBuilder builder.

Sends a message.

https://vk.com/dev/messages.send

func NewMessagesSendBuilder

func NewMessagesSendBuilder() *MessagesSendBuilder

NewMessagesSendBuilder func.

func (*MessagesSendBuilder) Attachment

func (b *MessagesSendBuilder) Attachment(v interface{}) *MessagesSendBuilder

Attachment (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618".

func (*MessagesSendBuilder) ChatID

ChatID ID of conversation the message will relate to.

func (*MessagesSendBuilder) ContentSource

func (b *MessagesSendBuilder) ContentSource(v interface{}) *MessagesSendBuilder

ContentSource parameter. https://vk.com/dev/bots_docs_2

func (*MessagesSendBuilder) DisableMentions

func (b *MessagesSendBuilder) DisableMentions(v bool) *MessagesSendBuilder

DisableMentions parameter.

func (*MessagesSendBuilder) Domain

Domain user's short address (for example, 'illarionov').

func (b *MessagesSendBuilder) DontParseLinks(v bool) *MessagesSendBuilder

DontParseLinks parameter.

func (*MessagesSendBuilder) Forward

func (b *MessagesSendBuilder) Forward(v interface{}) *MessagesSendBuilder

Forward parameter.

func (*MessagesSendBuilder) ForwardMessages

func (b *MessagesSendBuilder) ForwardMessages(v []int) *MessagesSendBuilder

ForwardMessages ID of forwarded messages, separated with a comma. Listed messages of the sender will be shown in the message body at the recipient's. Example: "123,431,544".

func (*MessagesSendBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesSendBuilder) Intent

Intent parameter.

https://vk.com/dev/bots_docs_4

func (*MessagesSendBuilder) Keyboard

func (b *MessagesSendBuilder) Keyboard(v interface{}) *MessagesSendBuilder

Keyboard parameter. https://vk.com/dev/bots_docs_3

func (*MessagesSendBuilder) Lat

Lat geographical latitude of a check-in, in degrees (from -90 to 90).

func (*MessagesSendBuilder) Long

Long geographical longitude of a check-in, in degrees (from -180 to 180).

func (*MessagesSendBuilder) Message

Message (Required if 'attachments' is not set.) Text of the message.

func (*MessagesSendBuilder) Payload

Payload parameter.

func (*MessagesSendBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesSendBuilder) PeerIDs

func (b *MessagesSendBuilder) PeerIDs(v []int) *MessagesSendBuilder

PeerIDs IDs of message recipients.

func (*MessagesSendBuilder) RandomID

RandomID unique identifier to avoid resending the message.

func (*MessagesSendBuilder) ReplyTo

ReplyTo parameter.

func (*MessagesSendBuilder) StickerID

func (b *MessagesSendBuilder) StickerID(v int) *MessagesSendBuilder

StickerID sticker id.

func (*MessagesSendBuilder) SubscribeID

func (b *MessagesSendBuilder) SubscribeID(v int) *MessagesSendBuilder

SubscribeID parameter.

TODO: write subscribe_id documentation.

func (*MessagesSendBuilder) Template

func (b *MessagesSendBuilder) Template(v interface{}) *MessagesSendBuilder

Template parameter. https://vk.com/dev/bot_docs_templates

func (*MessagesSendBuilder) UserID

UserID user ID (by default — current user).

func (*MessagesSendBuilder) UserIDs deprecated

func (b *MessagesSendBuilder) UserIDs(v []int) *MessagesSendBuilder

UserIDs IDs of message recipients (if new conversation shall be started).

Deprecated: outdated option, only for versions before 5.138.

type MessagesSendMessageEventAnswerBuilder

type MessagesSendMessageEventAnswerBuilder struct {
	api.Params
}

MessagesSendMessageEventAnswerBuilder builder.

Changes the status of a user as typing in a conversation.

https://vk.com/dev/messages.sendMessageEventAnswer

func NewMessagesSendMessageEventAnswerBuilder

func NewMessagesSendMessageEventAnswerBuilder() *MessagesSendMessageEventAnswerBuilder

NewMessagesSendMessageEventAnswerBuilder func.

func (*MessagesSendMessageEventAnswerBuilder) EventData

EventData parameter.

func (*MessagesSendMessageEventAnswerBuilder) EventID

EventID parameter.

func (*MessagesSendMessageEventAnswerBuilder) PeerID

PeerID parameter.

func (*MessagesSendMessageEventAnswerBuilder) UserID

UserID parameter.

type MessagesSetActivityBuilder

type MessagesSetActivityBuilder struct {
	api.Params
}

MessagesSetActivityBuilder builder.

Changes the status of a user as typing in a conversation.

https://vk.com/dev/messages.setActivity

func NewMessagesSetActivityBuilder

func NewMessagesSetActivityBuilder() *MessagesSetActivityBuilder

NewMessagesSetActivityBuilder func.

func (*MessagesSetActivityBuilder) GroupID

GroupID community ID (for group messages with group access token).

func (*MessagesSetActivityBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'.

func (*MessagesSetActivityBuilder) Type

Type 'typing' — user has started to type.

func (*MessagesSetActivityBuilder) UserID

UserID parameter.

type MessagesSetChatPhotoBuilder

type MessagesSetChatPhotoBuilder struct {
	api.Params
}

MessagesSetChatPhotoBuilder builder.

Sets a previously-uploaded picture as the cover picture of a chat.

https://vk.com/dev/messages.setChatPhoto

func NewMessagesSetChatPhotoBuilder

func NewMessagesSetChatPhotoBuilder() *MessagesSetChatPhotoBuilder

NewMessagesSetChatPhotoBuilder func.

func (*MessagesSetChatPhotoBuilder) File

File upload URL from the 'response' field returned by the [vk.com/dev/photos.getChatUploadServer|photos.getChatUploadServer] method upon successfully uploading an image.

type MessagesStartCallBuilder

type MessagesStartCallBuilder struct {
	api.Params
}

MessagesStartCallBuilder builder.

https://vk.com/dev/messages.startCall

func NewMessagesStartCallBuilder

func NewMessagesStartCallBuilder() *MessagesStartCallBuilder

NewMessagesStartCallBuilder func.

func (*MessagesStartCallBuilder) GroupID

GroupID parameter.

type MessagesUnpinBuilder

type MessagesUnpinBuilder struct {
	api.Params
}

MessagesUnpinBuilder builder.

https://vk.com/dev/messages.unpin

func NewMessagesUnpinBuilder

func NewMessagesUnpinBuilder() *MessagesUnpinBuilder

NewMessagesUnpinBuilder func.

func (*MessagesUnpinBuilder) GroupID

GroupID parameter.

func (*MessagesUnpinBuilder) PeerID

PeerID parameter.

type NewsfeedAddBanBuilder

type NewsfeedAddBanBuilder struct {
	api.Params
}

NewsfeedAddBanBuilder builder.

Prevents news from specified users and communities from appearing in the current user's newsfeed.

https://vk.com/dev/newsfeed.addBan

func NewNewsfeedAddBanBuilder

func NewNewsfeedAddBanBuilder() *NewsfeedAddBanBuilder

NewNewsfeedAddBanBuilder func.

func (*NewsfeedAddBanBuilder) GroupIDs

GroupIDs parameter.

func (*NewsfeedAddBanBuilder) UserIDs

UserIDs parameter.

type NewsfeedDeleteBanBuilder

type NewsfeedDeleteBanBuilder struct {
	api.Params
}

NewsfeedDeleteBanBuilder builder.

Allows news from previously banned users and communities to be shown in the current user's newsfeed.

https://vk.com/dev/newsfeed.deleteBan

func NewNewsfeedDeleteBanBuilder

func NewNewsfeedDeleteBanBuilder() *NewsfeedDeleteBanBuilder

NewNewsfeedDeleteBanBuilder func.

func (*NewsfeedDeleteBanBuilder) GroupIDs

GroupIDs parameter.

func (*NewsfeedDeleteBanBuilder) UserIDs

UserIDs parameter.

type NewsfeedDeleteListBuilder

type NewsfeedDeleteListBuilder struct {
	api.Params
}

NewsfeedDeleteListBuilder builder.

https://vk.com/dev/newsfeed.deleteList

func NewNewsfeedDeleteListBuilder

func NewNewsfeedDeleteListBuilder() *NewsfeedDeleteListBuilder

NewNewsfeedDeleteListBuilder func.

func (*NewsfeedDeleteListBuilder) ListID

ListID parameter.

type NewsfeedGetBannedBuilder

type NewsfeedGetBannedBuilder struct {
	api.Params
}

NewsfeedGetBannedBuilder builder.

Returns a list of users and communities banned from the current user's newsfeed.

https://vk.com/dev/newsfeed.getBanned

func NewNewsfeedGetBannedBuilder

func NewNewsfeedGetBannedBuilder() *NewsfeedGetBannedBuilder

NewNewsfeedGetBannedBuilder func.

func (*NewsfeedGetBannedBuilder) Extended

Extended '1' — return extra information about users and communities.

func (*NewsfeedGetBannedBuilder) Fields

Fields profile fields to return.

func (*NewsfeedGetBannedBuilder) NameCase

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

type NewsfeedGetBuilder

type NewsfeedGetBuilder struct {
	api.Params
}

NewsfeedGetBuilder builder.

Returns data required to show newsfeed for the current user.

https://vk.com/dev/newsfeed.get

func NewNewsfeedGetBuilder

func NewNewsfeedGetBuilder() *NewsfeedGetBuilder

NewNewsfeedGetBuilder func.

func (*NewsfeedGetBuilder) Count

Count number of news items to return (default 50, maximum 100). For auto feed, you can use the 'new_offset' parameter returned by this method.

func (*NewsfeedGetBuilder) EndTime

func (b *NewsfeedGetBuilder) EndTime(v int) *NewsfeedGetBuilder

EndTime latest timestamp (in Unix time) of a news item to return. By default, the current time.

func (*NewsfeedGetBuilder) Fields

Fields additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.

func (*NewsfeedGetBuilder) Filters

func (b *NewsfeedGetBuilder) Filters(v []string) *NewsfeedGetBuilder

Filters to apply:

* post — new wall posts;

* photo — new photos;

* photo_tag — new photo tags;

* wall_photo — new wall photos;

* friend — new friends;

* note — new notes.

func (*NewsfeedGetBuilder) MaxPhotos

func (b *NewsfeedGetBuilder) MaxPhotos(v int) *NewsfeedGetBuilder

MaxPhotos maximum number of photos to return. By default, '5'.

func (*NewsfeedGetBuilder) ReturnBanned

func (b *NewsfeedGetBuilder) ReturnBanned(v bool) *NewsfeedGetBuilder

ReturnBanned '1' — to return news items from banned sources.

func (*NewsfeedGetBuilder) Section

Section parameter.

func (*NewsfeedGetBuilder) SourceIDs

func (b *NewsfeedGetBuilder) SourceIDs(v string) *NewsfeedGetBuilder

SourceIDs sources to obtain news from, separated by commas. User IDs can be specified in formats ” or 'u' , where ” is the user's friend ID. Community IDs can be specified in formats '-' or 'g' , where ” is the community ID.

If the parameter is not set, all of the user's friends and communities are returned, except for banned sources, which can be obtained with the [vk.com/dev/newsfeed.getBanned|newsfeed.getBanned] method.

func (*NewsfeedGetBuilder) StartFrom

func (b *NewsfeedGetBuilder) StartFrom(v string) *NewsfeedGetBuilder

StartFrom identifier required to get the next page of results. Value for this parameter is returned in 'next_from' field in a reply.

func (*NewsfeedGetBuilder) StartTime

func (b *NewsfeedGetBuilder) StartTime(v int) *NewsfeedGetBuilder

StartTime earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.

type NewsfeedGetCommentsBuilder

type NewsfeedGetCommentsBuilder struct {
	api.Params
}

NewsfeedGetCommentsBuilder builder.

Returns a list of comments in the current user's newsfeed.

https://vk.com/dev/newsfeed.getComments

func NewNewsfeedGetCommentsBuilder

func NewNewsfeedGetCommentsBuilder() *NewsfeedGetCommentsBuilder

NewNewsfeedGetCommentsBuilder func.

func (*NewsfeedGetCommentsBuilder) Count

Count number of comments to return. For auto feed, you can use the 'new_offset' parameter returned by this method.

func (*NewsfeedGetCommentsBuilder) EndTime

EndTime latest timestamp (in Unix time) of a comment to return. By default, the current time.

func (*NewsfeedGetCommentsBuilder) Fields

Fields additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.

func (*NewsfeedGetCommentsBuilder) Filters

Filters to apply:

* post — new comments on wall posts;

* photo — new comments on photos;

* video — new comments on videos;

* topic — new comments on discussions;

* note — new comments on notes.

func (*NewsfeedGetCommentsBuilder) LastCommentsCount

LastCommentsCount parameter.

func (*NewsfeedGetCommentsBuilder) Reposts

Reposts object ID, comments on repost of which shall be returned, e.g. 'wall1_45486'. (If the parameter is set, the 'filters' parameter is optional.).

func (*NewsfeedGetCommentsBuilder) StartFrom

StartFrom identificator needed to return the next page with results. Value for this parameter returns in 'next_from' field.

func (*NewsfeedGetCommentsBuilder) StartTime

StartTime earliest timestamp (in Unix time) of a comment to return. By default, 24 hours ago.

type NewsfeedGetListsBuilder

type NewsfeedGetListsBuilder struct {
	api.Params
}

NewsfeedGetListsBuilder builder.

Returns a list of newsfeeds followed by the current user.

https://vk.com/dev/newsfeed.getLists

func NewNewsfeedGetListsBuilder

func NewNewsfeedGetListsBuilder() *NewsfeedGetListsBuilder

NewNewsfeedGetListsBuilder func.

func (*NewsfeedGetListsBuilder) Extended

Extended return additional list info.

func (*NewsfeedGetListsBuilder) ListIDs

ListIDs numeric list identifiers.

type NewsfeedGetMentionsBuilder

type NewsfeedGetMentionsBuilder struct {
	api.Params
}

NewsfeedGetMentionsBuilder builder.

Returns a list of posts on user walls in which the current user is mentioned.

https://vk.com/dev/newsfeed.getMentions

func NewNewsfeedGetMentionsBuilder

func NewNewsfeedGetMentionsBuilder() *NewsfeedGetMentionsBuilder

NewNewsfeedGetMentionsBuilder func.

func (*NewsfeedGetMentionsBuilder) Count

Count number of posts to return.

func (*NewsfeedGetMentionsBuilder) EndTime

EndTime latest timestamp (in Unix time) of a post to return. By default, the current time.

func (*NewsfeedGetMentionsBuilder) Offset

Offset needed to return a specific subset of posts.

func (*NewsfeedGetMentionsBuilder) OwnerID

OwnerID parameter.

func (*NewsfeedGetMentionsBuilder) StartTime

StartTime earliest timestamp (in Unix time) of a post to return. By default, 24 hours ago.

type NewsfeedGetRecommendedBuilder

type NewsfeedGetRecommendedBuilder struct {
	api.Params
}

NewsfeedGetRecommendedBuilder builder.

Returns a list of newsfeeds recommended to the current user.

https://vk.com/dev/newsfeed.getRecommended

func NewNewsfeedGetRecommendedBuilder

func NewNewsfeedGetRecommendedBuilder() *NewsfeedGetRecommendedBuilder

NewNewsfeedGetRecommendedBuilder func.

func (*NewsfeedGetRecommendedBuilder) Count

Count number of news items to return.

func (*NewsfeedGetRecommendedBuilder) EndTime

EndTime latest timestamp (in Unix time) of a news item to return. By default, the current time.

func (*NewsfeedGetRecommendedBuilder) Fields

Fields additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.

func (*NewsfeedGetRecommendedBuilder) MaxPhotos

MaxPhotos maximum number of photos to return. By default, '5'.

func (*NewsfeedGetRecommendedBuilder) StartFrom

StartFrom 'new_from' value obtained in previous call.

func (*NewsfeedGetRecommendedBuilder) StartTime

StartTime earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.

type NewsfeedGetSuggestedSourcesBuilder

type NewsfeedGetSuggestedSourcesBuilder struct {
	api.Params
}

NewsfeedGetSuggestedSourcesBuilder builder.

Returns communities and users that current user is suggested to follow.

https://vk.com/dev/newsfeed.getSuggestedSources

func NewNewsfeedGetSuggestedSourcesBuilder

func NewNewsfeedGetSuggestedSourcesBuilder() *NewsfeedGetSuggestedSourcesBuilder

NewNewsfeedGetSuggestedSourcesBuilder func.

func (*NewsfeedGetSuggestedSourcesBuilder) Count

Count amount of communities or users to return.

func (*NewsfeedGetSuggestedSourcesBuilder) Fields

Fields list of extra fields to be returned. See available fields for [vk.com/dev/fields|users] and [vk.com/dev/fields_groups|communities].

func (*NewsfeedGetSuggestedSourcesBuilder) Offset

Offset offset required to choose a particular subset of communities or users.

func (*NewsfeedGetSuggestedSourcesBuilder) Shuffle

Shuffle shuffle the returned list or not.

type NewsfeedIgnoreItemBuilder

type NewsfeedIgnoreItemBuilder struct {
	api.Params
}

NewsfeedIgnoreItemBuilder builder.

Hides an item from the newsfeed.

https://vk.com/dev/newsfeed.ignoreItem

func NewNewsfeedIgnoreItemBuilder

func NewNewsfeedIgnoreItemBuilder() *NewsfeedIgnoreItemBuilder

NewNewsfeedIgnoreItemBuilder func.

func (*NewsfeedIgnoreItemBuilder) ItemID

ItemID item identifier.

func (*NewsfeedIgnoreItemBuilder) OwnerID

OwnerID item owner's identifier (user or community), Note that community id must be negative. 'owner_id=1' – user , 'owner_id=-1' – community.

func (*NewsfeedIgnoreItemBuilder) Type

Type item. Possible values:

* wall – post on the wall;

* tag – tag on a photo;

* profilephoto – profile photo;

* video – video;

* audio – audio.

type NewsfeedSaveListBuilder

type NewsfeedSaveListBuilder struct {
	api.Params
}

NewsfeedSaveListBuilder builder.

Creates and edits user newsfeed lists.

https://vk.com/dev/newsfeed.saveList

func NewNewsfeedSaveListBuilder

func NewNewsfeedSaveListBuilder() *NewsfeedSaveListBuilder

NewNewsfeedSaveListBuilder func.

func (*NewsfeedSaveListBuilder) ListID

ListID numeric list identifier (if not sent, will be set automatically).

func (*NewsfeedSaveListBuilder) NoReposts

NoReposts reposts display on and off ('1' is for off).

func (*NewsfeedSaveListBuilder) SourceIDs

SourceIDs users and communities identifiers to be added to the list. Community identifiers must be negative numbers.

func (*NewsfeedSaveListBuilder) Title

Title list name.

type NewsfeedSearchBuilder

type NewsfeedSearchBuilder struct {
	api.Params
}

NewsfeedSearchBuilder builder.

Returns search results by statuses.

https://vk.com/dev/newsfeed.search

func NewNewsfeedSearchBuilder

func NewNewsfeedSearchBuilder() *NewsfeedSearchBuilder

NewNewsfeedSearchBuilder func.

func (*NewsfeedSearchBuilder) Count

Count number of posts to return.

func (*NewsfeedSearchBuilder) EndTime

EndTime latest timestamp (in Unix time) of a news item to return. By default, the current time.

func (*NewsfeedSearchBuilder) Extended

Extended '1' — to return additional information about the user or community that placed the post.

func (*NewsfeedSearchBuilder) Fields

Fields additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.

func (*NewsfeedSearchBuilder) Latitude

Latitude geographical latitude point (in degrees, -90 to 90) within which to search.

func (*NewsfeedSearchBuilder) Longitude

Longitude geographical longitude point (in degrees, -180 to 180) within which to search.

func (*NewsfeedSearchBuilder) Q

Q search query string (e.g., 'New Year').

func (*NewsfeedSearchBuilder) StartFrom

StartFrom parameter.

func (*NewsfeedSearchBuilder) StartTime

StartTime earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.

type NewsfeedUnignoreItemBuilder

type NewsfeedUnignoreItemBuilder struct {
	api.Params
}

NewsfeedUnignoreItemBuilder builder.

Returns a hidden item to the newsfeed.

https://vk.com/dev/newsfeed.unignoreItem

func NewNewsfeedUnignoreItemBuilder

func NewNewsfeedUnignoreItemBuilder() *NewsfeedUnignoreItemBuilder

NewNewsfeedUnignoreItemBuilder func.

func (*NewsfeedUnignoreItemBuilder) ItemID

ItemID parameter.

func (*NewsfeedUnignoreItemBuilder) OwnerID

OwnerID item owner's identifier (user or community), Note that community id must be negative. 'owner_id=1' – user , 'owner_id=-1' – community.

func (*NewsfeedUnignoreItemBuilder) TrackCode

TrackCode parameter.

func (*NewsfeedUnignoreItemBuilder) Type

Type item. Possible values:

* wall – post on the wall;

* tag – tag on a photo;

* profilephoto – profile photo;

* video – video;

* audio – audio.

type NewsfeedUnsubscribeBuilder

type NewsfeedUnsubscribeBuilder struct {
	api.Params
}

NewsfeedUnsubscribeBuilder builder.

Unsubscribes the current user from specified newsfeeds.

https://vk.com/dev/newsfeed.unsubscribe

func NewNewsfeedUnsubscribeBuilder

func NewNewsfeedUnsubscribeBuilder() *NewsfeedUnsubscribeBuilder

NewNewsfeedUnsubscribeBuilder func.

func (*NewsfeedUnsubscribeBuilder) ItemID

ItemID object ID.

func (*NewsfeedUnsubscribeBuilder) OwnerID

OwnerID object owner ID.

func (*NewsfeedUnsubscribeBuilder) Type

Type Type of object from which to unsubscribe:

* note — note;

* photo — photo;

* post — post on user wall or community wall;

* topic — topic;

* video — video.

type NotesAddBuilder

type NotesAddBuilder struct {
	api.Params
}

NotesAddBuilder builder.

Creates a new note for the current user.

https://vk.com/dev/notes.add

func NewNotesAddBuilder

func NewNotesAddBuilder() *NotesAddBuilder

NewNotesAddBuilder func.

func (*NotesAddBuilder) PrivacyComment

func (b *NotesAddBuilder) PrivacyComment(v []string) *NotesAddBuilder

PrivacyComment parameter.

func (*NotesAddBuilder) PrivacyView

func (b *NotesAddBuilder) PrivacyView(v []string) *NotesAddBuilder

PrivacyView parameter.

func (*NotesAddBuilder) Text

Text note text.

func (*NotesAddBuilder) Title

func (b *NotesAddBuilder) Title(v string) *NotesAddBuilder

Title note title.

type NotesCreateCommentBuilder

type NotesCreateCommentBuilder struct {
	api.Params
}

NotesCreateCommentBuilder builder.

Adds a new comment on a note.

https://vk.com/dev/notes.createComment

func NewNotesCreateCommentBuilder

func NewNotesCreateCommentBuilder() *NotesCreateCommentBuilder

NewNotesCreateCommentBuilder func.

func (*NotesCreateCommentBuilder) GUID

GUID parameter.

func (*NotesCreateCommentBuilder) Message

Message comment text.

func (*NotesCreateCommentBuilder) NoteID

NoteID parameter.

func (*NotesCreateCommentBuilder) OwnerID

OwnerID note owner ID.

func (*NotesCreateCommentBuilder) ReplyTo

ReplyTo ID of the user to whom the reply is addressed (if the comment is a reply to another comment).

type NotesDeleteBuilder

type NotesDeleteBuilder struct {
	api.Params
}

NotesDeleteBuilder builder.

Deletes a note of the current user.

https://vk.com/dev/notes.delete

func NewNotesDeleteBuilder

func NewNotesDeleteBuilder() *NotesDeleteBuilder

NewNotesDeleteBuilder func.

func (*NotesDeleteBuilder) NoteID

NoteID parameter.

type NotesDeleteCommentBuilder

type NotesDeleteCommentBuilder struct {
	api.Params
}

NotesDeleteCommentBuilder builder.

Deletes a comment on a note.

https://vk.com/dev/notes.deleteComment

func NewNotesDeleteCommentBuilder

func NewNotesDeleteCommentBuilder() *NotesDeleteCommentBuilder

NewNotesDeleteCommentBuilder func.

func (*NotesDeleteCommentBuilder) CommentID

CommentID parameter.

func (*NotesDeleteCommentBuilder) OwnerID

OwnerID note owner ID.

type NotesEditBuilder

type NotesEditBuilder struct {
	api.Params
}

NotesEditBuilder builder.

Edits a note of the current user.

https://vk.com/dev/notes.edit

func NewNotesEditBuilder

func NewNotesEditBuilder() *NotesEditBuilder

NewNotesEditBuilder func.

func (*NotesEditBuilder) NoteID

func (b *NotesEditBuilder) NoteID(v int) *NotesEditBuilder

NoteID parameter.

func (*NotesEditBuilder) PrivacyComment

func (b *NotesEditBuilder) PrivacyComment(v []string) *NotesEditBuilder

PrivacyComment parameter.

func (*NotesEditBuilder) PrivacyView

func (b *NotesEditBuilder) PrivacyView(v []string) *NotesEditBuilder

PrivacyView parameter.

func (*NotesEditBuilder) Text

Text note text.

func (*NotesEditBuilder) Title

Title note title.

type NotesEditCommentBuilder

type NotesEditCommentBuilder struct {
	api.Params
}

NotesEditCommentBuilder builder.

Edits a comment on a note.

https://vk.com/dev/notes.editComment

func NewNotesEditCommentBuilder

func NewNotesEditCommentBuilder() *NotesEditCommentBuilder

NewNotesEditCommentBuilder func.

func (*NotesEditCommentBuilder) CommentID

CommentID parameter.

func (*NotesEditCommentBuilder) Message

Message new comment text.

func (*NotesEditCommentBuilder) OwnerID

OwnerID note owner ID.

type NotesGetBuilder

type NotesGetBuilder struct {
	api.Params
}

NotesGetBuilder builder.

Returns a list of notes created by a user.

https://vk.com/dev/notes.get

func NewNotesGetBuilder

func NewNotesGetBuilder() *NotesGetBuilder

NewNotesGetBuilder func.

func (*NotesGetBuilder) Count

func (b *NotesGetBuilder) Count(v int) *NotesGetBuilder

Count number of notes to return.

func (*NotesGetBuilder) NoteIDs

func (b *NotesGetBuilder) NoteIDs(v []int) *NotesGetBuilder

NoteIDs note IDs.

func (*NotesGetBuilder) Offset

func (b *NotesGetBuilder) Offset(v int) *NotesGetBuilder

Offset parameter.

func (*NotesGetBuilder) Sort

func (b *NotesGetBuilder) Sort(v int) *NotesGetBuilder

Sort parameter.

func (*NotesGetBuilder) UserID

func (b *NotesGetBuilder) UserID(v int) *NotesGetBuilder

UserID note owner ID.

type NotesGetByIDBuilder

type NotesGetByIDBuilder struct {
	api.Params
}

NotesGetByIDBuilder builder.

Returns a note by its ID.

https://vk.com/dev/notes.getById

func NewNotesGetByIDBuilder

func NewNotesGetByIDBuilder() *NotesGetByIDBuilder

NewNotesGetByIDBuilder func.

func (*NotesGetByIDBuilder) NeedWiki

NeedWiki parameter.

func (*NotesGetByIDBuilder) NoteID

NoteID parameter.

func (*NotesGetByIDBuilder) OwnerID

OwnerID note owner ID.

type NotesGetCommentsBuilder

type NotesGetCommentsBuilder struct {
	api.Params
}

NotesGetCommentsBuilder builder.

Returns a list of comments on a note.

https://vk.com/dev/notes.getComments

func NewNotesGetCommentsBuilder

func NewNotesGetCommentsBuilder() *NotesGetCommentsBuilder

NewNotesGetCommentsBuilder func.

func (*NotesGetCommentsBuilder) Count

Count number of comments to return.

func (*NotesGetCommentsBuilder) NoteID

NoteID parameter.

func (*NotesGetCommentsBuilder) Offset

Offset parameter.

func (*NotesGetCommentsBuilder) OwnerID

OwnerID note owner ID.

func (*NotesGetCommentsBuilder) Sort

Sort parameter.

type NotesRestoreCommentBuilder

type NotesRestoreCommentBuilder struct {
	api.Params
}

NotesRestoreCommentBuilder builder.

Restores a deleted comment on a note.

https://vk.com/dev/notes.restoreComment

func NewNotesRestoreCommentBuilder

func NewNotesRestoreCommentBuilder() *NotesRestoreCommentBuilder

NewNotesRestoreCommentBuilder func.

func (*NotesRestoreCommentBuilder) CommentID

CommentID parameter.

func (*NotesRestoreCommentBuilder) OwnerID

OwnerID note owner ID.

type NotificationsGetBuilder

type NotificationsGetBuilder struct {
	api.Params
}

NotificationsGetBuilder builder.

Returns a list of notifications about other users' feedback to the current user's wall posts.

https://vk.com/dev/notifications.get

func NewNotificationsGetBuilder

func NewNotificationsGetBuilder() *NotificationsGetBuilder

NewNotificationsGetBuilder func.

func (*NotificationsGetBuilder) Count

Count number of notifications to return.

func (*NotificationsGetBuilder) EndTime

EndTime latest timestamp (in Unix time) of a notification to return. By default, the current time.

func (*NotificationsGetBuilder) Filters

Filters Type of notifications to return:

* wall — wall posts,

* mentions — mentions in wall posts, comments, or topics,

* comments — comments to wall posts, photos, and videos,

* likes — likes,

* reposted — wall posts that are copied from the current user's wall,

* followers — new followers, 'friends' — accepted friend requests.

func (*NotificationsGetBuilder) StartFrom

StartFrom parameter.

func (*NotificationsGetBuilder) StartTime

StartTime earliest timestamp (in Unix time) of a notification to return. By default, 24 hours ago.

type NotificationsSendMessageBuilder

type NotificationsSendMessageBuilder struct {
	api.Params
}

NotificationsSendMessageBuilder builder.

https://vk.com/dev/notifications.sendMessage

func NewNotificationsSendMessageBuilder

func NewNotificationsSendMessageBuilder() *NotificationsSendMessageBuilder

NewNotificationsSendMessageBuilder func.

func (*NotificationsSendMessageBuilder) Fragment

Fragment parameter.

func (*NotificationsSendMessageBuilder) GroupID

GroupID parameter.

func (*NotificationsSendMessageBuilder) Message

Message parameter.

func (*NotificationsSendMessageBuilder) RandomID

RandomID a unique (API_ID and Sender ID) identifier designed to prevent sending the same message again.

The specified random_id is used to check uniqueness of the notification within an hour after sending.

Accessible for versions from 5.107.

func (*NotificationsSendMessageBuilder) UserIDs

UserIDs parameter.

type OrdersCancelSubscriptionBuilder

type OrdersCancelSubscriptionBuilder struct {
	api.Params
}

OrdersCancelSubscriptionBuilder builder.

https://vk.com/dev/orders.cancelSubscription

func NewOrdersCancelSubscriptionBuilder

func NewOrdersCancelSubscriptionBuilder() *OrdersCancelSubscriptionBuilder

NewOrdersCancelSubscriptionBuilder func.

func (*OrdersCancelSubscriptionBuilder) PendingCancel

PendingCancel parameter.

func (*OrdersCancelSubscriptionBuilder) SubscriptionID

SubscriptionID parameter.

func (*OrdersCancelSubscriptionBuilder) UserID

UserID parameter.

type OrdersChangeStateBuilder

type OrdersChangeStateBuilder struct {
	api.Params
}

OrdersChangeStateBuilder builder.

Changes order status.

https://vk.com/dev/orders.changeState

func NewOrdersChangeStateBuilder

func NewOrdersChangeStateBuilder() *OrdersChangeStateBuilder

NewOrdersChangeStateBuilder func.

func (*OrdersChangeStateBuilder) Action

Action action to be done with the order. Available actions:

* cancel — to cancel unconfirmed order.

* charge — to confirm unconfirmed order. Applies only if processing of [vk.com/dev/payments_status|order_change_state] notification failed.

* refund — to cancel confirmed order.

func (*OrdersChangeStateBuilder) AppOrderID

AppOrderID internal ID of the order in the application.

func (*OrdersChangeStateBuilder) OrderID

OrderID order ID.

func (*OrdersChangeStateBuilder) TestMode

TestMode if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.

type OrdersGetAmountBuilder

type OrdersGetAmountBuilder struct {
	api.Params
}

OrdersGetAmountBuilder builder.

https://vk.com/dev/orders.getAmount

func NewOrdersGetAmountBuilder

func NewOrdersGetAmountBuilder() *OrdersGetAmountBuilder

NewOrdersGetAmountBuilder func.

func (*OrdersGetAmountBuilder) UserID

UserID parameter.

func (*OrdersGetAmountBuilder) Votes

Votes parameter.

type OrdersGetBuilder

type OrdersGetBuilder struct {
	api.Params
}

OrdersGetBuilder builder.

Returns a list of orders.

https://vk.com/dev/orders.get

func NewOrdersGetBuilder

func NewOrdersGetBuilder() *OrdersGetBuilder

NewOrdersGetBuilder func.

func (*OrdersGetBuilder) Count

func (b *OrdersGetBuilder) Count(v int) *OrdersGetBuilder

Count number of returned orders.

func (*OrdersGetBuilder) Offset

func (b *OrdersGetBuilder) Offset(v int) *OrdersGetBuilder

Offset parameter.

func (*OrdersGetBuilder) TestMode

func (b *OrdersGetBuilder) TestMode(v bool) *OrdersGetBuilder

TestMode if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.

type OrdersGetByIDBuilder

type OrdersGetByIDBuilder struct {
	api.Params
}

OrdersGetByIDBuilder builder.

Returns information about orders by their IDs.

https://vk.com/dev/orders.getById

func NewOrdersGetByIDBuilder

func NewOrdersGetByIDBuilder() *OrdersGetByIDBuilder

NewOrdersGetByIDBuilder func.

func (*OrdersGetByIDBuilder) OrderID

OrderID order ID.

func (*OrdersGetByIDBuilder) OrderIDs

func (b *OrdersGetByIDBuilder) OrderIDs(v []int) *OrdersGetByIDBuilder

OrderIDs order IDs (when information about several orders is requested).

func (*OrdersGetByIDBuilder) TestMode

TestMode if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.

type OrdersGetUserSubscriptionByIDBuilder

type OrdersGetUserSubscriptionByIDBuilder struct {
	api.Params
}

OrdersGetUserSubscriptionByIDBuilder builder.

https://vk.com/dev/orders.getUserSubscriptionById

func NewOrdersGetUserSubscriptionByIDBuilder

func NewOrdersGetUserSubscriptionByIDBuilder() *OrdersGetUserSubscriptionByIDBuilder

NewOrdersGetUserSubscriptionByIDBuilder func.

func (*OrdersGetUserSubscriptionByIDBuilder) SubscriptionID

SubscriptionID parameter.

func (*OrdersGetUserSubscriptionByIDBuilder) UserID

UserID parameter.

type OrdersGetUserSubscriptionsBuilder

type OrdersGetUserSubscriptionsBuilder struct {
	api.Params
}

OrdersGetUserSubscriptionsBuilder builder.

https://vk.com/dev/orders.getUserSubscriptions

func NewOrdersGetUserSubscriptionsBuilder

func NewOrdersGetUserSubscriptionsBuilder() *OrdersGetUserSubscriptionsBuilder

NewOrdersGetUserSubscriptionsBuilder func.

func (*OrdersGetUserSubscriptionsBuilder) UserID

UserID parameter.

type OrdersUpdateSubscriptionBuilder

type OrdersUpdateSubscriptionBuilder struct {
	api.Params
}

OrdersUpdateSubscriptionBuilder builder.

https://vk.com/dev/orders.updateSubscription

func NewOrdersUpdateSubscriptionBuilder

func NewOrdersUpdateSubscriptionBuilder() *OrdersUpdateSubscriptionBuilder

NewOrdersUpdateSubscriptionBuilder func.

func (*OrdersUpdateSubscriptionBuilder) Price

Price parameter.

func (*OrdersUpdateSubscriptionBuilder) SubscriptionID

SubscriptionID parameter.

func (*OrdersUpdateSubscriptionBuilder) UserID

UserID parameter.

type PagesClearCacheBuilder

type PagesClearCacheBuilder struct {
	api.Params
}

PagesClearCacheBuilder builder.

Allows to clear the cache of particular 'external' pages which may be attached to VK posts.

https://vk.com/dev/pages.clearCache

func NewPagesClearCacheBuilder

func NewPagesClearCacheBuilder() *PagesClearCacheBuilder

NewPagesClearCacheBuilder func.

func (*PagesClearCacheBuilder) URL

URL address of the page where you need to refresh the cached version.

type PagesGetBuilder

type PagesGetBuilder struct {
	api.Params
}

PagesGetBuilder builder.

Returns information about a wiki page.

https://vk.com/dev/pages.get

func NewPagesGetBuilder

func NewPagesGetBuilder() *PagesGetBuilder

NewPagesGetBuilder func.

func (*PagesGetBuilder) Global

func (b *PagesGetBuilder) Global(v bool) *PagesGetBuilder

Global '1' — to return information about a global wiki page.

func (*PagesGetBuilder) NeedHTML

func (b *PagesGetBuilder) NeedHTML(v bool) *PagesGetBuilder

NeedHTML '1' — to return the page as HTML.

func (*PagesGetBuilder) NeedSource

func (b *PagesGetBuilder) NeedSource(v bool) *PagesGetBuilder

NeedSource parameter.

func (*PagesGetBuilder) OwnerID

func (b *PagesGetBuilder) OwnerID(v int) *PagesGetBuilder

OwnerID page owner ID.

func (*PagesGetBuilder) PageID

func (b *PagesGetBuilder) PageID(v int) *PagesGetBuilder

PageID wiki page ID.

func (*PagesGetBuilder) SitePreview

func (b *PagesGetBuilder) SitePreview(v bool) *PagesGetBuilder

SitePreview '1' — resulting wiki page is a preview for the attached link.

func (*PagesGetBuilder) Title

func (b *PagesGetBuilder) Title(v string) *PagesGetBuilder

Title wiki page title.

type PagesGetHistoryBuilder

type PagesGetHistoryBuilder struct {
	api.Params
}

PagesGetHistoryBuilder builder.

Returns a list of all previous versions of a wiki page.

https://vk.com/dev/pages.getHistory

func NewPagesGetHistoryBuilder

func NewPagesGetHistoryBuilder() *PagesGetHistoryBuilder

NewPagesGetHistoryBuilder func.

func (*PagesGetHistoryBuilder) GroupID

GroupID ID of the community that owns the wiki page.

func (*PagesGetHistoryBuilder) PageID

PageID wiki page ID.

func (*PagesGetHistoryBuilder) UserID

UserID parameter.

type PagesGetTitlesBuilder

type PagesGetTitlesBuilder struct {
	api.Params
}

PagesGetTitlesBuilder builder.

Returns a list of wiki pages in a group.

https://vk.com/dev/pages.getTitles

func NewPagesGetTitlesBuilder

func NewPagesGetTitlesBuilder() *PagesGetTitlesBuilder

NewPagesGetTitlesBuilder func.

func (*PagesGetTitlesBuilder) GroupID

GroupID ID of the community that owns the wiki page.

type PagesGetVersionBuilder

type PagesGetVersionBuilder struct {
	api.Params
}

PagesGetVersionBuilder builder.

Returns the text of one of the previous versions of a wiki page.

https://vk.com/dev/pages.getVersion

func NewPagesGetVersionBuilder

func NewPagesGetVersionBuilder() *PagesGetVersionBuilder

NewPagesGetVersionBuilder func.

func (*PagesGetVersionBuilder) GroupID

GroupID ID of the community that owns the wiki page.

func (*PagesGetVersionBuilder) NeedHTML

NeedHTML '1' — to return the page as HTML.

func (*PagesGetVersionBuilder) UserID

UserID parameter.

func (*PagesGetVersionBuilder) VersionID

VersionID parameter.

type PagesParseWikiBuilder

type PagesParseWikiBuilder struct {
	api.Params
}

PagesParseWikiBuilder builder.

Returns HTML representation of the wiki markup.

https://vk.com/dev/pages.parseWiki

func NewPagesParseWikiBuilder

func NewPagesParseWikiBuilder() *PagesParseWikiBuilder

NewPagesParseWikiBuilder func.

func (*PagesParseWikiBuilder) GroupID

GroupID ID of the group in the context of which this markup is interpreted.

func (*PagesParseWikiBuilder) Text

Text Text of the wiki page.

type PagesSaveAccessBuilder

type PagesSaveAccessBuilder struct {
	api.Params
}

PagesSaveAccessBuilder builder.

Saves modified read and edit access settings for a wiki page.

https://vk.com/dev/pages.saveAccess

func NewPagesSaveAccessBuilder

func NewPagesSaveAccessBuilder() *PagesSaveAccessBuilder

NewPagesSaveAccessBuilder func.

func (*PagesSaveAccessBuilder) Edit

Edit who can edit the wiki page:

* 1 — only community members;

* 2 — all users can edit the page;

* 0 — only community managers.

func (*PagesSaveAccessBuilder) GroupID

GroupID ID of the community that owns the wiki page.

func (*PagesSaveAccessBuilder) PageID

PageID wiki page ID.

func (*PagesSaveAccessBuilder) UserID

UserID parameter.

func (*PagesSaveAccessBuilder) View

View who can view the wiki page:

* 1 — only community members;

* 2 — all users can view the page;

* 0 — only community managers.

type PagesSaveBuilder

type PagesSaveBuilder struct {
	api.Params
}

PagesSaveBuilder builder.

Saves the text of a wiki page.

https://vk.com/dev/pages.save

func NewPagesSaveBuilder

func NewPagesSaveBuilder() *PagesSaveBuilder

NewPagesSaveBuilder func.

func (*PagesSaveBuilder) GroupID

func (b *PagesSaveBuilder) GroupID(v int) *PagesSaveBuilder

GroupID ID of the community that owns the wiki page.

func (*PagesSaveBuilder) PageID

func (b *PagesSaveBuilder) PageID(v int) *PagesSaveBuilder

PageID wiki page ID. The 'title' parameter can be passed instead of 'pid'.

func (*PagesSaveBuilder) Text

Text Text of the wiki page in wiki-format.

func (*PagesSaveBuilder) Title

Title wiki page title.

func (*PagesSaveBuilder) UserID

func (b *PagesSaveBuilder) UserID(v int) *PagesSaveBuilder

UserID parameter.

type PhotosConfirmTagBuilder

type PhotosConfirmTagBuilder struct {
	api.Params
}

PhotosConfirmTagBuilder builder.

Confirms a tag on a photo.

https://vk.com/dev/photos.confirmTag

func NewPhotosConfirmTagBuilder

func NewPhotosConfirmTagBuilder() *PhotosConfirmTagBuilder

NewPhotosConfirmTagBuilder func.

func (*PhotosConfirmTagBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosConfirmTagBuilder) PhotoID

PhotoID parameter.

func (*PhotosConfirmTagBuilder) TagID

TagID parameter.

type PhotosCopyBuilder

type PhotosCopyBuilder struct {
	api.Params
}

PhotosCopyBuilder builder.

Allows to copy a photo to the "Saved photos" album.

https://vk.com/dev/photos.copy

func NewPhotosCopyBuilder

func NewPhotosCopyBuilder() *PhotosCopyBuilder

NewPhotosCopyBuilder func.

func (*PhotosCopyBuilder) AccessKey

func (b *PhotosCopyBuilder) AccessKey(v string) *PhotosCopyBuilder

AccessKey for private photos.

func (*PhotosCopyBuilder) OwnerID

func (b *PhotosCopyBuilder) OwnerID(v int) *PhotosCopyBuilder

OwnerID photo's owner ID.

func (*PhotosCopyBuilder) PhotoID

func (b *PhotosCopyBuilder) PhotoID(v int) *PhotosCopyBuilder

PhotoID photo ID.

type PhotosCreateAlbumBuilder

type PhotosCreateAlbumBuilder struct {
	api.Params
}

PhotosCreateAlbumBuilder builder.

Creates an empty photo album.

https://vk.com/dev/photos.createAlbum

func NewPhotosCreateAlbumBuilder

func NewPhotosCreateAlbumBuilder() *PhotosCreateAlbumBuilder

NewPhotosCreateAlbumBuilder func.

func (*PhotosCreateAlbumBuilder) CommentsDisabled

func (b *PhotosCreateAlbumBuilder) CommentsDisabled(v bool) *PhotosCreateAlbumBuilder

CommentsDisabled parameter.

func (*PhotosCreateAlbumBuilder) Description

Description album description.

func (*PhotosCreateAlbumBuilder) GroupID

GroupID ID of the community in which the album will be created.

func (*PhotosCreateAlbumBuilder) PrivacyComment

PrivacyComment parameter.

func (*PhotosCreateAlbumBuilder) PrivacyView

PrivacyView parameter.

func (*PhotosCreateAlbumBuilder) Title

Title album title.

func (*PhotosCreateAlbumBuilder) UploadByAdminsOnly

func (b *PhotosCreateAlbumBuilder) UploadByAdminsOnly(v bool) *PhotosCreateAlbumBuilder

UploadByAdminsOnly parameter.

type PhotosCreateCommentBuilder

type PhotosCreateCommentBuilder struct {
	api.Params
}

PhotosCreateCommentBuilder builder.

Adds a new comment on the photo.

https://vk.com/dev/photos.createComment

func NewPhotosCreateCommentBuilder

func NewPhotosCreateCommentBuilder() *PhotosCreateCommentBuilder

NewPhotosCreateCommentBuilder func.

func (*PhotosCreateCommentBuilder) AccessKey

AccessKey parameter.

func (*PhotosCreateCommentBuilder) Attachments

func (b *PhotosCreateCommentBuilder) Attachments(v interface{}) *PhotosCreateCommentBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — Media attachment owner ID. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614".

func (*PhotosCreateCommentBuilder) FromGroup

FromGroup '1' — to post a comment from the community.

func (*PhotosCreateCommentBuilder) GUID

GUID parameter.

func (*PhotosCreateCommentBuilder) Message

Message comment text.

func (*PhotosCreateCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosCreateCommentBuilder) PhotoID

PhotoID parameter.

func (*PhotosCreateCommentBuilder) ReplyToComment

ReplyToComment parameter.

func (*PhotosCreateCommentBuilder) StickerID

StickerID parameter.

type PhotosDeleteAlbumBuilder

type PhotosDeleteAlbumBuilder struct {
	api.Params
}

PhotosDeleteAlbumBuilder builder.

Deletes a photo album belonging to the current user.

https://vk.com/dev/photos.deleteAlbum

func NewPhotosDeleteAlbumBuilder

func NewPhotosDeleteAlbumBuilder() *PhotosDeleteAlbumBuilder

NewPhotosDeleteAlbumBuilder func.

func (*PhotosDeleteAlbumBuilder) AlbumID

AlbumID parameter.

func (*PhotosDeleteAlbumBuilder) GroupID

GroupID ID of the community that owns the album.

type PhotosDeleteBuilder

type PhotosDeleteBuilder struct {
	api.Params
}

PhotosDeleteBuilder builder.

Deletes a photo.

https://vk.com/dev/photos.delete

func NewPhotosDeleteBuilder

func NewPhotosDeleteBuilder() *PhotosDeleteBuilder

NewPhotosDeleteBuilder func.

func (*PhotosDeleteBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosDeleteBuilder) PhotoID

PhotoID parameter.

type PhotosDeleteCommentBuilder

type PhotosDeleteCommentBuilder struct {
	api.Params
}

PhotosDeleteCommentBuilder builder.

Deletes a comment on the photo.

https://vk.com/dev/photos.deleteComment

func NewPhotosDeleteCommentBuilder

func NewPhotosDeleteCommentBuilder() *PhotosDeleteCommentBuilder

NewPhotosDeleteCommentBuilder func.

func (*PhotosDeleteCommentBuilder) CommentID

CommentID parameter.

func (*PhotosDeleteCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

type PhotosEditAlbumBuilder

type PhotosEditAlbumBuilder struct {
	api.Params
}

PhotosEditAlbumBuilder builder.

Edits information about a photo album.

https://vk.com/dev/photos.editAlbum

func NewPhotosEditAlbumBuilder

func NewPhotosEditAlbumBuilder() *PhotosEditAlbumBuilder

NewPhotosEditAlbumBuilder func.

func (*PhotosEditAlbumBuilder) AlbumID

AlbumID ID of the photo album to be edited.

func (*PhotosEditAlbumBuilder) CommentsDisabled

func (b *PhotosEditAlbumBuilder) CommentsDisabled(v bool) *PhotosEditAlbumBuilder

CommentsDisabled parameter.

func (*PhotosEditAlbumBuilder) Description

Description new album description.

func (*PhotosEditAlbumBuilder) OwnerID

OwnerID ID of the user or community that owns the album.

func (*PhotosEditAlbumBuilder) PrivacyComment

func (b *PhotosEditAlbumBuilder) PrivacyComment(v []string) *PhotosEditAlbumBuilder

PrivacyComment parameter.

func (*PhotosEditAlbumBuilder) PrivacyView

PrivacyView parameter.

func (*PhotosEditAlbumBuilder) Title

Title new album title.

func (*PhotosEditAlbumBuilder) UploadByAdminsOnly

func (b *PhotosEditAlbumBuilder) UploadByAdminsOnly(v bool) *PhotosEditAlbumBuilder

UploadByAdminsOnly parameter.

type PhotosEditBuilder

type PhotosEditBuilder struct {
	api.Params
}

PhotosEditBuilder builder.

Edits the caption of a photo.

https://vk.com/dev/photos.edit

func NewPhotosEditBuilder

func NewPhotosEditBuilder() *PhotosEditBuilder

NewPhotosEditBuilder func.

func (*PhotosEditBuilder) Caption

Caption new caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.

func (*PhotosEditBuilder) DeletePlace

func (b *PhotosEditBuilder) DeletePlace(v bool) *PhotosEditBuilder

DeletePlace parameter.

func (*PhotosEditBuilder) FoursquareID

func (b *PhotosEditBuilder) FoursquareID(v string) *PhotosEditBuilder

FoursquareID parameter.

func (*PhotosEditBuilder) Latitude

Latitude parameter.

func (*PhotosEditBuilder) Longitude

func (b *PhotosEditBuilder) Longitude(v float64) *PhotosEditBuilder

Longitude parameter.

func (*PhotosEditBuilder) OwnerID

func (b *PhotosEditBuilder) OwnerID(v int) *PhotosEditBuilder

OwnerID ID of the user or community that owns the photo.

func (*PhotosEditBuilder) PhotoID

func (b *PhotosEditBuilder) PhotoID(v int) *PhotosEditBuilder

PhotoID parameter.

func (*PhotosEditBuilder) PlaceStr

func (b *PhotosEditBuilder) PlaceStr(v string) *PhotosEditBuilder

PlaceStr parameter.

type PhotosEditCommentBuilder

type PhotosEditCommentBuilder struct {
	api.Params
}

PhotosEditCommentBuilder builder.

Edits a comment on a photo.

https://vk.com/dev/photos.editComment

func NewPhotosEditCommentBuilder

func NewPhotosEditCommentBuilder() *PhotosEditCommentBuilder

NewPhotosEditCommentBuilder func.

func (*PhotosEditCommentBuilder) Attachments

func (b *PhotosEditCommentBuilder) Attachments(v interface{}) *PhotosEditCommentBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — Media attachment owner ID. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614".

func (*PhotosEditCommentBuilder) CommentID

CommentID parameter.

func (*PhotosEditCommentBuilder) Message

Message new text of the comment.

func (*PhotosEditCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

type PhotosGetAlbumsBuilder

type PhotosGetAlbumsBuilder struct {
	api.Params
}

PhotosGetAlbumsBuilder builder.

Returns a list of a user's or community's photo albums.

https://vk.com/dev/photos.getAlbums

func NewPhotosGetAlbumsBuilder

func NewPhotosGetAlbumsBuilder() *PhotosGetAlbumsBuilder

NewPhotosGetAlbumsBuilder func.

func (*PhotosGetAlbumsBuilder) AlbumIDs

AlbumIDs album IDs.

func (*PhotosGetAlbumsBuilder) Count

Count number of albums to return.

func (*PhotosGetAlbumsBuilder) NeedCovers

NeedCovers '1' — to return an additional 'thumb_src' field, '0' — (default).

func (*PhotosGetAlbumsBuilder) NeedSystem

NeedSystem '1' — to return system albums with negative IDs.

func (*PhotosGetAlbumsBuilder) Offset

Offset needed to return a specific subset of albums.

func (*PhotosGetAlbumsBuilder) OwnerID

OwnerID ID of the user or community that owns the albums.

func (*PhotosGetAlbumsBuilder) PhotoSizes

PhotoSizes '1' — to return photo sizes in a.

type PhotosGetAlbumsCountBuilder

type PhotosGetAlbumsCountBuilder struct {
	api.Params
}

PhotosGetAlbumsCountBuilder builder.

Returns the number of photo albums belonging to a user or community.

https://vk.com/dev/photos.getAlbumsCount

func NewPhotosGetAlbumsCountBuilder

func NewPhotosGetAlbumsCountBuilder() *PhotosGetAlbumsCountBuilder

NewPhotosGetAlbumsCountBuilder func.

func (*PhotosGetAlbumsCountBuilder) GroupID

GroupID community ID.

func (*PhotosGetAlbumsCountBuilder) UserID

UserID parameter.

type PhotosGetAllBuilder

type PhotosGetAllBuilder struct {
	api.Params
}

PhotosGetAllBuilder builder.

Returns a list of photos belonging to a user or community, in reverse chronological order.

https://vk.com/dev/photos.getAll

func NewPhotosGetAllBuilder

func NewPhotosGetAllBuilder() *PhotosGetAllBuilder

NewPhotosGetAllBuilder func.

func (*PhotosGetAllBuilder) Count

Count number of photos to return.

func (*PhotosGetAllBuilder) Extended

Extended '1' — to return detailed information about photos.

func (*PhotosGetAllBuilder) NeedHidden

func (b *PhotosGetAllBuilder) NeedHidden(v bool) *PhotosGetAllBuilder

NeedHidden '1' – to show information about photos being hidden from the block above the wall.

func (*PhotosGetAllBuilder) NoServiceAlbums

func (b *PhotosGetAllBuilder) NoServiceAlbums(v bool) *PhotosGetAllBuilder

NoServiceAlbums '1' – to return photos only from standard albums, '0' – to return all photos including those in service albums, e.g., 'My wall photos' (default).

func (*PhotosGetAllBuilder) Offset

Offset needed to return a specific subset of photos. By default, '0'.

func (*PhotosGetAllBuilder) OwnerID

OwnerID ID of a user or community that owns the photos. Use a negative value to designate a community ID.

func (*PhotosGetAllBuilder) PhotoSizes

func (b *PhotosGetAllBuilder) PhotoSizes(v bool) *PhotosGetAllBuilder

PhotoSizes '1' – to return image sizes in [vk.com/dev/photo_sizes|special format].

func (*PhotosGetAllBuilder) SkipHidden

func (b *PhotosGetAllBuilder) SkipHidden(v bool) *PhotosGetAllBuilder

SkipHidden '1' – not to return photos being hidden from the block above the wall. Works only with owner_id>0, no_service_albums is ignored.

type PhotosGetAllCommentsBuilder

type PhotosGetAllCommentsBuilder struct {
	api.Params
}

PhotosGetAllCommentsBuilder builder.

Returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order.

https://vk.com/dev/photos.getAllComments

func NewPhotosGetAllCommentsBuilder

func NewPhotosGetAllCommentsBuilder() *PhotosGetAllCommentsBuilder

NewPhotosGetAllCommentsBuilder func.

func (*PhotosGetAllCommentsBuilder) AlbumID

AlbumID parameter. If the parameter is not set, comments on all of the user's albums will be returned.

func (*PhotosGetAllCommentsBuilder) Count

Count number of comments to return. By default, '20'. Maximum value, '100'.

func (*PhotosGetAllCommentsBuilder) NeedLikes

NeedLikes '1' — to return an additional 'likes' field, '0' — (default).

func (*PhotosGetAllCommentsBuilder) Offset

Offset needed to return a specific subset of comments. By default, '0'.

func (*PhotosGetAllCommentsBuilder) OwnerID

OwnerID ID of the user or community that owns the album(s).

type PhotosGetBuilder

type PhotosGetBuilder struct {
	api.Params
}

PhotosGetBuilder builder.

Returns a list of a user's or community's photos.

https://vk.com/dev/photos.get

func NewPhotosGetBuilder

func NewPhotosGetBuilder() *PhotosGetBuilder

NewPhotosGetBuilder func.

func (*PhotosGetBuilder) AlbumID

func (b *PhotosGetBuilder) AlbumID(v string) *PhotosGetBuilder

AlbumID photo album ID. To return information about photos from service albums, use the following string values: 'profile, wall, saved'.

func (*PhotosGetBuilder) Count

func (b *PhotosGetBuilder) Count(v int) *PhotosGetBuilder

Count parameter.

func (*PhotosGetBuilder) Extended

func (b *PhotosGetBuilder) Extended(v bool) *PhotosGetBuilder

Extended '1' — to return additional 'likes', 'comments', and 'tags' fields, '0' — (default).

func (*PhotosGetBuilder) Feed

Feed unixtime, that can be obtained with [vk.com/dev/newsfeed.get|newsfeed.get] method in date field to get all photos uploaded by the user on a specific day, or photos the user has been tagged on. Also, 'uid' parameter of the user the event happened with shall be specified.

func (*PhotosGetBuilder) FeedType

func (b *PhotosGetBuilder) FeedType(v string) *PhotosGetBuilder

FeedType Type of feed obtained in 'feed' field of the method.

func (*PhotosGetBuilder) Offset

func (b *PhotosGetBuilder) Offset(v int) *PhotosGetBuilder

Offset parameter.

func (*PhotosGetBuilder) OwnerID

func (b *PhotosGetBuilder) OwnerID(v int) *PhotosGetBuilder

OwnerID ID of the user or community that owns the photos. Use a negative value to designate a community ID.

func (*PhotosGetBuilder) PhotoIDs

func (b *PhotosGetBuilder) PhotoIDs(v []string) *PhotosGetBuilder

PhotoIDs parameter.

func (*PhotosGetBuilder) PhotoSizes

func (b *PhotosGetBuilder) PhotoSizes(v bool) *PhotosGetBuilder

PhotoSizes '1' — to return photo sizes in a [vk.com/dev/photo_sizes|special format].

func (*PhotosGetBuilder) Rev

Rev sort order: '1' — reverse chronological, '0' — chronological.

type PhotosGetByIDBuilder

type PhotosGetByIDBuilder struct {
	api.Params
}

PhotosGetByIDBuilder builder.

Returns information about photos by their IDs.

https://vk.com/dev/photos.getById

func NewPhotosGetByIDBuilder

func NewPhotosGetByIDBuilder() *PhotosGetByIDBuilder

NewPhotosGetByIDBuilder func.

func (*PhotosGetByIDBuilder) Extended

Extended '1' — to return additional fields, '0' — (default).

func (*PhotosGetByIDBuilder) PhotoSizes

PhotoSizes '1' — to return photo sizes in a.

func (*PhotosGetByIDBuilder) Photos

Photos IDs separated with a comma, that are IDs of users who posted photos and IDs of photos themselves with an underscore character between such IDs. To get information about a photo in the group album, you shall specify group ID instead of user ID. Example: "1_129207899,6492_135055734, , -20629724_271945303".

type PhotosGetChatUploadServerBuilder

type PhotosGetChatUploadServerBuilder struct {
	api.Params
}

PhotosGetChatUploadServerBuilder builder.

Returns an upload link for chat cover pictures.

https://vk.com/dev/photos.getChatUploadServer

func NewPhotosGetChatUploadServerBuilder

func NewPhotosGetChatUploadServerBuilder() *PhotosGetChatUploadServerBuilder

NewPhotosGetChatUploadServerBuilder func.

func (*PhotosGetChatUploadServerBuilder) ChatID

ChatID ID of the chat for which you want to upload a cover photo.

func (*PhotosGetChatUploadServerBuilder) CropWidth

CropWidth width (in pixels) of the photo after cropping.

func (*PhotosGetChatUploadServerBuilder) CropX

CropX parameter.

func (*PhotosGetChatUploadServerBuilder) CropY

CropY parameter.

type PhotosGetCommentsBuilder

type PhotosGetCommentsBuilder struct {
	api.Params
}

PhotosGetCommentsBuilder builder.

Returns a list of comments on a photo.

https://vk.com/dev/photos.getComments

func NewPhotosGetCommentsBuilder

func NewPhotosGetCommentsBuilder() *PhotosGetCommentsBuilder

NewPhotosGetCommentsBuilder func.

func (*PhotosGetCommentsBuilder) AccessKey

AccessKey parameter.

func (*PhotosGetCommentsBuilder) Count

Count number of comments to return.

func (*PhotosGetCommentsBuilder) Extended

Extended parameter.

func (*PhotosGetCommentsBuilder) Fields

Fields parameter.

func (*PhotosGetCommentsBuilder) NeedLikes

NeedLikes '1' — to return an additional 'likes' field, '0' — (default).

func (*PhotosGetCommentsBuilder) Offset

Offset needed to return a specific subset of comments. By default, '0'.

func (*PhotosGetCommentsBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosGetCommentsBuilder) PhotoID

PhotoID parameter.

func (*PhotosGetCommentsBuilder) Sort

Sort order: 'asc' — old first, 'desc' — new first.

func (*PhotosGetCommentsBuilder) StartCommentID

StartCommentID parameter.

type PhotosGetMarketAlbumUploadServerBuilder

type PhotosGetMarketAlbumUploadServerBuilder struct {
	api.Params
}

PhotosGetMarketAlbumUploadServerBuilder builder.

Returns the server address for market album photo upload.

https://vk.com/dev/photos.getMarketAlbumUploadServer

func NewPhotosGetMarketAlbumUploadServerBuilder

func NewPhotosGetMarketAlbumUploadServerBuilder() *PhotosGetMarketAlbumUploadServerBuilder

NewPhotosGetMarketAlbumUploadServerBuilder func.

func (*PhotosGetMarketAlbumUploadServerBuilder) GroupID

GroupID community ID.

type PhotosGetMarketUploadServerBuilder

type PhotosGetMarketUploadServerBuilder struct {
	api.Params
}

PhotosGetMarketUploadServerBuilder builder.

Returns the server address for market photo upload.

https://vk.com/dev/photos.getMarketUploadServer

func NewPhotosGetMarketUploadServerBuilder

func NewPhotosGetMarketUploadServerBuilder() *PhotosGetMarketUploadServerBuilder

NewPhotosGetMarketUploadServerBuilder func.

func (*PhotosGetMarketUploadServerBuilder) CropWidth

CropWidth width of the cropped photo in px.

func (*PhotosGetMarketUploadServerBuilder) CropX

CropX X coordinate of the crop left upper corner.

func (*PhotosGetMarketUploadServerBuilder) CropY

CropY Y coordinate of the crop left upper corner.

func (*PhotosGetMarketUploadServerBuilder) GroupID

GroupID community ID.

func (*PhotosGetMarketUploadServerBuilder) MainPhoto

MainPhoto '1' if you want to upload the main item photo.

type PhotosGetMessagesUploadServerBuilder

type PhotosGetMessagesUploadServerBuilder struct {
	api.Params
}

PhotosGetMessagesUploadServerBuilder builder.

Returns the server address for photo upload in a private message for a user.

https://vk.com/dev/photos.getMessagesUploadServer

func NewPhotosGetMessagesUploadServerBuilder

func NewPhotosGetMessagesUploadServerBuilder() *PhotosGetMessagesUploadServerBuilder

NewPhotosGetMessagesUploadServerBuilder func.

func (*PhotosGetMessagesUploadServerBuilder) PeerID

PeerID destination ID. For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'.

type PhotosGetNewTagsBuilder

type PhotosGetNewTagsBuilder struct {
	api.Params
}

PhotosGetNewTagsBuilder builder.

Returns a list of photos with tags that have not been viewed.

https://vk.com/dev/photos.getNewTags

func NewPhotosGetNewTagsBuilder

func NewPhotosGetNewTagsBuilder() *PhotosGetNewTagsBuilder

NewPhotosGetNewTagsBuilder func.

func (*PhotosGetNewTagsBuilder) Count

Count number of photos to return.

func (*PhotosGetNewTagsBuilder) Offset

Offset needed to return a specific subset of photos.

type PhotosGetOwnerCoverPhotoUploadServerBuilder

type PhotosGetOwnerCoverPhotoUploadServerBuilder struct {
	api.Params
}

PhotosGetOwnerCoverPhotoUploadServerBuilder builder.

Returns the server address for owner cover upload.

https://vk.com/dev/photos.getOwnerCoverPhotoUploadServer

func NewPhotosGetOwnerCoverPhotoUploadServerBuilder

func NewPhotosGetOwnerCoverPhotoUploadServerBuilder() *PhotosGetOwnerCoverPhotoUploadServerBuilder

NewPhotosGetOwnerCoverPhotoUploadServerBuilder func.

func (*PhotosGetOwnerCoverPhotoUploadServerBuilder) CropX

CropX X coordinate of the left-upper corner.

func (*PhotosGetOwnerCoverPhotoUploadServerBuilder) CropX2

CropX2 X coordinate of the right-bottom corner.

func (*PhotosGetOwnerCoverPhotoUploadServerBuilder) CropY

CropY Y coordinate of the left-upper corner.

func (*PhotosGetOwnerCoverPhotoUploadServerBuilder) CropY2

CropY2 Y coordinate of the right-bottom corner.

func (*PhotosGetOwnerCoverPhotoUploadServerBuilder) GroupID

GroupID ID of community that owns the album (if the photo will be uploaded to a community album).

type PhotosGetOwnerPhotoUploadServerBuilder

type PhotosGetOwnerPhotoUploadServerBuilder struct {
	api.Params
}

PhotosGetOwnerPhotoUploadServerBuilder builder.

Returns an upload server address for a profile or community photo.

https://vk.com/dev/photos.getOwnerPhotoUploadServer

func NewPhotosGetOwnerPhotoUploadServerBuilder

func NewPhotosGetOwnerPhotoUploadServerBuilder() *PhotosGetOwnerPhotoUploadServerBuilder

NewPhotosGetOwnerPhotoUploadServerBuilder func.

func (*PhotosGetOwnerPhotoUploadServerBuilder) OwnerID

OwnerID identifier of a community or current user. "Note that community id must be negative. 'owner_id=1' – user, 'owner_id=-1' – community, ".

type PhotosGetTagsBuilder

type PhotosGetTagsBuilder struct {
	api.Params
}

PhotosGetTagsBuilder builder.

Returns a list of tags on a photo.

https://vk.com/dev/photos.getTags

func NewPhotosGetTagsBuilder

func NewPhotosGetTagsBuilder() *PhotosGetTagsBuilder

NewPhotosGetTagsBuilder func.

func (*PhotosGetTagsBuilder) AccessKey

AccessKey parameter.

func (*PhotosGetTagsBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosGetTagsBuilder) PhotoID

PhotoID parameter.

type PhotosGetUploadServerBuilder

type PhotosGetUploadServerBuilder struct {
	api.Params
}

PhotosGetUploadServerBuilder builder.

Returns the server address for photo upload.

https://vk.com/dev/photos.getUploadServer

func NewPhotosGetUploadServerBuilder

func NewPhotosGetUploadServerBuilder() *PhotosGetUploadServerBuilder

NewPhotosGetUploadServerBuilder func.

func (*PhotosGetUploadServerBuilder) AlbumID

AlbumID parameter.

func (*PhotosGetUploadServerBuilder) GroupID

GroupID ID of community that owns the album (if the photo will be uploaded to a community album).

type PhotosGetUserPhotosBuilder

type PhotosGetUserPhotosBuilder struct {
	api.Params
}

PhotosGetUserPhotosBuilder builder.

Returns a list of photos in which a user is tagged.

https://vk.com/dev/photos.getUserPhotos

func NewPhotosGetUserPhotosBuilder

func NewPhotosGetUserPhotosBuilder() *PhotosGetUserPhotosBuilder

NewPhotosGetUserPhotosBuilder func.

func (*PhotosGetUserPhotosBuilder) Count

Count number of photos to return. Maximum value is 1000.

func (*PhotosGetUserPhotosBuilder) Extended

Extended '1' — to return an additional 'likes' field, '0' — (default).

func (*PhotosGetUserPhotosBuilder) Offset

Offset needed to return a specific subset of photos. By default, '0'.

func (*PhotosGetUserPhotosBuilder) Sort

Sort order: '1' — by date the tag was added in ascending order, '0' — by date the tag was added in descending order.

func (*PhotosGetUserPhotosBuilder) UserID

UserID parameter.

type PhotosGetWallUploadServerBuilder

type PhotosGetWallUploadServerBuilder struct {
	api.Params
}

PhotosGetWallUploadServerBuilder builder.

Returns the server address for photo upload onto a user's wall.

https://vk.com/dev/photos.getWallUploadServer

func NewPhotosGetWallUploadServerBuilder

func NewPhotosGetWallUploadServerBuilder() *PhotosGetWallUploadServerBuilder

NewPhotosGetWallUploadServerBuilder func.

func (*PhotosGetWallUploadServerBuilder) GroupID

GroupID ID of community to whose wall the photo will be uploaded.

type PhotosMakeCoverBuilder

type PhotosMakeCoverBuilder struct {
	api.Params
}

PhotosMakeCoverBuilder builder.

Makes a photo into an album cover.

https://vk.com/dev/photos.makeCover

func NewPhotosMakeCoverBuilder

func NewPhotosMakeCoverBuilder() *PhotosMakeCoverBuilder

NewPhotosMakeCoverBuilder func.

func (*PhotosMakeCoverBuilder) AlbumID

AlbumID parameter.

func (*PhotosMakeCoverBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosMakeCoverBuilder) PhotoID

PhotoID parameter.

type PhotosMoveBuilder

type PhotosMoveBuilder struct {
	api.Params
}

PhotosMoveBuilder builder.

Moves a photo from one album to another.

https://vk.com/dev/photos.move

func NewPhotosMoveBuilder

func NewPhotosMoveBuilder() *PhotosMoveBuilder

NewPhotosMoveBuilder func.

func (*PhotosMoveBuilder) OwnerID

func (b *PhotosMoveBuilder) OwnerID(v int) *PhotosMoveBuilder

OwnerID ID of the user or community that owns the photo.

func (*PhotosMoveBuilder) PhotoID

func (b *PhotosMoveBuilder) PhotoID(v int) *PhotosMoveBuilder

PhotoID parameter.

func (*PhotosMoveBuilder) TargetAlbumID

func (b *PhotosMoveBuilder) TargetAlbumID(v int) *PhotosMoveBuilder

TargetAlbumID ID of the album to which the photo will be moved.

type PhotosPutTagBuilder

type PhotosPutTagBuilder struct {
	api.Params
}

PhotosPutTagBuilder builder.

Adds a tag on the photo.

https://vk.com/dev/photos.putTag

func NewPhotosPutTagBuilder

func NewPhotosPutTagBuilder() *PhotosPutTagBuilder

NewPhotosPutTagBuilder func.

func (*PhotosPutTagBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosPutTagBuilder) PhotoID

PhotoID parameter.

func (*PhotosPutTagBuilder) UserID

UserID ID of the user to be tagged.

func (*PhotosPutTagBuilder) X

X upper left-corner coordinate of the tagged area (as a percentage of the photo's width).

func (*PhotosPutTagBuilder) X2

X2 Lower right-corner coordinate of the tagged area (as a percentage of the photo's width).

func (*PhotosPutTagBuilder) Y

Y upper left-corner coordinate of the tagged area (as a percentage of the photo's height).

func (*PhotosPutTagBuilder) Y2

Y2 Lower right-corner coordinate of the tagged area (as a percentage of the photo's height).

type PhotosRemoveTagBuilder

type PhotosRemoveTagBuilder struct {
	api.Params
}

PhotosRemoveTagBuilder builder.

Removes a tag from a photo.

https://vk.com/dev/photos.removeTag

func NewPhotosRemoveTagBuilder

func NewPhotosRemoveTagBuilder() *PhotosRemoveTagBuilder

NewPhotosRemoveTagBuilder func.

func (*PhotosRemoveTagBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosRemoveTagBuilder) PhotoID

PhotoID parameter.

func (*PhotosRemoveTagBuilder) TagID

TagID parameter.

type PhotosReorderAlbumsBuilder

type PhotosReorderAlbumsBuilder struct {
	api.Params
}

PhotosReorderAlbumsBuilder builder.

Reorders the album in the list of user albums.

https://vk.com/dev/photos.reorderAlbums

func NewPhotosReorderAlbumsBuilder

func NewPhotosReorderAlbumsBuilder() *PhotosReorderAlbumsBuilder

NewPhotosReorderAlbumsBuilder func.

func (*PhotosReorderAlbumsBuilder) After

After ID of the album after which the album in question shall be placed.

func (*PhotosReorderAlbumsBuilder) AlbumID

AlbumID parameter.

func (*PhotosReorderAlbumsBuilder) Before

Before ID of the album before which the album in question shall be placed.

func (*PhotosReorderAlbumsBuilder) OwnerID

OwnerID ID of the user or community that owns the album.

type PhotosReorderPhotosBuilder

type PhotosReorderPhotosBuilder struct {
	api.Params
}

PhotosReorderPhotosBuilder builder.

Reorders the photo in the list of photos of the user album.

https://vk.com/dev/photos.reorderPhotos

func NewPhotosReorderPhotosBuilder

func NewPhotosReorderPhotosBuilder() *PhotosReorderPhotosBuilder

NewPhotosReorderPhotosBuilder func.

func (*PhotosReorderPhotosBuilder) After

After ID of the photo after which the photo in question shall be placed.

func (*PhotosReorderPhotosBuilder) Before

Before ID of the photo before which the photo in question shall be placed.

func (*PhotosReorderPhotosBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosReorderPhotosBuilder) PhotoID

PhotoID parameter.

type PhotosReportBuilder

type PhotosReportBuilder struct {
	api.Params
}

PhotosReportBuilder builder.

Reports (submits a complaint about) a photo.

https://vk.com/dev/photos.report

func NewPhotosReportBuilder

func NewPhotosReportBuilder() *PhotosReportBuilder

NewPhotosReportBuilder func.

func (*PhotosReportBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosReportBuilder) PhotoID

PhotoID parameter.

func (*PhotosReportBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type PhotosReportCommentBuilder

type PhotosReportCommentBuilder struct {
	api.Params
}

PhotosReportCommentBuilder builder.

Reports (submits a complaint about) a comment on a photo.

https://vk.com/dev/photos.reportComment

func NewPhotosReportCommentBuilder

func NewPhotosReportCommentBuilder() *PhotosReportCommentBuilder

NewPhotosReportCommentBuilder func.

func (*PhotosReportCommentBuilder) CommentID

CommentID ID of the comment being reported.

func (*PhotosReportCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosReportCommentBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type PhotosRestoreBuilder

type PhotosRestoreBuilder struct {
	api.Params
}

PhotosRestoreBuilder builder.

Restores a deleted photo.

https://vk.com/dev/photos.restore

func NewPhotosRestoreBuilder

func NewPhotosRestoreBuilder() *PhotosRestoreBuilder

NewPhotosRestoreBuilder func.

func (*PhotosRestoreBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

func (*PhotosRestoreBuilder) PhotoID

PhotoID parameter.

type PhotosRestoreCommentBuilder

type PhotosRestoreCommentBuilder struct {
	api.Params
}

PhotosRestoreCommentBuilder builder.

Restores a deleted comment on a photo.

https://vk.com/dev/photos.restoreComment

func NewPhotosRestoreCommentBuilder

func NewPhotosRestoreCommentBuilder() *PhotosRestoreCommentBuilder

NewPhotosRestoreCommentBuilder func.

func (*PhotosRestoreCommentBuilder) CommentID

CommentID ID of the deleted comment.

func (*PhotosRestoreCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the photo.

type PhotosSaveBuilder

type PhotosSaveBuilder struct {
	api.Params
}

PhotosSaveBuilder builder.

Saves photos after successful uploading.

https://vk.com/dev/photos.save

func NewPhotosSaveBuilder

func NewPhotosSaveBuilder() *PhotosSaveBuilder

NewPhotosSaveBuilder func.

func (*PhotosSaveBuilder) AlbumID

func (b *PhotosSaveBuilder) AlbumID(v int) *PhotosSaveBuilder

AlbumID ID of the album to save photos to.

func (*PhotosSaveBuilder) Caption

Caption Text describing the photo. 2048 digits max.

func (*PhotosSaveBuilder) GroupID

func (b *PhotosSaveBuilder) GroupID(v int) *PhotosSaveBuilder

GroupID ID of the community to save photos to.

func (*PhotosSaveBuilder) Hash

Hash parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveBuilder) Latitude

Latitude geographical latitude, in degrees (from '-90' to '90').

func (*PhotosSaveBuilder) Longitude

func (b *PhotosSaveBuilder) Longitude(v float64) *PhotosSaveBuilder

Longitude geographical longitude, in degrees (from '-180' to '180').

func (*PhotosSaveBuilder) PhotosList

func (b *PhotosSaveBuilder) PhotosList(v string) *PhotosSaveBuilder

PhotosList parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveBuilder) Server

func (b *PhotosSaveBuilder) Server(v int) *PhotosSaveBuilder

Server parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

type PhotosSaveMarketAlbumPhotoBuilder

type PhotosSaveMarketAlbumPhotoBuilder struct {
	api.Params
}

PhotosSaveMarketAlbumPhotoBuilder builder.

Saves market album photos after successful uploading.

https://vk.com/dev/photos.saveMarketAlbumPhoto

func NewPhotosSaveMarketAlbumPhotoBuilder

func NewPhotosSaveMarketAlbumPhotoBuilder() *PhotosSaveMarketAlbumPhotoBuilder

NewPhotosSaveMarketAlbumPhotoBuilder func.

func (*PhotosSaveMarketAlbumPhotoBuilder) GroupID

GroupID community ID.

func (*PhotosSaveMarketAlbumPhotoBuilder) Hash

Hash parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketAlbumPhotoBuilder) Photo

Photo parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketAlbumPhotoBuilder) Server

Server parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

type PhotosSaveMarketPhotoBuilder

type PhotosSaveMarketPhotoBuilder struct {
	api.Params
}

PhotosSaveMarketPhotoBuilder builder.

Saves market photos after successful uploading.

https://vk.com/dev/photos.saveMarketPhoto

func NewPhotosSaveMarketPhotoBuilder

func NewPhotosSaveMarketPhotoBuilder() *PhotosSaveMarketPhotoBuilder

NewPhotosSaveMarketPhotoBuilder func.

func (*PhotosSaveMarketPhotoBuilder) CropData

CropData parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketPhotoBuilder) CropHash

CropHash parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketPhotoBuilder) GroupID

GroupID community ID.

func (*PhotosSaveMarketPhotoBuilder) Hash

Hash parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketPhotoBuilder) Photo

Photo parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveMarketPhotoBuilder) Server

Server parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

type PhotosSaveMessagesPhotoBuilder

type PhotosSaveMessagesPhotoBuilder struct {
	api.Params
}

PhotosSaveMessagesPhotoBuilder builder.

Saves a photo after being successfully uploaded. URL obtained with [vk.com/dev/photos.getMessagesUploadServer|photos.getMessagesUploadServer] method.

https://vk.com/dev/photos.saveMessagesPhoto

func NewPhotosSaveMessagesPhotoBuilder

func NewPhotosSaveMessagesPhotoBuilder() *PhotosSaveMessagesPhotoBuilder

NewPhotosSaveMessagesPhotoBuilder func.

func (*PhotosSaveMessagesPhotoBuilder) Hash

Hash parameter.

func (*PhotosSaveMessagesPhotoBuilder) Photo

Photo parameter returned when the photo is [vk.com/dev/upload_files|uploaded to the server].

func (*PhotosSaveMessagesPhotoBuilder) Server

Server parameter.

type PhotosSaveOwnerCoverPhotoBuilder

type PhotosSaveOwnerCoverPhotoBuilder struct {
	api.Params
}

PhotosSaveOwnerCoverPhotoBuilder builder.

Saves cover photo after successful uploading.

https://vk.com/dev/photos.saveOwnerCoverPhoto

func NewPhotosSaveOwnerCoverPhotoBuilder

func NewPhotosSaveOwnerCoverPhotoBuilder() *PhotosSaveOwnerCoverPhotoBuilder

NewPhotosSaveOwnerCoverPhotoBuilder func.

func (*PhotosSaveOwnerCoverPhotoBuilder) Hash

Hash parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

func (*PhotosSaveOwnerCoverPhotoBuilder) Photo

Photo parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].

type PhotosSaveOwnerPhotoBuilder

type PhotosSaveOwnerPhotoBuilder struct {
	api.Params
}

PhotosSaveOwnerPhotoBuilder builder.

Saves a profile or community photo. Upload URL can be got with the [vk.com/dev/photos.getOwnerPhotoUploadServer|photos.getOwnerPhotoUploadServer] method.

https://vk.com/dev/photos.saveOwnerPhoto

func NewPhotosSaveOwnerPhotoBuilder

func NewPhotosSaveOwnerPhotoBuilder() *PhotosSaveOwnerPhotoBuilder

NewPhotosSaveOwnerPhotoBuilder func.

func (*PhotosSaveOwnerPhotoBuilder) Hash

Hash parameter returned after [vk.com/dev/upload_files|photo upload].

func (*PhotosSaveOwnerPhotoBuilder) Photo

Photo parameter returned after [vk.com/dev/upload_files|photo upload].

func (*PhotosSaveOwnerPhotoBuilder) Server

Server parameter returned after [vk.com/dev/upload_files|photo upload].

type PhotosSaveWallPhotoBuilder

type PhotosSaveWallPhotoBuilder struct {
	api.Params
}

PhotosSaveWallPhotoBuilder builder.

Saves a photo to a user's or community's wall after being uploaded.

https://vk.com/dev/photos.saveWallPhoto

func NewPhotosSaveWallPhotoBuilder

func NewPhotosSaveWallPhotoBuilder() *PhotosSaveWallPhotoBuilder

NewPhotosSaveWallPhotoBuilder func.

func (*PhotosSaveWallPhotoBuilder) Caption

Caption Text describing the photo. 2048 digits max.

func (*PhotosSaveWallPhotoBuilder) GroupID

GroupID ID of community on whose wall the photo will be saved.

func (*PhotosSaveWallPhotoBuilder) Hash

Hash parameter.

func (*PhotosSaveWallPhotoBuilder) Latitude

Latitude geographical latitude, in degrees (from '-90' to '90').

func (*PhotosSaveWallPhotoBuilder) Longitude

Longitude geographical longitude, in degrees (from '-180' to '180').

func (*PhotosSaveWallPhotoBuilder) Photo

Photo parameter returned when the the photo is [vk.com/dev/upload_files|uploaded to the server].

func (*PhotosSaveWallPhotoBuilder) Server

Server parameter.

func (*PhotosSaveWallPhotoBuilder) UserID

UserID ID of the user on whose wall the photo will be saved.

type PhotosSearchBuilder

type PhotosSearchBuilder struct {
	api.Params
}

PhotosSearchBuilder builder.

Returns a list of photos.

https://vk.com/dev/photos.search

func NewPhotosSearchBuilder

func NewPhotosSearchBuilder() *PhotosSearchBuilder

NewPhotosSearchBuilder func.

func (*PhotosSearchBuilder) Count

Count number of photos to return.

func (*PhotosSearchBuilder) EndTime

EndTime parameter.

func (*PhotosSearchBuilder) Lat

Lat geographical latitude, in degrees (from '-90' to '90').

func (*PhotosSearchBuilder) Long

Long geographical longitude, in degrees (from '-180' to '180').

func (*PhotosSearchBuilder) Offset

Offset needed to return a specific subset of photos.

func (*PhotosSearchBuilder) Q

Q search query string.

func (*PhotosSearchBuilder) Radius

Radius of search in meters (works very approximately). Available values: '10', '100', '800', '6000', '50000'.

func (*PhotosSearchBuilder) Sort

Sort order.

func (*PhotosSearchBuilder) StartTime

func (b *PhotosSearchBuilder) StartTime(v int) *PhotosSearchBuilder

StartTime parameter.

type PollsAddVoteBuilder

type PollsAddVoteBuilder struct {
	api.Params
}

PollsAddVoteBuilder builder.

Adds the current user's vote to the selected answer in the poll.

https://vk.com/dev/polls.addVote

func NewPollsAddVoteBuilder

func NewPollsAddVoteBuilder() *PollsAddVoteBuilder

NewPollsAddVoteBuilder func.

func (*PollsAddVoteBuilder) AnswerIDs

func (b *PollsAddVoteBuilder) AnswerIDs(v []int) *PollsAddVoteBuilder

AnswerIDs parameter.

func (*PollsAddVoteBuilder) IsBoard

IsBoard parameter.

func (*PollsAddVoteBuilder) OwnerID

OwnerID ID of the user or community that owns the poll. Use a negative value to designate a community ID.

func (*PollsAddVoteBuilder) PollID

PollID parameter.

type PollsCreateBuilder

type PollsCreateBuilder struct {
	api.Params
}

PollsCreateBuilder builder.

Creates polls that can be attached to the users' or communities' posts.

https://vk.com/dev/polls.create

func NewPollsCreateBuilder

func NewPollsCreateBuilder() *PollsCreateBuilder

NewPollsCreateBuilder func.

func (*PollsCreateBuilder) AddAnswers

func (b *PollsCreateBuilder) AddAnswers(v string) *PollsCreateBuilder

AddAnswers available answers list, for example: " ["yes","no","maybe"]", There can be from 1 to 10 answers.

func (*PollsCreateBuilder) BackgroundID

func (b *PollsCreateBuilder) BackgroundID(v string) *PollsCreateBuilder

BackgroundID parameter.

func (*PollsCreateBuilder) EndDate

func (b *PollsCreateBuilder) EndDate(v int) *PollsCreateBuilder

EndDate parameter.

func (*PollsCreateBuilder) IsAnonymous

func (b *PollsCreateBuilder) IsAnonymous(v bool) *PollsCreateBuilder

IsAnonymous '1' – anonymous poll, participants list is hidden,, '0' – public poll, participants list is available,, Default value is '0'.

func (*PollsCreateBuilder) IsMultiple

func (b *PollsCreateBuilder) IsMultiple(v bool) *PollsCreateBuilder

IsMultiple parameter.

func (*PollsCreateBuilder) OwnerID

func (b *PollsCreateBuilder) OwnerID(v int) *PollsCreateBuilder

OwnerID if a poll will be added to a community it is required to send a negative group identifier. Current user by default.

func (*PollsCreateBuilder) PhotoID

func (b *PollsCreateBuilder) PhotoID(v int) *PollsCreateBuilder

PhotoID parameter.

func (*PollsCreateBuilder) Question

Question question text.

type PollsDeleteVoteBuilder

type PollsDeleteVoteBuilder struct {
	api.Params
}

PollsDeleteVoteBuilder builder.

Deletes the current user's vote from the selected answer in the poll.

https://vk.com/dev/polls.deleteVote

func NewPollsDeleteVoteBuilder

func NewPollsDeleteVoteBuilder() *PollsDeleteVoteBuilder

NewPollsDeleteVoteBuilder func.

func (*PollsDeleteVoteBuilder) AnswerID

AnswerID parameter.

func (*PollsDeleteVoteBuilder) IsBoard

IsBoard parameter.

func (*PollsDeleteVoteBuilder) OwnerID

OwnerID ID of the user or community that owns the poll. Use a negative value to designate a community ID.

func (*PollsDeleteVoteBuilder) PollID

PollID parameter.

type PollsEditBuilder

type PollsEditBuilder struct {
	api.Params
}

PollsEditBuilder builder.

Edits created polls.

https://vk.com/dev/polls.edit

func NewPollsEditBuilder

func NewPollsEditBuilder() *PollsEditBuilder

NewPollsEditBuilder func.

func (*PollsEditBuilder) AddAnswers

func (b *PollsEditBuilder) AddAnswers(v string) *PollsEditBuilder

AddAnswers answers list, for example: , "["yes","no","maybe"]".

func (*PollsEditBuilder) BackgroundID

func (b *PollsEditBuilder) BackgroundID(v string) *PollsEditBuilder

BackgroundID parameter.

func (*PollsEditBuilder) DeleteAnswers

func (b *PollsEditBuilder) DeleteAnswers(v string) *PollsEditBuilder

DeleteAnswers list of answer ids to be deleted. For example: "[382967099, 382967103]".

func (*PollsEditBuilder) EditAnswers

func (b *PollsEditBuilder) EditAnswers(v string) *PollsEditBuilder

EditAnswers object containing answers that need to be edited,, key – answer id, value – new answer text. Example: {"382967099":"option1", "382967103":"option2"}".

func (*PollsEditBuilder) EndDate

func (b *PollsEditBuilder) EndDate(v int) *PollsEditBuilder

EndDate parameter.

func (*PollsEditBuilder) OwnerID

func (b *PollsEditBuilder) OwnerID(v int) *PollsEditBuilder

OwnerID poll owner id.

func (*PollsEditBuilder) PhotoID

func (b *PollsEditBuilder) PhotoID(v int) *PollsEditBuilder

PhotoID parameter.

func (*PollsEditBuilder) PollID

func (b *PollsEditBuilder) PollID(v int) *PollsEditBuilder

PollID edited poll's id.

func (*PollsEditBuilder) Question

func (b *PollsEditBuilder) Question(v string) *PollsEditBuilder

Question new question text.

type PollsGetByIDBuilder

type PollsGetByIDBuilder struct {
	api.Params
}

PollsGetByIDBuilder builder.

Returns detailed information about a poll by its ID.

https://vk.com/dev/polls.getById

func NewPollsGetByIDBuilder

func NewPollsGetByIDBuilder() *PollsGetByIDBuilder

NewPollsGetByIDBuilder func.

func (*PollsGetByIDBuilder) Extended

Extended parameter.

func (*PollsGetByIDBuilder) Fields

Fields parameter.

func (*PollsGetByIDBuilder) FriendsCount

func (b *PollsGetByIDBuilder) FriendsCount(v int) *PollsGetByIDBuilder

FriendsCount parameter.

func (*PollsGetByIDBuilder) IsBoard

IsBoard '1' – poll is in a board, '0' – poll is on a wall. '0' by default.

func (*PollsGetByIDBuilder) NameCase

NameCase parameter.

func (*PollsGetByIDBuilder) OwnerID

OwnerID ID of the user or community that owns the poll. Use a negative value to designate a community ID.

func (*PollsGetByIDBuilder) PollID

PollID parameter.

type PollsGetVotersBuilder

type PollsGetVotersBuilder struct {
	api.Params
}

PollsGetVotersBuilder builder.

Returns a list of IDs of users who selected specific answers in the poll.

https://vk.com/dev/polls.getVoters

func NewPollsGetVotersBuilder

func NewPollsGetVotersBuilder() *PollsGetVotersBuilder

NewPollsGetVotersBuilder func.

func (*PollsGetVotersBuilder) AnswerIDs

func (b *PollsGetVotersBuilder) AnswerIDs(v []int) *PollsGetVotersBuilder

AnswerIDs parameter.

func (*PollsGetVotersBuilder) Count

Count number of user IDs to return (if the 'friends_only' parameter is not set, maximum '1000', otherwise '10'). '100' — (default).

func (*PollsGetVotersBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate (birthdate)', 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.

func (*PollsGetVotersBuilder) FriendsOnly

FriendsOnly '1' — to return only current user's friends, '0' — to return all users (default).

func (*PollsGetVotersBuilder) IsBoard

IsBoard parameter.

func (*PollsGetVotersBuilder) NameCase

NameCase case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional.

func (*PollsGetVotersBuilder) Offset

Offset needed to return a specific subset of voters. '0' — (default).

func (*PollsGetVotersBuilder) OwnerID

OwnerID ID of the user or community that owns the poll. Use a negative value to designate a community ID.

func (*PollsGetVotersBuilder) PollID

PollID parameter.

type PrettyCardsCreateBuilder

type PrettyCardsCreateBuilder struct {
	api.Params
}

PrettyCardsCreateBuilder builder.

https://vk.com/dev/prettyCards.create

func NewPrettyCardsCreateBuilder

func NewPrettyCardsCreateBuilder() *PrettyCardsCreateBuilder

NewPrettyCardsCreateBuilder func.

func (*PrettyCardsCreateBuilder) Button

Button parameter.

Link parameter.

func (*PrettyCardsCreateBuilder) OwnerID

OwnerID parameter.

func (*PrettyCardsCreateBuilder) Photo

Photo parameter.

func (*PrettyCardsCreateBuilder) Price

Price parameter.

func (*PrettyCardsCreateBuilder) PriceOld

PriceOld parameter.

func (*PrettyCardsCreateBuilder) Title

Title parameter.

type PrettyCardsDeleteBuilder

type PrettyCardsDeleteBuilder struct {
	api.Params
}

PrettyCardsDeleteBuilder builder.

https://vk.com/dev/prettyCards.delete

func NewPrettyCardsDeleteBuilder

func NewPrettyCardsDeleteBuilder() *PrettyCardsDeleteBuilder

NewPrettyCardsDeleteBuilder func.

func (*PrettyCardsDeleteBuilder) CardID

CardID parameter.

func (*PrettyCardsDeleteBuilder) OwnerID

OwnerID parameter.

type PrettyCardsEditBuilder

type PrettyCardsEditBuilder struct {
	api.Params
}

PrettyCardsEditBuilder builder.

https://vk.com/dev/prettyCards.edit

func NewPrettyCardsEditBuilder

func NewPrettyCardsEditBuilder() *PrettyCardsEditBuilder

NewPrettyCardsEditBuilder func.

func (*PrettyCardsEditBuilder) Button

Button parameter.

func (*PrettyCardsEditBuilder) CardID

CardID parameter.

Link parameter.

func (*PrettyCardsEditBuilder) OwnerID

OwnerID parameter.

func (*PrettyCardsEditBuilder) Photo

Photo parameter.

func (*PrettyCardsEditBuilder) Price

Price parameter.

func (*PrettyCardsEditBuilder) PriceOld

PriceOld parameter.

func (*PrettyCardsEditBuilder) Title

Title parameter.

type PrettyCardsGetBuilder

type PrettyCardsGetBuilder struct {
	api.Params
}

PrettyCardsGetBuilder builder.

https://vk.com/dev/prettyCards.get

func NewPrettyCardsGetBuilder

func NewPrettyCardsGetBuilder() *PrettyCardsGetBuilder

NewPrettyCardsGetBuilder func.

func (*PrettyCardsGetBuilder) Count

Count parameter.

func (*PrettyCardsGetBuilder) Offset

Offset parameter.

func (*PrettyCardsGetBuilder) OwnerID

OwnerID parameter.

type PrettyCardsGetByIDBuilder

type PrettyCardsGetByIDBuilder struct {
	api.Params
}

PrettyCardsGetByIDBuilder builder.

https://vk.com/dev/prettyCards.getById

func NewPrettyCardsGetByIDBuilder

func NewPrettyCardsGetByIDBuilder() *PrettyCardsGetByIDBuilder

NewPrettyCardsGetByIDBuilder func.

func (*PrettyCardsGetByIDBuilder) CardIDs

CardIDs parameter.

func (*PrettyCardsGetByIDBuilder) OwnerID

OwnerID parameter.

type SearchGetHintsBuilder

type SearchGetHintsBuilder struct {
	api.Params
}

SearchGetHintsBuilder builder.

Allows the programmer to do a quick search for any substring.

https://vk.com/dev/search.getHints

func NewSearchGetHintsBuilder

func NewSearchGetHintsBuilder() *SearchGetHintsBuilder

NewSearchGetHintsBuilder func.

func (*SearchGetHintsBuilder) Fields

Fields parameter.

func (*SearchGetHintsBuilder) Filters

Filters parameter.

func (*SearchGetHintsBuilder) Limit

Limit maximum number of results to return.

func (*SearchGetHintsBuilder) Offset

Offset for querying specific result subset.

func (*SearchGetHintsBuilder) Q

Q search query string.

func (*SearchGetHintsBuilder) SearchGlobal

func (b *SearchGetHintsBuilder) SearchGlobal(v bool) *SearchGetHintsBuilder

SearchGlobal parameter.

type SecureAddAppEventBuilder

type SecureAddAppEventBuilder struct {
	api.Params
}

SecureAddAppEventBuilder builder.

Adds user activity information to an application.

https://vk.com/dev/secure.addAppEvent

func NewSecureAddAppEventBuilder

func NewSecureAddAppEventBuilder() *SecureAddAppEventBuilder

NewSecureAddAppEventBuilder func.

func (*SecureAddAppEventBuilder) ActivityID

ActivityID there are 2 default activities:

* 1 – level. Works similar to;

* 2 – points, saves points amount.

Any other value is for saving completed missions.

func (*SecureAddAppEventBuilder) UserID

UserID ID of a user to save the data.

func (*SecureAddAppEventBuilder) Value

Value depends on activity_id:

* 1 – number, current level number.

* 2 – number, current user's points amount.

Any other value is ignored.

type SecureCheckTokenBuilder

type SecureCheckTokenBuilder struct {
	api.Params
}

SecureCheckTokenBuilder builder.

Checks the user authentication in 'IFrame' and 'Flash' apps using the 'access_token' parameter.

https://vk.com/dev/secure.checkToken

func NewSecureCheckTokenBuilder

func NewSecureCheckTokenBuilder() *SecureCheckTokenBuilder

NewSecureCheckTokenBuilder func.

func (*SecureCheckTokenBuilder) IP

IP user 'ip address'.

Note that user may access using the 'ipv6' address, in this case it is required to transmit the 'ipv6' address. If not transmitted, the address will not be checked.

func (*SecureCheckTokenBuilder) Token

Token client 'access_token'.

type SecureGetSMSHistoryBuilder

type SecureGetSMSHistoryBuilder struct {
	api.Params
}

SecureGetSMSHistoryBuilder builder.

Shows a list of SMS notifications sent by the application using [vk.com/dev/secure.sendSMSNotification|secure.sendSMSNotification] method.

https://vk.com/dev/secure.getSMSHistory

func NewSecureGetSMSHistoryBuilder

func NewSecureGetSMSHistoryBuilder() *SecureGetSMSHistoryBuilder

NewSecureGetSMSHistoryBuilder func.

func (*SecureGetSMSHistoryBuilder) DateFrom

DateFrom filter by start date. It is set as UNIX-time.

func (*SecureGetSMSHistoryBuilder) DateTo

DateTo filter by end date. It is set as UNIX-time.

func (*SecureGetSMSHistoryBuilder) Limit

Limit number of returned posts. By default — 1000.

func (*SecureGetSMSHistoryBuilder) UserID

UserID parameter.

type SecureGetTransactionsHistoryBuilder

type SecureGetTransactionsHistoryBuilder struct {
	api.Params
}

SecureGetTransactionsHistoryBuilder builder.

Shows history of votes transaction between users and the application.

https://vk.com/dev/secure.getTransactionsHistory

func NewSecureGetTransactionsHistoryBuilder

func NewSecureGetTransactionsHistoryBuilder() *SecureGetTransactionsHistoryBuilder

NewSecureGetTransactionsHistoryBuilder func.

func (*SecureGetTransactionsHistoryBuilder) DateFrom

DateFrom parameter.

func (*SecureGetTransactionsHistoryBuilder) DateTo

DateTo parameter.

func (*SecureGetTransactionsHistoryBuilder) Limit

Limit parameter.

func (*SecureGetTransactionsHistoryBuilder) Type

Type parameter.

func (*SecureGetTransactionsHistoryBuilder) UIDFrom

UIDFrom parameter.

func (*SecureGetTransactionsHistoryBuilder) UIDTo

UIDTo parameter.

type SecureGetUserLevelBuilder

type SecureGetUserLevelBuilder struct {
	api.Params
}

SecureGetUserLevelBuilder builder.

Returns one of the previously set game levels of one or more users in the application.

https://vk.com/dev/secure.getUserLevel

func NewSecureGetUserLevelBuilder

func NewSecureGetUserLevelBuilder() *SecureGetUserLevelBuilder

NewSecureGetUserLevelBuilder func.

func (*SecureGetUserLevelBuilder) UserIDs

UserIDs parameter.

type SecureGiveEventStickerBuilder

type SecureGiveEventStickerBuilder struct {
	api.Params
}

SecureGiveEventStickerBuilder builder.

Opens the game achievement and gives the user a sticker.

https://vk.com/dev/secure.giveEventSticker

func NewSecureGiveEventStickerBuilder

func NewSecureGiveEventStickerBuilder() *SecureGiveEventStickerBuilder

NewSecureGiveEventStickerBuilder func.

func (*SecureGiveEventStickerBuilder) AchievementID

AchievementID parameter.

func (*SecureGiveEventStickerBuilder) UserIDs

UserIDs parameter.

type SecureSendNotificationBuilder

type SecureSendNotificationBuilder struct {
	api.Params
}

SecureSendNotificationBuilder builder.

Sends notification to the user.

https://vk.com/dev/secure.sendNotification

func NewSecureSendNotificationBuilder

func NewSecureSendNotificationBuilder() *SecureSendNotificationBuilder

NewSecureSendNotificationBuilder func.

func (*SecureSendNotificationBuilder) Message

Message notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).

func (*SecureSendNotificationBuilder) UserID

UserID parameter.

func (*SecureSendNotificationBuilder) UserIDs

UserIDs parameter.

type SecureSendSMSNotificationBuilder

type SecureSendSMSNotificationBuilder struct {
	api.Params
}

SecureSendSMSNotificationBuilder builder.

Sends 'SMS' notification to a user's mobile device.

https://vk.com/dev/secure.sendSMSNotification

func NewSecureSendSMSNotificationBuilder

func NewSecureSendSMSNotificationBuilder() *SecureSendSMSNotificationBuilder

NewSecureSendSMSNotificationBuilder func.

func (*SecureSendSMSNotificationBuilder) Message

Message 'SMS' text to be sent in 'UTF-8' encoding. Only Latin letters and numbers are allowed. Maximum size is '160' characters.

func (*SecureSendSMSNotificationBuilder) UserID

UserID ID of the user to whom SMS notification is sent. The user shall allow the application to send him/her notifications (, +1).

type SecureSetCounterBuilder

type SecureSetCounterBuilder struct {
	api.Params
}

SecureSetCounterBuilder builder.

Sets a counter which is shown to the user in bold in the left menu.

https://vk.com/dev/secure.setCounter

func NewSecureSetCounterBuilder

func NewSecureSetCounterBuilder() *SecureSetCounterBuilder

NewSecureSetCounterBuilder func.

func (*SecureSetCounterBuilder) Counter

Counter counter value.

func (*SecureSetCounterBuilder) Counters

Counters parameter.

func (*SecureSetCounterBuilder) Increment

Increment parameter.

func (*SecureSetCounterBuilder) UserID

UserID parameter.

type StatsGetBuilder

type StatsGetBuilder struct {
	api.Params
}

StatsGetBuilder builder.

Returns statistics of a community or an application.

https://vk.com/dev/stats.get

func NewStatsGetBuilder

func NewStatsGetBuilder() *StatsGetBuilder

NewStatsGetBuilder func.

func (*StatsGetBuilder) AppID

func (b *StatsGetBuilder) AppID(v int) *StatsGetBuilder

AppID application ID.

func (*StatsGetBuilder) Extended

func (b *StatsGetBuilder) Extended(v bool) *StatsGetBuilder

Extended parameter.

func (*StatsGetBuilder) Filters

func (b *StatsGetBuilder) Filters(v []string) *StatsGetBuilder

Filters parameter.

func (*StatsGetBuilder) GroupID

func (b *StatsGetBuilder) GroupID(v int) *StatsGetBuilder

GroupID community ID.

func (*StatsGetBuilder) Interval

func (b *StatsGetBuilder) Interval(v string) *StatsGetBuilder

Interval parameter.

func (*StatsGetBuilder) IntervalsCount

func (b *StatsGetBuilder) IntervalsCount(v int) *StatsGetBuilder

IntervalsCount parameter.

func (*StatsGetBuilder) StatsGroups

func (b *StatsGetBuilder) StatsGroups(v []string) *StatsGetBuilder

StatsGroups parameter.

func (*StatsGetBuilder) TimestampFrom

func (b *StatsGetBuilder) TimestampFrom(v int) *StatsGetBuilder

TimestampFrom parameter.

func (*StatsGetBuilder) TimestampTo

func (b *StatsGetBuilder) TimestampTo(v int) *StatsGetBuilder

TimestampTo parameter.

type StatsGetPostReachBuilder

type StatsGetPostReachBuilder struct {
	api.Params
}

StatsGetPostReachBuilder builder.

Returns stats for a wall post.

https://vk.com/dev/stats.getPostReach

func NewStatsGetPostReachBuilder

func NewStatsGetPostReachBuilder() *StatsGetPostReachBuilder

NewStatsGetPostReachBuilder func.

func (*StatsGetPostReachBuilder) OwnerID

OwnerID post owner community id. Specify with "-" sign.

func (*StatsGetPostReachBuilder) PostID

PostID wall post id. Note that stats are available only for '300' last (newest) posts on a community wall.

type StatsTrackVisitorBuilder

type StatsTrackVisitorBuilder struct {
	api.Params
}

StatsTrackVisitorBuilder builder.

https://vk.com/dev/stats.trackVisitor

func NewStatsTrackVisitorBuilder

func NewStatsTrackVisitorBuilder() *StatsTrackVisitorBuilder

NewStatsTrackVisitorBuilder func.

func (*StatsTrackVisitorBuilder) ID

ID parameter.

type StatusGetBuilder

type StatusGetBuilder struct {
	api.Params
}

StatusGetBuilder builder.

Returns data required to show the status of a user or community.

https://vk.com/dev/status.get

func NewStatusGetBuilder

func NewStatusGetBuilder() *StatusGetBuilder

NewStatusGetBuilder func.

func (*StatusGetBuilder) GroupID

func (b *StatusGetBuilder) GroupID(v int) *StatusGetBuilder

GroupID parameter.

func (*StatusGetBuilder) UserID

func (b *StatusGetBuilder) UserID(v int) *StatusGetBuilder

UserID user ID or community ID. Use a negative value to designate a community ID.

type StatusSetBuilder

type StatusSetBuilder struct {
	api.Params
}

StatusSetBuilder builder.

Sets a new status for the current user.

https://vk.com/dev/status.set

func NewStatusSetBuilder

func NewStatusSetBuilder() *StatusSetBuilder

NewStatusSetBuilder func.

func (*StatusSetBuilder) GroupID

func (b *StatusSetBuilder) GroupID(v int) *StatusSetBuilder

GroupID identifier of a community to set a status in. If left blank the status is set to current user.

func (*StatusSetBuilder) Text

Text of the new status.

type StorageGetBuilder

type StorageGetBuilder struct {
	api.Params
}

StorageGetBuilder builder.

Returns a value of variable with the name set by key parameter.

https://vk.com/dev/storage.get

func NewStorageGetBuilder

func NewStorageGetBuilder() *StorageGetBuilder

NewStorageGetBuilder func.

func (*StorageGetBuilder) Global

Global parameter.

func (*StorageGetBuilder) Key

Key parameter.

func (*StorageGetBuilder) Keys

Keys parameter.

func (*StorageGetBuilder) UserID

func (b *StorageGetBuilder) UserID(v int) *StorageGetBuilder

UserID parameter.

type StorageGetKeysBuilder

type StorageGetKeysBuilder struct {
	api.Params
}

StorageGetKeysBuilder builder.

Returns the names of all variables.

https://vk.com/dev/storage.getKeys

func NewStorageGetKeysBuilder

func NewStorageGetKeysBuilder() *StorageGetKeysBuilder

NewStorageGetKeysBuilder func.

func (*StorageGetKeysBuilder) Count

Count amount of variable names the info needs to be collected from.

func (*StorageGetKeysBuilder) Global

Global parameter.

func (*StorageGetKeysBuilder) Offset

Offset parameter.

func (*StorageGetKeysBuilder) UserID

UserID user id, whose variables names are returned if they were requested with a server method.

type StorageSetBuilder

type StorageSetBuilder struct {
	api.Params
}

StorageSetBuilder builder.

Saves a value of variable with the name set by 'key' parameter.

https://vk.com/dev/storage.set

func NewStorageSetBuilder

func NewStorageSetBuilder() *StorageSetBuilder

NewStorageSetBuilder func.

func (*StorageSetBuilder) Global

Global parameter.

func (*StorageSetBuilder) Key

Key parameter.

func (*StorageSetBuilder) UserID

func (b *StorageSetBuilder) UserID(v int) *StorageSetBuilder

UserID parameter.

func (*StorageSetBuilder) Value

Value parameter.

type StoriesBanOwnerBuilder

type StoriesBanOwnerBuilder struct {
	api.Params
}

StoriesBanOwnerBuilder builder.

Allows to hide stories from chosen sources from current user's feed.

https://vk.com/dev/stories.banOwner

func NewStoriesBanOwnerBuilder

func NewStoriesBanOwnerBuilder() *StoriesBanOwnerBuilder

NewStoriesBanOwnerBuilder func.

func (*StoriesBanOwnerBuilder) OwnersIDs

OwnersIDs list of sources IDs.

type StoriesDeleteBuilder

type StoriesDeleteBuilder struct {
	api.Params
}

StoriesDeleteBuilder builder.

Allows to delete story.

https://vk.com/dev/stories.delete

func NewStoriesDeleteBuilder

func NewStoriesDeleteBuilder() *StoriesDeleteBuilder

NewStoriesDeleteBuilder func.

func (*StoriesDeleteBuilder) OwnerID

OwnerID story owner's ID. Current user id is used by default.

func (*StoriesDeleteBuilder) StoryID

StoryID parameter.

type StoriesGetBannedBuilder

type StoriesGetBannedBuilder struct {
	api.Params
}

StoriesGetBannedBuilder builder.

Returns list of sources hidden from current user's feed.

https://vk.com/dev/stories.getBanned

func NewStoriesGetBannedBuilder

func NewStoriesGetBannedBuilder() *StoriesGetBannedBuilder

NewStoriesGetBannedBuilder func.

func (*StoriesGetBannedBuilder) Extended

Extended '1' — to return additional fields for users and communities. Default value is 0.

func (*StoriesGetBannedBuilder) Fields

Fields additional fields to return.

type StoriesGetBuilder

type StoriesGetBuilder struct {
	api.Params
}

StoriesGetBuilder builder.

Returns stories available for current user.

https://vk.com/dev/stories.get

func NewStoriesGetBuilder

func NewStoriesGetBuilder() *StoriesGetBuilder

NewStoriesGetBuilder func.

func (*StoriesGetBuilder) Extended

func (b *StoriesGetBuilder) Extended(v bool) *StoriesGetBuilder

Extended '1' — to return additional fields for users and communities. Default value is 0.

func (*StoriesGetBuilder) OwnerID

func (b *StoriesGetBuilder) OwnerID(v int) *StoriesGetBuilder

OwnerID parameter.

type StoriesGetByIDBuilder

type StoriesGetByIDBuilder struct {
	api.Params
}

StoriesGetByIDBuilder builder.

Returns story by its ID.

https://vk.com/dev/stories.getById

func NewStoriesGetByIDBuilder

func NewStoriesGetByIDBuilder() *StoriesGetByIDBuilder

NewStoriesGetByIDBuilder func.

func (*StoriesGetByIDBuilder) Extended

Extended '1' — to return additional fields for users and communities. Default value is 0.

func (*StoriesGetByIDBuilder) Fields

Fields additional fields to return.

func (*StoriesGetByIDBuilder) Stories

Stories IDs separated by commas. Use format {owner_id}+'_'+{story_id}, for example, 12345_54331.

type StoriesGetPhotoUploadServerBuilder

type StoriesGetPhotoUploadServerBuilder struct {
	api.Params
}

StoriesGetPhotoUploadServerBuilder builder.

Returns URL for uploading a story with photo.

https://vk.com/dev/stories.getPhotoUploadServer

func NewStoriesGetPhotoUploadServerBuilder

func NewStoriesGetPhotoUploadServerBuilder() *StoriesGetPhotoUploadServerBuilder

NewStoriesGetPhotoUploadServerBuilder func.

func (*StoriesGetPhotoUploadServerBuilder) AddToNews

AddToNews 1 — to add the story to friend's feed.

func (*StoriesGetPhotoUploadServerBuilder) GroupID

GroupID ID of the community to upload the story (should be verified or with the "fire" icon).

func (*StoriesGetPhotoUploadServerBuilder) LinkText

LinkText link text (for community's stories only).

func (*StoriesGetPhotoUploadServerBuilder) LinkURL

LinkURL link URL. Internal links on https://vk.com only.

func (*StoriesGetPhotoUploadServerBuilder) ReplyToStory

ReplyToStory ID of the story to reply with the current.

func (*StoriesGetPhotoUploadServerBuilder) UserIDs

UserIDs list of users IDs who can see the story.

type StoriesGetRepliesBuilder

type StoriesGetRepliesBuilder struct {
	api.Params
}

StoriesGetRepliesBuilder builder.

Returns replies to the story.

https://vk.com/dev/stories.getReplies

func NewStoriesGetRepliesBuilder

func NewStoriesGetRepliesBuilder() *StoriesGetRepliesBuilder

NewStoriesGetRepliesBuilder func.

func (*StoriesGetRepliesBuilder) AccessKey

AccessKey access key for the private object.

func (*StoriesGetRepliesBuilder) Extended

Extended '1' — to return additional fields for users and communities. Default value is 0.

func (*StoriesGetRepliesBuilder) Fields

Fields additional fields to return.

func (*StoriesGetRepliesBuilder) OwnerID

OwnerID story owner ID.

func (*StoriesGetRepliesBuilder) StoryID

StoryID parameter.

type StoriesGetStatsBuilder

type StoriesGetStatsBuilder struct {
	api.Params
}

StoriesGetStatsBuilder builder.

Returns stories available for current user.

https://vk.com/dev/stories.getStats

func NewStoriesGetStatsBuilder

func NewStoriesGetStatsBuilder() *StoriesGetStatsBuilder

NewStoriesGetStatsBuilder func.

func (*StoriesGetStatsBuilder) OwnerID

OwnerID story owner ID.

func (*StoriesGetStatsBuilder) StoryID

StoryID parameter.

type StoriesGetVideoUploadServerBuilder

type StoriesGetVideoUploadServerBuilder struct {
	api.Params
}

StoriesGetVideoUploadServerBuilder builder.

Allows to receive URL for uploading story with video.

https://vk.com/dev/stories.getVideoUploadServer

func NewStoriesGetVideoUploadServerBuilder

func NewStoriesGetVideoUploadServerBuilder() *StoriesGetVideoUploadServerBuilder

NewStoriesGetVideoUploadServerBuilder func.

func (*StoriesGetVideoUploadServerBuilder) AddToNews

AddToNews 1 — to add the story to friend's feed.

func (*StoriesGetVideoUploadServerBuilder) GroupID

GroupID ID of the community to upload the story (should be verified or with the "fire" icon).

func (*StoriesGetVideoUploadServerBuilder) LinkText

LinkText link text (for community's stories only).

func (*StoriesGetVideoUploadServerBuilder) LinkURL

LinkURL link URL. Internal links on https://vk.com only.

func (*StoriesGetVideoUploadServerBuilder) ReplyToStory

ReplyToStory ID of the story to reply with the current.

func (*StoriesGetVideoUploadServerBuilder) UserIDs

UserIDs list of users IDs who can see the story.

type StoriesGetViewersBuilder

type StoriesGetViewersBuilder struct {
	api.Params
}

StoriesGetViewersBuilder builder.

Returns a list of story viewers.

https://vk.com/dev/stories.getViewers

func NewStoriesGetViewersBuilder

func NewStoriesGetViewersBuilder() *StoriesGetViewersBuilder

NewStoriesGetViewersBuilder func.

func (*StoriesGetViewersBuilder) Count

Count maximum number of results.

func (*StoriesGetViewersBuilder) Extended

Extended '1' — to return detailed information about photos.

func (*StoriesGetViewersBuilder) Offset

Offset needed to return a specific subset of results.

func (*StoriesGetViewersBuilder) OwnerID

OwnerID story owner ID.

func (*StoriesGetViewersBuilder) StoryID

StoryID parameter.

type StoriesHideAllRepliesBuilder

type StoriesHideAllRepliesBuilder struct {
	api.Params
}

StoriesHideAllRepliesBuilder builder.

Hides all replies in the last 24 hours from the user to current user's stories.

https://vk.com/dev/stories.hideAllReplies

func NewStoriesHideAllRepliesBuilder

func NewStoriesHideAllRepliesBuilder() *StoriesHideAllRepliesBuilder

NewStoriesHideAllRepliesBuilder func.

func (*StoriesHideAllRepliesBuilder) GroupID

GroupID parameter.

func (*StoriesHideAllRepliesBuilder) OwnerID

OwnerID ID of the user whose replies should be hidden.

type StoriesHideReplyBuilder

type StoriesHideReplyBuilder struct {
	api.Params
}

StoriesHideReplyBuilder builder.

Hides the reply to the current user's story.

https://vk.com/dev/stories.hideReply

func NewStoriesHideReplyBuilder

func NewStoriesHideReplyBuilder() *StoriesHideReplyBuilder

NewStoriesHideReplyBuilder func.

func (*StoriesHideReplyBuilder) OwnerID

OwnerID ID of the user whose replies should be hidden.

func (*StoriesHideReplyBuilder) StoryID

StoryID parameter.

type StoriesSaveBuilder

type StoriesSaveBuilder struct {
	api.Params
}

StoriesSaveBuilder builder.

https://vk.com/dev/stories.save

func NewStoriesSaveBuilder

func NewStoriesSaveBuilder() *StoriesSaveBuilder

NewStoriesSaveBuilder func.

func (*StoriesSaveBuilder) UploadResults

func (b *StoriesSaveBuilder) UploadResults(v string) *StoriesSaveBuilder

UploadResults parameter.

required parameter.

type StoriesSendInteractionBuilder

type StoriesSendInteractionBuilder struct {
	api.Params
}

StoriesSendInteractionBuilder builder.

Sends feedback to the story.

https://vk.com/dev/stories.sendInteraction

func NewStoriesSendInteractionBuilder

func NewStoriesSendInteractionBuilder() *StoriesSendInteractionBuilder

NewStoriesSendInteractionBuilder func.

func (*StoriesSendInteractionBuilder) AccessKey

AccessKey parameter.

required parameter.

func (*StoriesSendInteractionBuilder) IsAnonymous

IsAnonymous author of the feedback is anonymous.

func (*StoriesSendInteractionBuilder) IsBroadcast

IsBroadcast parameter.

func (*StoriesSendInteractionBuilder) Message

Message feedback text.

maximum length 1000.

func (*StoriesSendInteractionBuilder) UnseenMarker

UnseenMarker parameter.

type StoriesUnbanOwnerBuilder

type StoriesUnbanOwnerBuilder struct {
	api.Params
}

StoriesUnbanOwnerBuilder builder.

Allows to show stories from hidden sources in current user's feed.

https://vk.com/dev/stories.unbanOwner

func NewStoriesUnbanOwnerBuilder

func NewStoriesUnbanOwnerBuilder() *StoriesUnbanOwnerBuilder

NewStoriesUnbanOwnerBuilder func.

func (*StoriesUnbanOwnerBuilder) OwnersIDs

OwnersIDs list of hidden sources to show stories from.

type StreamingSetSettingsBuilder

type StreamingSetSettingsBuilder struct {
	api.Params
}

StreamingSetSettingsBuilder builder.

https://vk.com/dev/streaming.setSettings

func NewStreamingSetSettingsBuilder

func NewStreamingSetSettingsBuilder() *StreamingSetSettingsBuilder

NewStreamingSetSettingsBuilder func.

func (*StreamingSetSettingsBuilder) MonthlyTier

MonthlyTier parameter.

type UsersGetBuilder

type UsersGetBuilder struct {
	api.Params
}

UsersGetBuilder builder.

Returns detailed information on users.

https://vk.com/dev/users.get

func NewUsersGetBuilder

func NewUsersGetBuilder() *UsersGetBuilder

NewUsersGetBuilder func.

func (*UsersGetBuilder) Fields

func (b *UsersGetBuilder) Fields(v []string) *UsersGetBuilder

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities'.

func (*UsersGetBuilder) NameCase

func (b *UsersGetBuilder) NameCase(v string) *UsersGetBuilder

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

func (*UsersGetBuilder) UserIDs

func (b *UsersGetBuilder) UserIDs(v []string) *UsersGetBuilder

UserIDs user IDs or screen names ('screen_name'). By default, current user ID.

type UsersGetFollowersBuilder

type UsersGetFollowersBuilder struct {
	api.Params
}

UsersGetFollowersBuilder builder.

Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.

https://vk.com/dev/users.getFollowers

func NewUsersGetFollowersBuilder

func NewUsersGetFollowersBuilder() *UsersGetFollowersBuilder

NewUsersGetFollowersBuilder func.

func (*UsersGetFollowersBuilder) Count

Count number of followers to return.

func (*UsersGetFollowersBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.

func (*UsersGetFollowersBuilder) NameCase

NameCase case for declension of user name and surname:

* nom — nominative (default);

* gen — genitive;

* dat — dative;

* acc — accusative;

* ins — instrumental;

* abl — prepositional.

func (*UsersGetFollowersBuilder) Offset

Offset needed to return a specific subset of followers.

func (*UsersGetFollowersBuilder) UserID

UserID parameter.

type UsersGetSubscriptionsBuilder

type UsersGetSubscriptionsBuilder struct {
	api.Params
}

UsersGetSubscriptionsBuilder builder.

Returns a list of IDs of users and communities followed by the user.

https://vk.com/dev/users.getSubscriptions

func NewUsersGetSubscriptionsBuilder

func NewUsersGetSubscriptionsBuilder() *UsersGetSubscriptionsBuilder

NewUsersGetSubscriptionsBuilder func.

func (*UsersGetSubscriptionsBuilder) Count

Count number of users and communities to return.

func (*UsersGetSubscriptionsBuilder) Extended

Extended '1' — to return a combined list of users and communities, '0' — to return separate lists of users and communities (default).

func (*UsersGetSubscriptionsBuilder) Fields

Fields parameter.

func (*UsersGetSubscriptionsBuilder) Offset

Offset needed to return a specific subset of subscriptions.

func (*UsersGetSubscriptionsBuilder) UserID

UserID parameter.

type UsersIsAppUserBuilder

type UsersIsAppUserBuilder struct {
	api.Params
}

UsersIsAppUserBuilder builder.

Returns information whether a user installed the application.

https://vk.com/dev/users.isAppUser

func NewUsersIsAppUserBuilder

func NewUsersIsAppUserBuilder() *UsersIsAppUserBuilder

NewUsersIsAppUserBuilder func.

func (*UsersIsAppUserBuilder) UserID

UserID parameter.

type UsersReportBuilder

type UsersReportBuilder struct {
	api.Params
}

UsersReportBuilder builder.

Reports (submits a complain about) a user.

https://vk.com/dev/users.report

func NewUsersReportBuilder

func NewUsersReportBuilder() *UsersReportBuilder

NewUsersReportBuilder func.

func (*UsersReportBuilder) Comment

Comment describing the complaint.

func (*UsersReportBuilder) Type

Type Type of complaint: 'porn' – pornography, 'spam' – spamming, 'insult' – abusive behavior, 'advertisement' – disruptive advertisements.

func (*UsersReportBuilder) UserID

UserID ID of the user about whom a complaint is being made.

type UsersSearchBuilder

type UsersSearchBuilder struct {
	api.Params
}

UsersSearchBuilder builder.

Returns a list of users matching the search criteria.

https://vk.com/dev/users.search

func NewUsersSearchBuilder

func NewUsersSearchBuilder() *UsersSearchBuilder

NewUsersSearchBuilder func.

func (*UsersSearchBuilder) AgeFrom

func (b *UsersSearchBuilder) AgeFrom(v int) *UsersSearchBuilder

AgeFrom minimum age.

func (*UsersSearchBuilder) AgeTo

AgeTo maximum age.

func (*UsersSearchBuilder) BirthDay

func (b *UsersSearchBuilder) BirthDay(v int) *UsersSearchBuilder

BirthDay day of birth.

func (*UsersSearchBuilder) BirthMonth

func (b *UsersSearchBuilder) BirthMonth(v int) *UsersSearchBuilder

BirthMonth month of birth.

func (*UsersSearchBuilder) BirthYear

func (b *UsersSearchBuilder) BirthYear(v int) *UsersSearchBuilder

BirthYear year of birth.

func (*UsersSearchBuilder) City

City parameter.

func (*UsersSearchBuilder) Company

Company name where users work.

func (*UsersSearchBuilder) Count

Count number of users to return.

func (*UsersSearchBuilder) Country

func (b *UsersSearchBuilder) Country(v int) *UsersSearchBuilder

Country parameter.

func (*UsersSearchBuilder) Fields

Fields profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.

func (*UsersSearchBuilder) FromList

func (b *UsersSearchBuilder) FromList(v []string) *UsersSearchBuilder

FromList parameter.

func (*UsersSearchBuilder) GroupID

func (b *UsersSearchBuilder) GroupID(v int) *UsersSearchBuilder

GroupID to search in communities.

func (*UsersSearchBuilder) HasPhoto

func (b *UsersSearchBuilder) HasPhoto(v bool) *UsersSearchBuilder

HasPhoto '1' — with photo only, '0' — all users.

func (*UsersSearchBuilder) Hometown

Hometown city name in a string.

func (*UsersSearchBuilder) Interests

func (b *UsersSearchBuilder) Interests(v string) *UsersSearchBuilder

Interests users interests.

func (*UsersSearchBuilder) Offset

Offset needed to return a specific subset of users.

func (*UsersSearchBuilder) Online

Online '1' — online only, '0' — all users.

func (*UsersSearchBuilder) Position

Position job position.

func (*UsersSearchBuilder) Q

Q search query string (e.g., 'Vasya Babich').

func (*UsersSearchBuilder) Religion

Religion users religious affiliation.

func (*UsersSearchBuilder) School

School ID of the school.

func (*UsersSearchBuilder) SchoolCity

func (b *UsersSearchBuilder) SchoolCity(v int) *UsersSearchBuilder

SchoolCity ID of the city where users finished school.

func (*UsersSearchBuilder) SchoolClass

func (b *UsersSearchBuilder) SchoolClass(v int) *UsersSearchBuilder

SchoolClass parameter.

func (*UsersSearchBuilder) SchoolCountry

func (b *UsersSearchBuilder) SchoolCountry(v int) *UsersSearchBuilder

SchoolCountry ID of the country where users finished school.

func (*UsersSearchBuilder) SchoolYear

func (b *UsersSearchBuilder) SchoolYear(v int) *UsersSearchBuilder

SchoolYear school graduation year.

func (*UsersSearchBuilder) Sex

Sex '1' — female, '2' — male, '0' — any (default).

func (*UsersSearchBuilder) Sort

Sort order: '1' — by date registered, '0' — by rating.

func (*UsersSearchBuilder) Status

Status relationship status: '1' — Not married, '2' — In a relationship, '3' — Engaged, '4' — Married, '5' — It's complicated, '6' — Actively searching, '7' — In love.

func (*UsersSearchBuilder) University

func (b *UsersSearchBuilder) University(v int) *UsersSearchBuilder

University ID of the institution of higher education.

func (*UsersSearchBuilder) UniversityChair

func (b *UsersSearchBuilder) UniversityChair(v int) *UsersSearchBuilder

UniversityChair chair ID.

func (*UsersSearchBuilder) UniversityCountry

func (b *UsersSearchBuilder) UniversityCountry(v int) *UsersSearchBuilder

UniversityCountry ID of the country where the user graduated.

func (*UsersSearchBuilder) UniversityFaculty

func (b *UsersSearchBuilder) UniversityFaculty(v int) *UsersSearchBuilder

UniversityFaculty faculty ID.

func (*UsersSearchBuilder) UniversityYear

func (b *UsersSearchBuilder) UniversityYear(v int) *UsersSearchBuilder

UniversityYear year of graduation from an institution of higher education.

type UtilsCheckLinkBuilder

type UtilsCheckLinkBuilder struct {
	api.Params
}

UtilsCheckLinkBuilder builder.

Checks whether a link is blocked in VK.

https://vk.com/dev/utils.checkLink

func NewUtilsCheckLinkBuilder

func NewUtilsCheckLinkBuilder() *UtilsCheckLinkBuilder

NewUtilsCheckLinkBuilder func.

func (*UtilsCheckLinkBuilder) URL

URL link to check (e.g., 'http://google.com').

type UtilsDeleteFromLastShortenedBuilder

type UtilsDeleteFromLastShortenedBuilder struct {
	api.Params
}

UtilsDeleteFromLastShortenedBuilder builder.

Deletes shortened link from user's list.

https://vk.com/dev/utils.deleteFromLastShortened

func NewUtilsDeleteFromLastShortenedBuilder

func NewUtilsDeleteFromLastShortenedBuilder() *UtilsDeleteFromLastShortenedBuilder

NewUtilsDeleteFromLastShortenedBuilder func.

func (*UtilsDeleteFromLastShortenedBuilder) Key

Key link (characters after vk.cc/).

type UtilsGetLastShortenedLinksBuilder

type UtilsGetLastShortenedLinksBuilder struct {
	api.Params
}

UtilsGetLastShortenedLinksBuilder builder.

Returns a list of user's shortened links.

https://vk.com/dev/utils.getLastShortenedLinks

func NewUtilsGetLastShortenedLinksBuilder

func NewUtilsGetLastShortenedLinksBuilder() *UtilsGetLastShortenedLinksBuilder

NewUtilsGetLastShortenedLinksBuilder func.

func (*UtilsGetLastShortenedLinksBuilder) Count

Count number of links to return.

func (*UtilsGetLastShortenedLinksBuilder) Offset

Offset needed to return a specific subset of links.

type UtilsGetLinkStatsBuilder

type UtilsGetLinkStatsBuilder struct {
	api.Params
}

UtilsGetLinkStatsBuilder builder.

Returns stats data for shortened link.

https://vk.com/dev/utils.getLinkStats

func NewUtilsGetLinkStatsBuilder

func NewUtilsGetLinkStatsBuilder() *UtilsGetLinkStatsBuilder

NewUtilsGetLinkStatsBuilder func.

func (*UtilsGetLinkStatsBuilder) AccessKey

AccessKey access key for private link stats.

func (*UtilsGetLinkStatsBuilder) Extended

Extended 1 — to return extended stats data (sex, age, geo). 0 — to return views number only.

func (*UtilsGetLinkStatsBuilder) Interval

Interval parameter.

func (*UtilsGetLinkStatsBuilder) IntervalsCount

IntervalsCount number of intervals to return.

func (*UtilsGetLinkStatsBuilder) Key

Key link (characters after vk.cc/).

func (*UtilsGetLinkStatsBuilder) Source

Source of scope.

type UtilsGetShortLinkBuilder

type UtilsGetShortLinkBuilder struct {
	api.Params
}

UtilsGetShortLinkBuilder builder.

Allows to receive a link shortened via vk.cc.

https://vk.com/dev/utils.getShortLink

func NewUtilsGetShortLinkBuilder

func NewUtilsGetShortLinkBuilder() *UtilsGetShortLinkBuilder

NewUtilsGetShortLinkBuilder func.

func (*UtilsGetShortLinkBuilder) Private

Private 1 — private stats, 0 — public stats.

func (*UtilsGetShortLinkBuilder) URL

URL URL to be shortened.

type UtilsResolveScreenNameBuilder

type UtilsResolveScreenNameBuilder struct {
	api.Params
}

UtilsResolveScreenNameBuilder builder.

Detects a type of object (e.g., user, community, application) and its ID by screen name.

https://vk.com/dev/utils.resolveScreenName

func NewUtilsResolveScreenNameBuilder

func NewUtilsResolveScreenNameBuilder() *UtilsResolveScreenNameBuilder

NewUtilsResolveScreenNameBuilder func.

func (*UtilsResolveScreenNameBuilder) ScreenName

ScreenName of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.

type VideoAddAlbumBuilder

type VideoAddAlbumBuilder struct {
	api.Params
}

VideoAddAlbumBuilder builder.

Creates an empty album for videos.

https://vk.com/dev/video.addAlbum

func NewVideoAddAlbumBuilder

func NewVideoAddAlbumBuilder() *VideoAddAlbumBuilder

NewVideoAddAlbumBuilder func.

func (*VideoAddAlbumBuilder) GroupID

GroupID community ID (if the album will be created in a community).

func (*VideoAddAlbumBuilder) Privacy

Privacy new access permissions for the album. Possible values:

* 0 – all users,

* 1 – friends only,

* 2 – friends and friends of friends,

* 3 – "only me".

func (*VideoAddAlbumBuilder) Title

Title album.

type VideoAddBuilder

type VideoAddBuilder struct {
	api.Params
}

VideoAddBuilder builder.

Adds a video to a user or community page.

https://vk.com/dev/video.add

func NewVideoAddBuilder

func NewVideoAddBuilder() *VideoAddBuilder

NewVideoAddBuilder func.

func (*VideoAddBuilder) OwnerID

func (b *VideoAddBuilder) OwnerID(v int) *VideoAddBuilder

OwnerID ID of the user or community that owns the video. Use a negative value to designate a community ID.

func (*VideoAddBuilder) TargetID

func (b *VideoAddBuilder) TargetID(v int) *VideoAddBuilder

TargetID identifier of a user or community to add a video to. Use a negative value to designate a community ID.

func (*VideoAddBuilder) VideoID

func (b *VideoAddBuilder) VideoID(v int) *VideoAddBuilder

VideoID parameter.

type VideoAddToAlbumBuilder

type VideoAddToAlbumBuilder struct {
	api.Params
}

VideoAddToAlbumBuilder builder.

https://vk.com/dev/video.addToAlbum

func NewVideoAddToAlbumBuilder

func NewVideoAddToAlbumBuilder() *VideoAddToAlbumBuilder

NewVideoAddToAlbumBuilder func.

func (*VideoAddToAlbumBuilder) AlbumID

AlbumID parameter.

func (*VideoAddToAlbumBuilder) AlbumIDs

AlbumIDs parameter.

func (*VideoAddToAlbumBuilder) OwnerID

OwnerID parameter.

func (*VideoAddToAlbumBuilder) TargetID

TargetID parameter.

func (*VideoAddToAlbumBuilder) VideoID

VideoID parameter.

type VideoCreateCommentBuilder

type VideoCreateCommentBuilder struct {
	api.Params
}

VideoCreateCommentBuilder builder.

Adds a new comment on a video.

https://vk.com/dev/video.createComment

func NewVideoCreateCommentBuilder

func NewVideoCreateCommentBuilder() *VideoCreateCommentBuilder

NewVideoCreateCommentBuilder func.

func (*VideoCreateCommentBuilder) Attachments

func (b *VideoCreateCommentBuilder) Attachments(v interface{}) *VideoCreateCommentBuilder

Attachments list of objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media attachment owner. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614".

func (*VideoCreateCommentBuilder) FromGroup

FromGroup '1' — to post the comment from a community name (only if 'owner_id'<0).

func (*VideoCreateCommentBuilder) GUID

GUID parameter.

func (*VideoCreateCommentBuilder) Message

Message new comment text.

func (*VideoCreateCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

func (*VideoCreateCommentBuilder) ReplyToComment

ReplyToComment parameter.

func (*VideoCreateCommentBuilder) StickerID

StickerID parameter.

func (*VideoCreateCommentBuilder) VideoID

VideoID parameter.

type VideoDeleteAlbumBuilder

type VideoDeleteAlbumBuilder struct {
	api.Params
}

VideoDeleteAlbumBuilder builder.

Deletes a video album.

https://vk.com/dev/video.deleteAlbum

func NewVideoDeleteAlbumBuilder

func NewVideoDeleteAlbumBuilder() *VideoDeleteAlbumBuilder

NewVideoDeleteAlbumBuilder func.

func (*VideoDeleteAlbumBuilder) AlbumID

AlbumID parameter.

func (*VideoDeleteAlbumBuilder) GroupID

GroupID community ID (if the album is owned by a community).

type VideoDeleteBuilder

type VideoDeleteBuilder struct {
	api.Params
}

VideoDeleteBuilder builder.

Deletes a video from a user or community page.

https://vk.com/dev/video.delete

func NewVideoDeleteBuilder

func NewVideoDeleteBuilder() *VideoDeleteBuilder

NewVideoDeleteBuilder func.

func (*VideoDeleteBuilder) OwnerID

func (b *VideoDeleteBuilder) OwnerID(v int) *VideoDeleteBuilder

OwnerID ID of the user or community that owns the video.

func (*VideoDeleteBuilder) TargetID

func (b *VideoDeleteBuilder) TargetID(v int) *VideoDeleteBuilder

TargetID parameter.

func (*VideoDeleteBuilder) VideoID

func (b *VideoDeleteBuilder) VideoID(v int) *VideoDeleteBuilder

VideoID parameter.

type VideoDeleteCommentBuilder

type VideoDeleteCommentBuilder struct {
	api.Params
}

VideoDeleteCommentBuilder builder.

Deletes a comment on a video.

https://vk.com/dev/video.deleteComment

func NewVideoDeleteCommentBuilder

func NewVideoDeleteCommentBuilder() *VideoDeleteCommentBuilder

NewVideoDeleteCommentBuilder func.

func (*VideoDeleteCommentBuilder) CommentID

CommentID ID of the comment to be deleted.

func (*VideoDeleteCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

type VideoEditAlbumBuilder

type VideoEditAlbumBuilder struct {
	api.Params
}

VideoEditAlbumBuilder builder.

Edits the title of a video album.

https://vk.com/dev/video.editAlbum

func NewVideoEditAlbumBuilder

func NewVideoEditAlbumBuilder() *VideoEditAlbumBuilder

NewVideoEditAlbumBuilder func.

func (*VideoEditAlbumBuilder) AlbumID

AlbumID parameter.

func (*VideoEditAlbumBuilder) GroupID

GroupID community ID (if the album edited is owned by a community).

func (*VideoEditAlbumBuilder) Privacy

Privacy new access permissions for the album. Possible values:

* 0 – all users,

* 1 – friends only,

* 2 – friends and friends of friends,

* 3 – "only me".

func (*VideoEditAlbumBuilder) Title

Title new album title.

type VideoEditBuilder

type VideoEditBuilder struct {
	api.Params
}

VideoEditBuilder builder.

Edits information about a video on a user or community page.

https://vk.com/dev/video.edit

func NewVideoEditBuilder

func NewVideoEditBuilder() *VideoEditBuilder

NewVideoEditBuilder func.

func (*VideoEditBuilder) Desc

Desc new video description.

func (*VideoEditBuilder) Name

Name new video title.

func (*VideoEditBuilder) NoComments

func (b *VideoEditBuilder) NoComments(v bool) *VideoEditBuilder

NoComments disable comments for the group video.

func (*VideoEditBuilder) OwnerID

func (b *VideoEditBuilder) OwnerID(v int) *VideoEditBuilder

OwnerID ID of the user or community that owns the video.

func (*VideoEditBuilder) PrivacyComment

func (b *VideoEditBuilder) PrivacyComment(v []string) *VideoEditBuilder

PrivacyComment privacy settings for comments in a [vk.com/dev/privacy_setting|special format].

func (*VideoEditBuilder) PrivacyView

func (b *VideoEditBuilder) PrivacyView(v []string) *VideoEditBuilder

PrivacyView privacy settings in a [vk.com/dev/privacy_setting|special format]. Privacy setting is available for videos uploaded to own profile by user.

func (*VideoEditBuilder) Repeat

func (b *VideoEditBuilder) Repeat(v bool) *VideoEditBuilder

Repeat '1' — to repeat the playback of the video, '0' — to play the video once.

func (*VideoEditBuilder) VideoID

func (b *VideoEditBuilder) VideoID(v int) *VideoEditBuilder

VideoID parameter.

type VideoEditCommentBuilder

type VideoEditCommentBuilder struct {
	api.Params
}

VideoEditCommentBuilder builder.

Edits the text of a comment on a video.

https://vk.com/dev/video.editComment

func NewVideoEditCommentBuilder

func NewVideoEditCommentBuilder() *VideoEditCommentBuilder

NewVideoEditCommentBuilder func.

func (*VideoEditCommentBuilder) Attachments

func (b *VideoEditCommentBuilder) Attachments(v interface{}) *VideoEditCommentBuilder

Attachments list of objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media attachment owner. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614".

func (*VideoEditCommentBuilder) CommentID

CommentID parameter.

func (*VideoEditCommentBuilder) Message

Message new comment text.

func (*VideoEditCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

type VideoGetAlbumByIDBuilder

type VideoGetAlbumByIDBuilder struct {
	api.Params
}

VideoGetAlbumByIDBuilder builder.

Returns video album info.

https://vk.com/dev/video.getAlbumById

func NewVideoGetAlbumByIDBuilder

func NewVideoGetAlbumByIDBuilder() *VideoGetAlbumByIDBuilder

NewVideoGetAlbumByIDBuilder func.

func (*VideoGetAlbumByIDBuilder) AlbumID

AlbumID parameter.

func (*VideoGetAlbumByIDBuilder) OwnerID

OwnerID identifier of a user or community to add a video to. Use a negative value to designate a community ID.

type VideoGetAlbumsBuilder

type VideoGetAlbumsBuilder struct {
	api.Params
}

VideoGetAlbumsBuilder builder.

Returns a list of video albums owned by a user or community.

https://vk.com/dev/video.getAlbums

func NewVideoGetAlbumsBuilder

func NewVideoGetAlbumsBuilder() *VideoGetAlbumsBuilder

NewVideoGetAlbumsBuilder func.

func (*VideoGetAlbumsBuilder) Count

Count number of video albums to return.

func (*VideoGetAlbumsBuilder) Extended

Extended '1' — to return additional information about album privacy settings for the current user.

func (*VideoGetAlbumsBuilder) NeedSystem

NeedSystem parameter.

func (*VideoGetAlbumsBuilder) Offset

Offset needed to return a specific subset of video albums.

func (*VideoGetAlbumsBuilder) OwnerID

OwnerID ID of the user or community that owns the video album(s).

type VideoGetAlbumsByVideoBuilder

type VideoGetAlbumsByVideoBuilder struct {
	api.Params
}

VideoGetAlbumsByVideoBuilder builder.

https://vk.com/dev/video.getAlbumsByVideo

func NewVideoGetAlbumsByVideoBuilder

func NewVideoGetAlbumsByVideoBuilder() *VideoGetAlbumsByVideoBuilder

NewVideoGetAlbumsByVideoBuilder func.

func (*VideoGetAlbumsByVideoBuilder) Extended

Extended parameter.

func (*VideoGetAlbumsByVideoBuilder) OwnerID

OwnerID parameter.

func (*VideoGetAlbumsByVideoBuilder) TargetID

TargetID parameter.

func (*VideoGetAlbumsByVideoBuilder) VideoID

VideoID parameter.

type VideoGetBuilder

type VideoGetBuilder struct {
	api.Params
}

VideoGetBuilder builder.

Returns detailed information about videos.

https://vk.com/dev/video.get

func NewVideoGetBuilder

func NewVideoGetBuilder() *VideoGetBuilder

NewVideoGetBuilder func.

func (*VideoGetBuilder) AlbumID

func (b *VideoGetBuilder) AlbumID(v int) *VideoGetBuilder

AlbumID ID of the album containing the video(s).

func (*VideoGetBuilder) Count

func (b *VideoGetBuilder) Count(v int) *VideoGetBuilder

Count number of videos to return.

func (*VideoGetBuilder) Extended

func (b *VideoGetBuilder) Extended(v bool) *VideoGetBuilder

Extended '1' — to return an extended response with additional fields.

func (*VideoGetBuilder) Offset

func (b *VideoGetBuilder) Offset(v int) *VideoGetBuilder

Offset needed to return a specific subset of videos.

func (*VideoGetBuilder) OwnerID

func (b *VideoGetBuilder) OwnerID(v int) *VideoGetBuilder

OwnerID ID of the user or community that owns the video(s).

func (*VideoGetBuilder) Videos

func (b *VideoGetBuilder) Videos(v []string) *VideoGetBuilder

Videos IDs, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", Use a negative value to designate a community ID. Example: "-4363_136089719,13245770_137352259".

type VideoGetCommentsBuilder

type VideoGetCommentsBuilder struct {
	api.Params
}

VideoGetCommentsBuilder builder.

Returns a list of comments on a video.

https://vk.com/dev/video.getComments

func NewVideoGetCommentsBuilder

func NewVideoGetCommentsBuilder() *VideoGetCommentsBuilder

NewVideoGetCommentsBuilder func.

func (*VideoGetCommentsBuilder) Count

Count number of comments to return.

func (*VideoGetCommentsBuilder) Extended

Extended parameter.

func (*VideoGetCommentsBuilder) Fields

Fields parameter.

func (*VideoGetCommentsBuilder) NeedLikes

NeedLikes '1' — to return an additional 'likes' field.

func (*VideoGetCommentsBuilder) Offset

Offset needed to return a specific subset of comments.

func (*VideoGetCommentsBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

func (*VideoGetCommentsBuilder) Sort

Sort order: 'asc' — oldest comment first, 'desc' — newest comment first.

func (*VideoGetCommentsBuilder) StartCommentID

func (b *VideoGetCommentsBuilder) StartCommentID(v int) *VideoGetCommentsBuilder

StartCommentID parameter.

func (*VideoGetCommentsBuilder) VideoID

VideoID parameter.

type VideoRemoveFromAlbumBuilder

type VideoRemoveFromAlbumBuilder struct {
	api.Params
}

VideoRemoveFromAlbumBuilder builder.

https://vk.com/dev/video.removeFromAlbum

func NewVideoRemoveFromAlbumBuilder

func NewVideoRemoveFromAlbumBuilder() *VideoRemoveFromAlbumBuilder

NewVideoRemoveFromAlbumBuilder func.

func (*VideoRemoveFromAlbumBuilder) AlbumID

AlbumID parameter.

func (*VideoRemoveFromAlbumBuilder) AlbumIDs

AlbumIDs parameter.

func (*VideoRemoveFromAlbumBuilder) OwnerID

OwnerID parameter.

func (*VideoRemoveFromAlbumBuilder) TargetID

TargetID parameter.

func (*VideoRemoveFromAlbumBuilder) VideoID

VideoID parameter.

type VideoReorderAlbumsBuilder

type VideoReorderAlbumsBuilder struct {
	api.Params
}

VideoReorderAlbumsBuilder builder.

Reorders the album in the list of user video albums.

https://vk.com/dev/video.reorderAlbums

func NewVideoReorderAlbumsBuilder

func NewVideoReorderAlbumsBuilder() *VideoReorderAlbumsBuilder

NewVideoReorderAlbumsBuilder func.

func (*VideoReorderAlbumsBuilder) After

After ID of the album after which the album in question shall be placed.

func (*VideoReorderAlbumsBuilder) AlbumID

AlbumID parameter.

func (*VideoReorderAlbumsBuilder) Before

Before ID of the album before which the album in question shall be placed.

func (*VideoReorderAlbumsBuilder) OwnerID

OwnerID ID of the user or community that owns the albums..

type VideoReorderVideosBuilder

type VideoReorderVideosBuilder struct {
	api.Params
}

VideoReorderVideosBuilder builder.

Reorders the video in the video album.

https://vk.com/dev/video.reorderVideos

func NewVideoReorderVideosBuilder

func NewVideoReorderVideosBuilder() *VideoReorderVideosBuilder

NewVideoReorderVideosBuilder func.

func (*VideoReorderVideosBuilder) AfterOwnerID

AfterOwnerID ID of the user or community that owns the video after which the photo in question shall be placed.

func (*VideoReorderVideosBuilder) AfterVideoID

AfterVideoID ID of the video after which the photo in question shall be placed.

func (*VideoReorderVideosBuilder) AlbumID

AlbumID ID of the video album.

func (*VideoReorderVideosBuilder) BeforeOwnerID

BeforeOwnerID ID of the user or community that owns the video before which the video in question shall be placed.

func (*VideoReorderVideosBuilder) BeforeVideoID

BeforeVideoID ID of the video before which the video in question shall be placed.

func (*VideoReorderVideosBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

func (*VideoReorderVideosBuilder) TargetID

TargetID ID of the user or community that owns the album with videos.

func (*VideoReorderVideosBuilder) VideoID

VideoID ID of the video.

type VideoReportBuilder

type VideoReportBuilder struct {
	api.Params
}

VideoReportBuilder builder.

Reports (submits a complaint about) a video.

https://vk.com/dev/video.report

func NewVideoReportBuilder

func NewVideoReportBuilder() *VideoReportBuilder

NewVideoReportBuilder func.

func (*VideoReportBuilder) Comment

Comment describing the complaint.

func (*VideoReportBuilder) OwnerID

func (b *VideoReportBuilder) OwnerID(v int) *VideoReportBuilder

OwnerID ID of the user or community that owns the video.

func (*VideoReportBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

func (*VideoReportBuilder) SearchQuery

func (b *VideoReportBuilder) SearchQuery(v string) *VideoReportBuilder

SearchQuery (If the video was found in search results.) Search query string.

func (*VideoReportBuilder) VideoID

func (b *VideoReportBuilder) VideoID(v int) *VideoReportBuilder

VideoID parameter.

type VideoReportCommentBuilder

type VideoReportCommentBuilder struct {
	api.Params
}

VideoReportCommentBuilder builder.

Reports (submits a complaint about) a comment on a video.

https://vk.com/dev/video.reportComment

func NewVideoReportCommentBuilder

func NewVideoReportCommentBuilder() *VideoReportCommentBuilder

NewVideoReportCommentBuilder func.

func (*VideoReportCommentBuilder) CommentID

CommentID ID of the comment being reported.

func (*VideoReportCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

func (*VideoReportCommentBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type VideoRestoreBuilder

type VideoRestoreBuilder struct {
	api.Params
}

VideoRestoreBuilder builder.

Restores a previously deleted video.

https://vk.com/dev/video.restore

func NewVideoRestoreBuilder

func NewVideoRestoreBuilder() *VideoRestoreBuilder

NewVideoRestoreBuilder func.

func (*VideoRestoreBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

func (*VideoRestoreBuilder) VideoID

VideoID parameter.

type VideoRestoreCommentBuilder

type VideoRestoreCommentBuilder struct {
	api.Params
}

VideoRestoreCommentBuilder builder.

Restores a previously deleted comment on a video.

https://vk.com/dev/video.restoreComment

func NewVideoRestoreCommentBuilder

func NewVideoRestoreCommentBuilder() *VideoRestoreCommentBuilder

NewVideoRestoreCommentBuilder func.

func (*VideoRestoreCommentBuilder) CommentID

CommentID ID of the deleted comment.

func (*VideoRestoreCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the video.

type VideoSaveBuilder

type VideoSaveBuilder struct {
	api.Params
}

VideoSaveBuilder builder.

Returns a server address (required for upload) and video data.

https://vk.com/dev/video.save

func NewVideoSaveBuilder

func NewVideoSaveBuilder() *VideoSaveBuilder

NewVideoSaveBuilder func.

func (*VideoSaveBuilder) AlbumID

func (b *VideoSaveBuilder) AlbumID(v int) *VideoSaveBuilder

AlbumID ID of the album to which the saved video will be added.

func (*VideoSaveBuilder) Compression

func (b *VideoSaveBuilder) Compression(v bool) *VideoSaveBuilder

Compression parameter.

func (*VideoSaveBuilder) Description

func (b *VideoSaveBuilder) Description(v string) *VideoSaveBuilder

Description of the video.

func (*VideoSaveBuilder) GroupID

func (b *VideoSaveBuilder) GroupID(v int) *VideoSaveBuilder

GroupID ID of the community in which the video will be saved. By default, the current user's page.

func (*VideoSaveBuilder) IsPrivate

func (b *VideoSaveBuilder) IsPrivate(v bool) *VideoSaveBuilder

IsPrivate parameter.

* 1 — to designate the video as private (send it via a private message), the video will not appear on the user's video list and will not be available by ID for other users,

* 0 — not to designate the video as private.

func (*VideoSaveBuilder) IsUnitedVideoUpload

func (b *VideoSaveBuilder) IsUnitedVideoUpload(v bool) *VideoSaveBuilder

IsUnitedVideoUpload parameter.

Link URL for embedding the video from an external website.

func (*VideoSaveBuilder) Name

Name of the video.

func (*VideoSaveBuilder) NoComments

func (b *VideoSaveBuilder) NoComments(v bool) *VideoSaveBuilder

NoComments parameter.

func (*VideoSaveBuilder) PrivacyComment

func (b *VideoSaveBuilder) PrivacyComment(v []string) *VideoSaveBuilder

PrivacyComment parameter.

func (*VideoSaveBuilder) PrivacyView

func (b *VideoSaveBuilder) PrivacyView(v []string) *VideoSaveBuilder

PrivacyView parameter.

func (*VideoSaveBuilder) Repeat

func (b *VideoSaveBuilder) Repeat(v bool) *VideoSaveBuilder

Repeat '1' — to repeat the playback of the video, '0' — to play the video once.

func (*VideoSaveBuilder) Wallpost

func (b *VideoSaveBuilder) Wallpost(v bool) *VideoSaveBuilder

Wallpost parameter.

* 1 — to post the saved video on a user's wall * 0 — not to post the saved video on a user's wall.

type VideoSearchBuilder

type VideoSearchBuilder struct {
	api.Params
}

VideoSearchBuilder builder.

Returns a list of videos under the set search criterion.

https://vk.com/dev/video.search

func NewVideoSearchBuilder

func NewVideoSearchBuilder() *VideoSearchBuilder

NewVideoSearchBuilder func.

func (*VideoSearchBuilder) Adult

Adult '1' — to disable the Safe Search filter, '0' — to enable the Safe Search filter.

func (*VideoSearchBuilder) Count

Count number of videos to return.

func (*VideoSearchBuilder) Extended

func (b *VideoSearchBuilder) Extended(v bool) *VideoSearchBuilder

Extended parameter.

func (*VideoSearchBuilder) Filters

func (b *VideoSearchBuilder) Filters(v []string) *VideoSearchBuilder

Filters to apply:

* youtube — return YouTube videos only;

* vimeo — return Vimeo videos only;

* short — return short videos only;

* long — return long videos only.

func (*VideoSearchBuilder) HD

HD if not null, only searches for high-definition videos.

func (*VideoSearchBuilder) Legal

Legal parameter.

func (*VideoSearchBuilder) LegalOwner

func (b *VideoSearchBuilder) LegalOwner(v int) *VideoSearchBuilder

LegalOwner parameter.

func (*VideoSearchBuilder) Longer

Longer parameter.

func (*VideoSearchBuilder) Offset

Offset needed to return a specific subset of videos.

func (*VideoSearchBuilder) Q

Q search query string (e.g., 'The Beatles').

func (*VideoSearchBuilder) SearchOwn

func (b *VideoSearchBuilder) SearchOwn(v bool) *VideoSearchBuilder

SearchOwn parameter.

func (*VideoSearchBuilder) Shorter

func (b *VideoSearchBuilder) Shorter(v int) *VideoSearchBuilder

Shorter parameter.

func (*VideoSearchBuilder) Sort

Sort order: '1' — by duration, '2' — by relevance, '0' — by date added.

type VideoStartStreamingBuilder

type VideoStartStreamingBuilder struct {
	api.Params
}

VideoStartStreamingBuilder builder.

https://vk.com/dev/video.startStreaming

func NewVideoStartStreamingBuilder

func NewVideoStartStreamingBuilder() *VideoStartStreamingBuilder

NewVideoStartStreamingBuilder func.

func (*VideoStartStreamingBuilder) CategoryID

CategoryID parameter.

func (*VideoStartStreamingBuilder) Description

Description parameter.

func (*VideoStartStreamingBuilder) GroupID

GroupID parameter.

func (*VideoStartStreamingBuilder) Name

Name parameter.

func (*VideoStartStreamingBuilder) NoComments

NoComments parameter.

func (*VideoStartStreamingBuilder) PrivacyComment

PrivacyComment parameter.

func (*VideoStartStreamingBuilder) PrivacyView

PrivacyView parameter.

func (*VideoStartStreamingBuilder) Publish

Publish parameter.

func (*VideoStartStreamingBuilder) VideoID

VideoID parameter.

func (*VideoStartStreamingBuilder) Wallpost

Wallpost parameter.

type VideoStopStreamingBuilder

type VideoStopStreamingBuilder struct {
	api.Params
}

VideoStopStreamingBuilder builder.

https://vk.com/dev/video.stopStreaming

func NewVideoStopStreamingBuilder

func NewVideoStopStreamingBuilder() *VideoStopStreamingBuilder

NewVideoStopStreamingBuilder func.

func (*VideoStopStreamingBuilder) GroupID

GroupID parameter.

func (*VideoStopStreamingBuilder) OwnerID

OwnerID parameter.

func (*VideoStopStreamingBuilder) VideoID

VideoID parameter.

type WallCheckCopyrightLinkBuilder

type WallCheckCopyrightLinkBuilder struct {
	api.Params
}

WallCheckCopyrightLinkBuilder builder.

https://vk.com/dev/wall.checkCopyrightLink

func NewWallCheckCopyrightLinkBuilder

func NewWallCheckCopyrightLinkBuilder() *WallCheckCopyrightLinkBuilder

NewWallCheckCopyrightLinkBuilder func.

Link parameter.

type WallCloseCommentsBuilder

type WallCloseCommentsBuilder struct {
	api.Params
}

WallCloseCommentsBuilder builder.

https://vk.com/dev/wall.closeComments

func NewWallCloseCommentsBuilder

func NewWallCloseCommentsBuilder() *WallCloseCommentsBuilder

NewWallCloseCommentsBuilder func.

func (*WallCloseCommentsBuilder) OwnerID

OwnerID parameter.

func (*WallCloseCommentsBuilder) PostID

PostID parameter.

type WallCreateCommentBuilder

type WallCreateCommentBuilder struct {
	api.Params
}

WallCreateCommentBuilder builder.

Adds a comment to a post on a user wall or community wall.

https://vk.com/dev/wall.createComment

func NewWallCreateCommentBuilder

func NewWallCreateCommentBuilder() *WallCreateCommentBuilder

NewWallCreateCommentBuilder func.

func (*WallCreateCommentBuilder) Attachments

func (b *WallCreateCommentBuilder) Attachments(v interface{}) *WallCreateCommentBuilder

Attachments (Required if 'message' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. For example: "photo100172_166443618,photo66748_265827614".

func (*WallCreateCommentBuilder) FromGroup

FromGroup group ID.

func (*WallCreateCommentBuilder) GUID

GUID unique identifier to avoid repeated comments.

func (*WallCreateCommentBuilder) Message

Message (Required if 'attachments' is not set.) Text of the comment.

func (*WallCreateCommentBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallCreateCommentBuilder) PostID

PostID parameter.

func (*WallCreateCommentBuilder) ReplyToComment

ReplyToComment ID of comment to reply.

func (*WallCreateCommentBuilder) StickerID

StickerID parameter.

type WallDeleteBuilder

type WallDeleteBuilder struct {
	api.Params
}

WallDeleteBuilder builder.

Deletes a post from a user wall or community wall.

https://vk.com/dev/wall.delete

func NewWallDeleteBuilder

func NewWallDeleteBuilder() *WallDeleteBuilder

NewWallDeleteBuilder func.

func (*WallDeleteBuilder) OwnerID

func (b *WallDeleteBuilder) OwnerID(v int) *WallDeleteBuilder

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallDeleteBuilder) PostID

func (b *WallDeleteBuilder) PostID(v int) *WallDeleteBuilder

PostID ID of the post to be deleted.

type WallDeleteCommentBuilder

type WallDeleteCommentBuilder struct {
	api.Params
}

WallDeleteCommentBuilder builder.

Deletes a comment on a post on a user wall or community wall.

https://vk.com/dev/wall.deleteComment

func NewWallDeleteCommentBuilder

func NewWallDeleteCommentBuilder() *WallDeleteCommentBuilder

NewWallDeleteCommentBuilder func.

func (*WallDeleteCommentBuilder) CommentID

CommentID parameter.

func (*WallDeleteCommentBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

type WallEditAdsStealthBuilder

type WallEditAdsStealthBuilder struct {
	api.Params
}

WallEditAdsStealthBuilder builder.

Allows to edit hidden post.

https://vk.com/dev/wall.editAdsStealth

func NewWallEditAdsStealthBuilder

func NewWallEditAdsStealthBuilder() *WallEditAdsStealthBuilder

NewWallEditAdsStealthBuilder func.

func (*WallEditAdsStealthBuilder) Attachments

func (b *WallEditAdsStealthBuilder) Attachments(v interface{}) *WallEditAdsStealthBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru",

NOTE: If more than one link is being attached, an error is thrown.

func (*WallEditAdsStealthBuilder) Lat

Lat geographical latitude of a check-in, in degrees (from -90 to 90).

func (*WallEditAdsStealthBuilder) LinkButton

LinkButton link button ID.

func (*WallEditAdsStealthBuilder) LinkImage

LinkImage link image url.

func (*WallEditAdsStealthBuilder) LinkTitle

LinkTitle link title.

func (*WallEditAdsStealthBuilder) LinkVideo

LinkVideo link video ID in format "<owner_id>_<media_id>".

func (*WallEditAdsStealthBuilder) Long

Long geographical longitude of a check-in, in degrees (from -180 to 180).

func (*WallEditAdsStealthBuilder) Message

Message (Required if 'attachments' is not set.) Text of the post.

func (*WallEditAdsStealthBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallEditAdsStealthBuilder) PlaceID

PlaceID ID of the location where the user was tagged.

func (*WallEditAdsStealthBuilder) PostID

PostID parameter. Used for publishing of scheduled and suggested posts.

func (*WallEditAdsStealthBuilder) Signed

Signed only for posts in communities with 'from_group' set to '1':

* 1 — post will be signed with the name of the posting user.

* 0 — post will not be signed (default).

type WallEditBuilder

type WallEditBuilder struct {
	api.Params
}

WallEditBuilder builder.

Edits a post on a user wall or community wall.

https://vk.com/dev/wall.edit

func NewWallEditBuilder

func NewWallEditBuilder() *WallEditBuilder

NewWallEditBuilder func.

func (*WallEditBuilder) Attachments

func (b *WallEditBuilder) Attachments(v interface{}) *WallEditBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru",

NOTE: If more than one link is being attached, an error is thrown.

func (*WallEditBuilder) CloseComments

func (b *WallEditBuilder) CloseComments(v bool) *WallEditBuilder

CloseComments parameter.

func (*WallEditBuilder) FriendsOnly

func (b *WallEditBuilder) FriendsOnly(v bool) *WallEditBuilder

FriendsOnly parameter.

func (*WallEditBuilder) Lat

Lat parameter.

func (*WallEditBuilder) Long

Long parameter.

func (*WallEditBuilder) MarkAsAds

func (b *WallEditBuilder) MarkAsAds(v bool) *WallEditBuilder

MarkAsAds parameter.

func (*WallEditBuilder) Message

func (b *WallEditBuilder) Message(v string) *WallEditBuilder

Message (Required if 'attachments' is not set.) Text of the post.

func (*WallEditBuilder) OwnerID

func (b *WallEditBuilder) OwnerID(v int) *WallEditBuilder

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallEditBuilder) PlaceID

func (b *WallEditBuilder) PlaceID(v int) *WallEditBuilder

PlaceID parameter.

func (*WallEditBuilder) PostID

func (b *WallEditBuilder) PostID(v int) *WallEditBuilder

PostID parameter.

func (*WallEditBuilder) PosterBkgAccessHash

func (b *WallEditBuilder) PosterBkgAccessHash(v string) *WallEditBuilder

PosterBkgAccessHash parameter.

func (*WallEditBuilder) PosterBkgID

func (b *WallEditBuilder) PosterBkgID(v int) *WallEditBuilder

PosterBkgID parameter.

func (*WallEditBuilder) PosterBkgOwnerID

func (b *WallEditBuilder) PosterBkgOwnerID(v int) *WallEditBuilder

PosterBkgOwnerID parameter.

func (*WallEditBuilder) PublishDate

func (b *WallEditBuilder) PublishDate(v int) *WallEditBuilder

PublishDate parameter.

func (*WallEditBuilder) Services

func (b *WallEditBuilder) Services(v string) *WallEditBuilder

Services parameter.

func (*WallEditBuilder) Signed

func (b *WallEditBuilder) Signed(v bool) *WallEditBuilder

Signed parameter.

type WallEditCommentBuilder

type WallEditCommentBuilder struct {
	api.Params
}

WallEditCommentBuilder builder.

Edits a comment on a user wall or community wall.

https://vk.com/dev/wall.editComment

func NewWallEditCommentBuilder

func NewWallEditCommentBuilder() *WallEditCommentBuilder

NewWallEditCommentBuilder func.

func (*WallEditCommentBuilder) Attachments

func (b *WallEditCommentBuilder) Attachments(v interface{}) *WallEditCommentBuilder

Attachments list of objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID.

Example: "photo100172_166443618,photo66748_265827614".

func (*WallEditCommentBuilder) CommentID

CommentID parameter.

func (*WallEditCommentBuilder) Message

Message new comment text.

func (*WallEditCommentBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

type WallGetBuilder

type WallGetBuilder struct {
	api.Params
}

WallGetBuilder builder.

Returns a list of posts on a user wall or community wall.

https://vk.com/dev/wall.get

func NewWallGetBuilder

func NewWallGetBuilder() *WallGetBuilder

NewWallGetBuilder func.

func (*WallGetBuilder) Count

func (b *WallGetBuilder) Count(v int) *WallGetBuilder

Count number of posts to return (maximum 100).

func (*WallGetBuilder) Domain

func (b *WallGetBuilder) Domain(v string) *WallGetBuilder

Domain user or community short address.

func (*WallGetBuilder) Extended

func (b *WallGetBuilder) Extended(v bool) *WallGetBuilder

Extended '1' — to return 'wall', 'profiles', and 'groups' fields, '0' — to return no additional fields (default).

func (*WallGetBuilder) Fields

func (b *WallGetBuilder) Fields(v []string) *WallGetBuilder

Fields parameter.

func (*WallGetBuilder) Filter

func (b *WallGetBuilder) Filter(v string) *WallGetBuilder

Filter to apply:

* owner — posts by the wall owner;

* others — posts by someone else;

* all — posts by the wall owner and others (default);

* postponed — timed posts (only available for calls with an 'access_token');

* suggests — suggested posts on a community wall.

func (*WallGetBuilder) Offset

func (b *WallGetBuilder) Offset(v int) *WallGetBuilder

Offset needed to return a specific subset of posts.

func (*WallGetBuilder) OwnerID

func (b *WallGetBuilder) OwnerID(v int) *WallGetBuilder

OwnerID ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.

type WallGetByIDBuilder

type WallGetByIDBuilder struct {
	api.Params
}

WallGetByIDBuilder builder.

Returns a list of posts from user or community walls by their IDs.

https://vk.com/dev/wall.getById

func NewWallGetByIDBuilder

func NewWallGetByIDBuilder() *WallGetByIDBuilder

NewWallGetByIDBuilder func.

func (*WallGetByIDBuilder) CopyHistoryDepth

func (b *WallGetByIDBuilder) CopyHistoryDepth(v int) *WallGetByIDBuilder

CopyHistoryDepth sets the number of parent elements to include in the array 'copy_history' that is returned if the post is a repost from another wall.

func (*WallGetByIDBuilder) Extended

func (b *WallGetByIDBuilder) Extended(v bool) *WallGetByIDBuilder

Extended '1' — to return user and community objects needed to display posts, '0' — no additional fields are returned (default).

func (*WallGetByIDBuilder) Fields

Fields parameter.

func (*WallGetByIDBuilder) Posts

Posts user or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID.

Example: "93388_21539,93388_20904,2943_4276,-1_1".

type WallGetCommentsBuilder

type WallGetCommentsBuilder struct {
	api.Params
}

WallGetCommentsBuilder builder.

Returns a list of comments on a post on a user wall or community wall.

https://vk.com/dev/wall.getComments

func NewWallGetCommentsBuilder

func NewWallGetCommentsBuilder() *WallGetCommentsBuilder

NewWallGetCommentsBuilder func.

func (*WallGetCommentsBuilder) CommentID

CommentID parameter.

func (*WallGetCommentsBuilder) Count

Count number of comments to return (maximum 100).

func (*WallGetCommentsBuilder) Extended

Extended parameter.

func (*WallGetCommentsBuilder) Fields

Fields parameter.

func (*WallGetCommentsBuilder) NeedLikes

NeedLikes parameter.

* '1' — to return the 'likes' field,

* '0' — not to return the 'likes' field (default).

func (*WallGetCommentsBuilder) Offset

Offset needed to return a specific subset of comments.

func (*WallGetCommentsBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallGetCommentsBuilder) PostID

PostID parameter.

func (*WallGetCommentsBuilder) PreviewLength

func (b *WallGetCommentsBuilder) PreviewLength(v int) *WallGetCommentsBuilder

PreviewLength number of characters at which to truncate comments when previewed. By default, '90'. Specify '0' if you do not want to truncate comments.

func (*WallGetCommentsBuilder) Sort

Sort order: 'asc' — chronological, 'desc' — reverse chronological.

func (*WallGetCommentsBuilder) StartCommentID

func (b *WallGetCommentsBuilder) StartCommentID(v int) *WallGetCommentsBuilder

StartCommentID parameter.

func (*WallGetCommentsBuilder) ThreadItemsCount

func (b *WallGetCommentsBuilder) ThreadItemsCount(v int) *WallGetCommentsBuilder

ThreadItemsCount count items in threads.

type WallGetRepostsBuilder

type WallGetRepostsBuilder struct {
	api.Params
}

WallGetRepostsBuilder builder.

Returns information about reposts of a post on user wall or community wall.

https://vk.com/dev/wall.getReposts

func NewWallGetRepostsBuilder

func NewWallGetRepostsBuilder() *WallGetRepostsBuilder

NewWallGetRepostsBuilder func.

func (*WallGetRepostsBuilder) Count

Count number of reposts to return.

func (*WallGetRepostsBuilder) Offset

Offset needed to return a specific subset of reposts.

func (*WallGetRepostsBuilder) OwnerID

OwnerID user ID or community ID. By default, current user ID. Use a negative value to designate a community ID.

func (*WallGetRepostsBuilder) PostID

PostID parameter.

type WallOpenCommentsBuilder

type WallOpenCommentsBuilder struct {
	api.Params
}

WallOpenCommentsBuilder builder.

https://vk.com/dev/wall.openComments

func NewWallOpenCommentsBuilder

func NewWallOpenCommentsBuilder() *WallOpenCommentsBuilder

NewWallOpenCommentsBuilder func.

func (*WallOpenCommentsBuilder) OwnerID

OwnerID parameter.

func (*WallOpenCommentsBuilder) PostID

PostID parameter.

type WallPinBuilder

type WallPinBuilder struct {
	api.Params
}

WallPinBuilder builder.

Pins the post on wall.

https://vk.com/dev/wall.pin

func NewWallPinBuilder

func NewWallPinBuilder() *WallPinBuilder

NewWallPinBuilder func.

func (*WallPinBuilder) OwnerID

func (b *WallPinBuilder) OwnerID(v int) *WallPinBuilder

OwnerID ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.

func (*WallPinBuilder) PostID

func (b *WallPinBuilder) PostID(v int) *WallPinBuilder

PostID parameter.

type WallPostAdsStealthBuilder

type WallPostAdsStealthBuilder struct {
	api.Params
}

WallPostAdsStealthBuilder builder.

Allows to create hidden post which will not be shown on the community's wall and can be used for creating an ad with type "Community post".

https://vk.com/dev/wall.postAdsStealth

func NewWallPostAdsStealthBuilder

func NewWallPostAdsStealthBuilder() *WallPostAdsStealthBuilder

NewWallPostAdsStealthBuilder func.

func (*WallPostAdsStealthBuilder) Attachments

func (b *WallPostAdsStealthBuilder) Attachments(v interface{}) *WallPostAdsStealthBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID.

Example: "photo100172_166443618,photo66748_265827614".

May contain a link to an external page to include in the post.

Example: "photo66748_265827614,http://habrahabr.ru".

NOTE: If more than one link is being attached, an error will be thrown.

func (*WallPostAdsStealthBuilder) GUID

GUID unique identifier to avoid duplication the same post.

func (*WallPostAdsStealthBuilder) Lat

Lat geographical latitude of a check-in, in degrees (from -90 to 90).

func (*WallPostAdsStealthBuilder) LinkButton

LinkButton link button ID.

func (*WallPostAdsStealthBuilder) LinkImage

LinkImage link image url.

func (*WallPostAdsStealthBuilder) LinkTitle

LinkTitle link title.

func (*WallPostAdsStealthBuilder) LinkVideo

LinkVideo link video ID in format "<owner_id>_<media_id>".

func (*WallPostAdsStealthBuilder) Long

Long geographical longitude of a check-in, in degrees (from -180 to 180).

func (*WallPostAdsStealthBuilder) Message

Message (Required if 'attachments' is not set.) Text of the post.

func (*WallPostAdsStealthBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallPostAdsStealthBuilder) PlaceID

PlaceID ID of the location where the user was tagged.

func (*WallPostAdsStealthBuilder) Signed

Signed only for posts in communities with 'from_group' set to '1':

* 1 — post will be signed with the name of the posting user;

* 0 — post will not be signed (default).

type WallPostBuilder

type WallPostBuilder struct {
	api.Params
}

WallPostBuilder builder.

Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts.

https://vk.com/dev/wall.post

func NewWallPostBuilder

func NewWallPostBuilder() *WallPostBuilder

NewWallPostBuilder func.

func (*WallPostBuilder) Attachments

func (b *WallPostBuilder) Attachments(v interface{}) *WallPostBuilder

Attachments (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID.

Example: "photo100172_166443618,photo66748_265827614".

May contain a link to an external page to include in the post.

Example: "photo66748_265827614,http://habrahabr.ru".

NOTE: If more than one link is being attached, an error will be thrown.

func (*WallPostBuilder) CloseComments

func (b *WallPostBuilder) CloseComments(v bool) *WallPostBuilder

CloseComments parameter.

func (*WallPostBuilder) Copyright

func (b *WallPostBuilder) Copyright(v string) *WallPostBuilder

Copyright parameter.

func (*WallPostBuilder) DonutPaidDuration

func (b *WallPostBuilder) DonutPaidDuration(v int) *WallPostBuilder

DonutPaidDuration period of time during which the post will be available for VK Donut paid subscribers.

-1 - exclusively for donators;

86400 - for 1 day;

172800 - for 2 days;

172800 - for 3 days;

345600 - for 4 days;

432000 - for 5 days;

518400 - for 6 days;

604800 - for 7 days.

func (*WallPostBuilder) FriendsOnly

func (b *WallPostBuilder) FriendsOnly(v bool) *WallPostBuilder

FriendsOnly '1' — post will be available to friends only, '0' — post will be available to all users (default).

func (*WallPostBuilder) FromGroup

func (b *WallPostBuilder) FromGroup(v bool) *WallPostBuilder

FromGroup for a community:

* 1 — post will be published by the community.

* 0 — post will be published by the user (default).

func (*WallPostBuilder) GUID

GUID parameter.

func (*WallPostBuilder) Lat

Lat geographical latitude of a check-in, in degrees (from -90 to 90).

func (*WallPostBuilder) Long

Long geographical longitude of a check-in, in degrees (from -180 to 180).

func (*WallPostBuilder) MarkAsAds

func (b *WallPostBuilder) MarkAsAds(v bool) *WallPostBuilder

MarkAsAds parameter.

func (*WallPostBuilder) Message

func (b *WallPostBuilder) Message(v string) *WallPostBuilder

Message (Required if 'attachments' is not set.) Text of the post.

func (*WallPostBuilder) MuteNotifications

func (b *WallPostBuilder) MuteNotifications(v bool) *WallPostBuilder

MuteNotifications parameter.

func (*WallPostBuilder) OwnerID

func (b *WallPostBuilder) OwnerID(v int) *WallPostBuilder

OwnerID user ID or community ID. Use a negative value to designate a community ID.

func (*WallPostBuilder) PlaceID

func (b *WallPostBuilder) PlaceID(v int) *WallPostBuilder

PlaceID ID of the location where the user was tagged.

func (*WallPostBuilder) PostID

func (b *WallPostBuilder) PostID(v int) *WallPostBuilder

PostID parameter. Used for publishing of scheduled and suggested posts.

func (*WallPostBuilder) PublishDate

func (b *WallPostBuilder) PublishDate(v int) *WallPostBuilder

PublishDate in Unix time. If used, posting will be delayed until the set time.

func (*WallPostBuilder) Services

func (b *WallPostBuilder) Services(v string) *WallPostBuilder

Services list of services or websites the update will be exported to, if the user has so requested. Sample values: 'twitter', 'facebook'.

func (*WallPostBuilder) Signed

func (b *WallPostBuilder) Signed(v bool) *WallPostBuilder

Signed only for posts in communities with 'from_group' set to '1':

* 1 — post will be signed with the name of the posting user;

* 0 — post will not be signed (default).

func (*WallPostBuilder) TopicID

func (b *WallPostBuilder) TopicID(v int) *WallPostBuilder

TopicID parameter.

type WallReportCommentBuilder

type WallReportCommentBuilder struct {
	api.Params
}

WallReportCommentBuilder builder.

Reports (submits a complaint about) a comment on a post on a user wall or community wall.

https://vk.com/dev/wall.reportComment

func NewWallReportCommentBuilder

func NewWallReportCommentBuilder() *WallReportCommentBuilder

NewWallReportCommentBuilder func.

func (*WallReportCommentBuilder) CommentID

CommentID parameter.

func (*WallReportCommentBuilder) OwnerID

OwnerID ID of the user or community that owns the wall.

func (*WallReportCommentBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type WallReportPostBuilder

type WallReportPostBuilder struct {
	api.Params
}

WallReportPostBuilder builder.

Reports (submits a complaint about) a post on a user wall or community wall.

https://vk.com/dev/wall.reportPost

func NewWallReportPostBuilder

func NewWallReportPostBuilder() *WallReportPostBuilder

NewWallReportPostBuilder func.

func (*WallReportPostBuilder) OwnerID

OwnerID ID of the user or community that owns the wall.

func (*WallReportPostBuilder) PostID

PostID parameter.

func (*WallReportPostBuilder) Reason

Reason for the complaint:

* 0 – spam;

* 1 – child pornography;

* 2 – extremism;

* 3 – violence;

* 4 – drug propaganda;

* 5 – adult material;

* 6 – insult, abuse.

type WallRepostBuilder

type WallRepostBuilder struct {
	api.Params
}

WallRepostBuilder builder.

Reposts (copies) an object to a user wall or community wall.

https://vk.com/dev/wall.repost

func NewWallRepostBuilder

func NewWallRepostBuilder() *WallRepostBuilder

NewWallRepostBuilder func.

func (*WallRepostBuilder) GroupID

func (b *WallRepostBuilder) GroupID(v int) *WallRepostBuilder

GroupID Target community ID when reposting to a community.

func (*WallRepostBuilder) MarkAsAds

func (b *WallRepostBuilder) MarkAsAds(v bool) *WallRepostBuilder

MarkAsAds parameter.

func (*WallRepostBuilder) Message

Message comment to be added along with the reposted object.

func (*WallRepostBuilder) MuteNotifications

func (b *WallRepostBuilder) MuteNotifications(v bool) *WallRepostBuilder

MuteNotifications parameter.

func (*WallRepostBuilder) Object

Object ID of the object to be reposted on the wall. Example: "wall66748_3675".

type WallRestoreBuilder

type WallRestoreBuilder struct {
	api.Params
}

WallRestoreBuilder builder.

Restores a post deleted from a user wall or community wall.

https://vk.com/dev/wall.restore

func NewWallRestoreBuilder

func NewWallRestoreBuilder() *WallRestoreBuilder

NewWallRestoreBuilder func.

func (*WallRestoreBuilder) OwnerID

func (b *WallRestoreBuilder) OwnerID(v int) *WallRestoreBuilder

OwnerID user ID or community ID from whose wall the post was deleted. Use a negative value to designate a community ID.

func (*WallRestoreBuilder) PostID

PostID ID of the post to be restored.

type WallRestoreCommentBuilder

type WallRestoreCommentBuilder struct {
	api.Params
}

WallRestoreCommentBuilder builder.

Restores a comment deleted from a user wall or community wall.

https://vk.com/dev/wall.restoreComment

func NewWallRestoreCommentBuilder

func NewWallRestoreCommentBuilder() *WallRestoreCommentBuilder

NewWallRestoreCommentBuilder func.

func (*WallRestoreCommentBuilder) CommentID

CommentID parameter.

func (*WallRestoreCommentBuilder) OwnerID

OwnerID user ID or community ID. Use a negative value to designate a community ID.

type WallSearchBuilder

type WallSearchBuilder struct {
	api.Params
}

WallSearchBuilder builder.

Allows to search posts on user or community walls.

https://vk.com/dev/wall.search

func NewWallSearchBuilder

func NewWallSearchBuilder() *WallSearchBuilder

NewWallSearchBuilder func.

func (*WallSearchBuilder) Count

Count of posts to return.

func (*WallSearchBuilder) Domain

Domain user or community screen name.

func (*WallSearchBuilder) Extended

func (b *WallSearchBuilder) Extended(v bool) *WallSearchBuilder

Extended show extended post info.

func (*WallSearchBuilder) Fields

func (b *WallSearchBuilder) Fields(v []string) *WallSearchBuilder

Fields parameter.

func (*WallSearchBuilder) Offset

func (b *WallSearchBuilder) Offset(v int) *WallSearchBuilder

Offset needed to return a specific subset of posts.

func (*WallSearchBuilder) OwnerID

func (b *WallSearchBuilder) OwnerID(v int) *WallSearchBuilder

OwnerID user or community id. "Remember that for a community 'owner_id' must be negative.".

func (*WallSearchBuilder) OwnersOnly

func (b *WallSearchBuilder) OwnersOnly(v bool) *WallSearchBuilder

OwnersOnly '1' – returns only page owner's posts.

func (*WallSearchBuilder) Query

Query search query string.

type WallUnpinBuilder

type WallUnpinBuilder struct {
	api.Params
}

WallUnpinBuilder builder.

Unpins the post on wall.

https://vk.com/dev/wall.unpin

func NewWallUnpinBuilder

func NewWallUnpinBuilder() *WallUnpinBuilder

NewWallUnpinBuilder func.

func (*WallUnpinBuilder) OwnerID

func (b *WallUnpinBuilder) OwnerID(v int) *WallUnpinBuilder

OwnerID ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.

func (*WallUnpinBuilder) PostID

func (b *WallUnpinBuilder) PostID(v int) *WallUnpinBuilder

PostID post ID.

type WidgetsGetCommentsBuilder

type WidgetsGetCommentsBuilder struct {
	api.Params
}

WidgetsGetCommentsBuilder builder.

Gets a list of comments for the page added through the [vk.com/dev/Comments|Comments widget].

https://vk.com/dev/widgets.getComments

func NewWidgetsGetCommentsBuilder

func NewWidgetsGetCommentsBuilder() *WidgetsGetCommentsBuilder

NewWidgetsGetCommentsBuilder func.

func (*WidgetsGetCommentsBuilder) Count

Count parameter.

func (*WidgetsGetCommentsBuilder) Fields

Fields parameter.

func (*WidgetsGetCommentsBuilder) Offset

Offset parameter.

func (*WidgetsGetCommentsBuilder) Order

Order parameter.

func (*WidgetsGetCommentsBuilder) PageID

PageID parameter.

func (*WidgetsGetCommentsBuilder) URL

URL parameter.

func (*WidgetsGetCommentsBuilder) WidgetAPIID

WidgetAPIID parameter.

type WidgetsGetPagesBuilder

type WidgetsGetPagesBuilder struct {
	api.Params
}

WidgetsGetPagesBuilder builder.

Gets a list of application/site pages where the [vk.com/dev/Comments|Comments widget] or [vk.com/dev/Like|Like widget] is installed.

https://vk.com/dev/widgets.getPages

func NewWidgetsGetPagesBuilder

func NewWidgetsGetPagesBuilder() *WidgetsGetPagesBuilder

NewWidgetsGetPagesBuilder func.

func (*WidgetsGetPagesBuilder) Count

Count parameter.

func (*WidgetsGetPagesBuilder) Offset

Offset parameter.

func (*WidgetsGetPagesBuilder) Order

Order parameter.

func (*WidgetsGetPagesBuilder) Period

Period parameter.

func (*WidgetsGetPagesBuilder) WidgetAPIID

WidgetAPIID parameter.

Jump to

Keyboard shortcuts

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