C# Класс kasthack.vksharp.Api.MethodGroup_Groups

Показать файл Открыть проект

Открытые методы

Метод Описание
AddLink ( int groupId, string link, string text = "" ) : Task
AddLinkSync ( int groupId, string link, string text = "" ) : Link
ApproveRequest ( int groupId, int userId ) : System.Threading.Tasks.Task
ApproveRequestSync ( int groupId, int userId ) : void
Create ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Task
CreateSync ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Group
DeleteLink ( int groupId, int linkId ) : System.Threading.Tasks.Task
DeleteLinkSync ( int groupId, int linkId ) : void
Edit ( int groupId, string title = "", string description = "", string screenName = "", string website = "", string email = "", string phone = "", string rss = "", DateTimeOffset eventStartDate = null, DateTimeOffset eventFinishDate = null, DateTimeOffset eventGroupId = null, int subject = null, int publicCategory = null, int publicSubcategory = null, GroupAccess access = null, AccessType wall = null, AccessType topics = null, AccessType photos = null, AccessType video = null, AccessType audio = null, Date publicDate = null, bool links = null, bool events = null, bool places = null, bool contacts = null ) : System.Threading.Tasks.Task
EditLink ( int groupId, int linkId, string text = "" ) : System.Threading.Tasks.Task
EditLinkSync ( int groupId, int linkId, string text = "" ) : void
EditSync ( int groupId, string title = "", string description = "", string screenName = "", string website = "", string email = "", string phone = "", string rss = "", DateTimeOffset eventStartDate = null, DateTimeOffset eventFinishDate = null, DateTimeOffset eventGroupId = null, int subject = null, int publicCategory = null, int publicSubcategory = null, GroupAccess access = null, AccessType wall = null, AccessType topics = null, AccessType photos = null, AccessType video = null, AccessType audio = null, Date publicDate = null, bool links = null, bool events = null, bool places = null, bool contacts = null ) : void
Get ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : Task>
GetBanned ( int groupId, int offset = null, int count = 100 ) : Task
GetBannedSync ( int groupId, int offset = null, int count = 100 ) : User[]
GetById ( int groupId, GroupFields fields ) : Task
GetById ( string groupIds, GroupFields fields ) : Task
GetByIdSync ( int groupId, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
GetByIdSync ( string groupIds, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
GetMembers ( int groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembers ( string groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembers ( int groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembers ( string groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembersManagers ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembersManagers ( string groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
GetMembersManagersSync ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetMembersManagersSync ( string groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetMembersSync ( int groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetMembersSync ( string groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetMembersSync ( int groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetMembersSync ( string groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
GetSync ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : EntityList
Invite ( int groupId, int userId ) : System.Threading.Tasks.Task
InviteSync ( int groupId, int userId ) : void
IsMember ( int groupId ) : Task
IsMember ( int groupId, int userId = null ) : Task
IsMemberExtended ( int groupId, int userId = null ) : Task
IsMemberExtendedSync ( int groupId, int userId = null ) : MemberShip
IsMemberSync ( int groupId ) : kasthack.vksharp.DataTypes.Entities.MemberShip[]
IsMemberSync ( int groupId, int userId = null ) : bool
Join ( int groupId, bool notSure = false ) : System.Threading.Tasks.Task
JoinSync ( int groupId, bool notSure = false ) : void
Leave ( int groupId ) : System.Threading.Tasks.Task
LeaveSync ( int groupId ) : void
RemoveUser ( int groupId, int userId ) : System.Threading.Tasks.Task
RemoveUserSync ( int groupId, int userId ) : void
ReorderLink ( int groupId, long linkId, long after ) : System.Threading.Tasks.Task
ReorderLinkSync ( int groupId, long linkId, long after ) : void
UnbanUser ( int groupId, int userId ) : System.Threading.Tasks.Task
UnbanUserSync ( int groupId, int userId ) : void

Приватные методы

Метод Описание
MethodGroup_Groups ( Api parent ) : System

Описание методов

AddLink() публичный Метод

public AddLink ( int groupId, string link, string text = "" ) : Task
groupId int
link string
text string
Результат Task

AddLinkSync() публичный Метод

public AddLinkSync ( int groupId, string link, string text = "" ) : Link
groupId int
link string
text string
Результат kasthack.vksharp.DataTypes.Entities.Link

ApproveRequest() публичный Метод

public ApproveRequest ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
Результат System.Threading.Tasks.Task

ApproveRequestSync() публичный Метод

public ApproveRequestSync ( int groupId, int userId ) : void
groupId int
userId int
Результат void

Create() публичный Метод

public Create ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Task
title string
type PageType
subtype PageSubtype
description string
Результат Task

CreateSync() публичный Метод

public CreateSync ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Group
title string
type PageType
subtype PageSubtype
description string
Результат kasthack.vksharp.DataTypes.Entities.Group

DeleteLink() публичный Метод

public DeleteLink ( int groupId, int linkId ) : System.Threading.Tasks.Task
groupId int
linkId int
Результат System.Threading.Tasks.Task

DeleteLinkSync() публичный Метод

public DeleteLinkSync ( int groupId, int linkId ) : void
groupId int
linkId int
Результат void

Edit() публичный Метод

public Edit ( int groupId, string title = "", string description = "", string screenName = "", string website = "", string email = "", string phone = "", string rss = "", DateTimeOffset eventStartDate = null, DateTimeOffset eventFinishDate = null, DateTimeOffset eventGroupId = null, int subject = null, int publicCategory = null, int publicSubcategory = null, GroupAccess access = null, AccessType wall = null, AccessType topics = null, AccessType photos = null, AccessType video = null, AccessType audio = null, Date publicDate = null, bool links = null, bool events = null, bool places = null, bool contacts = null ) : System.Threading.Tasks.Task
groupId int
title string
description string
screenName string
website string
email string
phone string
rss string
eventStartDate DateTimeOffset
eventFinishDate DateTimeOffset
eventGroupId DateTimeOffset
subject int
publicCategory int
publicSubcategory int
access GroupAccess
wall AccessType
topics AccessType
photos AccessType
video AccessType
audio AccessType
publicDate Date
links bool
events bool
places bool
contacts bool
Результат System.Threading.Tasks.Task

EditLink() публичный Метод

public EditLink ( int groupId, int linkId, string text = "" ) : System.Threading.Tasks.Task
groupId int
linkId int
text string
Результат System.Threading.Tasks.Task

EditLinkSync() публичный Метод

public EditLinkSync ( int groupId, int linkId, string text = "" ) : void
groupId int
linkId int
text string
Результат void

EditSync() публичный Метод

public EditSync ( int groupId, string title = "", string description = "", string screenName = "", string website = "", string email = "", string phone = "", string rss = "", DateTimeOffset eventStartDate = null, DateTimeOffset eventFinishDate = null, DateTimeOffset eventGroupId = null, int subject = null, int publicCategory = null, int publicSubcategory = null, GroupAccess access = null, AccessType wall = null, AccessType topics = null, AccessType photos = null, AccessType video = null, AccessType audio = null, Date publicDate = null, bool links = null, bool events = null, bool places = null, bool contacts = null ) : void
groupId int
title string
description string
screenName string
website string
email string
phone string
rss string
eventStartDate DateTimeOffset
eventFinishDate DateTimeOffset
eventGroupId DateTimeOffset
subject int
publicCategory int
publicSubcategory int
access GroupAccess
wall AccessType
topics AccessType
photos AccessType
video AccessType
audio AccessType
publicDate Date
links bool
events bool
places bool
contacts bool
Результат void

Get() публичный Метод

public Get ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : Task>
userId int
filter GroupsGetFilter
offset int
count int
Результат Task>

GetBanned() публичный Метод

public GetBanned ( int groupId, int offset = null, int count = 100 ) : Task
groupId int
offset int
count int
Результат Task

GetBannedSync() публичный Метод

public GetBannedSync ( int groupId, int offset = null, int count = 100 ) : User[]
groupId int
offset int
count int
Результат User[]

GetById() публичный Метод

public GetById ( int groupId, GroupFields fields ) : Task
groupId int
fields GroupFields
Результат Task

GetById() публичный Метод

public GetById ( string groupIds, GroupFields fields ) : Task
groupIds string
fields GroupFields
Результат Task

GetByIdSync() публичный Метод

public GetByIdSync ( int groupId, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
groupId int
fields GroupFields
Результат kasthack.vksharp.DataTypes.Entities.Group[]

GetByIdSync() публичный Метод

public GetByIdSync ( string groupIds, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
groupIds string
fields GroupFields
Результат kasthack.vksharp.DataTypes.Entities.Group[]

GetMembers() публичный Метод

public GetMembers ( int groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId int
fields UserFields
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembers() публичный Метод

public GetMembers ( string groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId string
fields UserFields
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembers() публичный Метод

public GetMembers ( int groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId int
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembers() публичный Метод

public GetMembers ( string groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId string
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembersManagers() публичный Метод

public GetMembersManagers ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId int
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembersManagers() публичный Метод

public GetMembersManagers ( string groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task>
groupId string
sort MembersSortOrder
offset int
count int
Результат Task>

GetMembersManagersSync() публичный Метод

public GetMembersManagersSync ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId int
sort MembersSortOrder
offset int
count int
Результат EntityList

GetMembersManagersSync() публичный Метод

public GetMembersManagersSync ( string groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId string
sort MembersSortOrder
offset int
count int
Результат EntityList

GetMembersSync() публичный Метод

public GetMembersSync ( int groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId int
fields UserFields
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат EntityList

GetMembersSync() публичный Метод

public GetMembersSync ( string groupId, UserFields fields = UserFields.Anything, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId string
fields UserFields
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат EntityList

GetMembersSync() публичный Метод

public GetMembersSync ( int groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId int
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат EntityList

GetMembersSync() публичный Метод

public GetMembersSync ( string groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId string
filter GroupMembersFilter
sort MembersSortOrder
offset int
count int
Результат EntityList

GetSync() публичный Метод

public GetSync ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : EntityList
userId int
filter GroupsGetFilter
offset int
count int
Результат EntityList

Invite() публичный Метод

public Invite ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
Результат System.Threading.Tasks.Task

InviteSync() публичный Метод

public InviteSync ( int groupId, int userId ) : void
groupId int
userId int
Результат void

IsMember() публичный Метод

public IsMember ( int groupId ) : Task
groupId int
Результат Task

IsMember() публичный Метод

public IsMember ( int groupId, int userId = null ) : Task
groupId int
userId int
Результат Task

IsMemberExtended() публичный Метод

public IsMemberExtended ( int groupId, int userId = null ) : Task
groupId int
userId int
Результат Task

IsMemberExtendedSync() публичный Метод

public IsMemberExtendedSync ( int groupId, int userId = null ) : MemberShip
groupId int
userId int
Результат kasthack.vksharp.DataTypes.Entities.MemberShip

IsMemberSync() публичный Метод

public IsMemberSync ( int groupId ) : kasthack.vksharp.DataTypes.Entities.MemberShip[]
groupId int
Результат kasthack.vksharp.DataTypes.Entities.MemberShip[]

IsMemberSync() публичный Метод

public IsMemberSync ( int groupId, int userId = null ) : bool
groupId int
userId int
Результат bool

Join() публичный Метод

public Join ( int groupId, bool notSure = false ) : System.Threading.Tasks.Task
groupId int
notSure bool
Результат System.Threading.Tasks.Task

JoinSync() публичный Метод

public JoinSync ( int groupId, bool notSure = false ) : void
groupId int
notSure bool
Результат void

Leave() публичный Метод

public Leave ( int groupId ) : System.Threading.Tasks.Task
groupId int
Результат System.Threading.Tasks.Task

LeaveSync() публичный Метод

public LeaveSync ( int groupId ) : void
groupId int
Результат void

RemoveUser() публичный Метод

public RemoveUser ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
Результат System.Threading.Tasks.Task

RemoveUserSync() публичный Метод

public RemoveUserSync ( int groupId, int userId ) : void
groupId int
userId int
Результат void

ReorderLink() публичный Метод

public ReorderLink ( int groupId, long linkId, long after ) : System.Threading.Tasks.Task
groupId int
linkId long
after long
Результат System.Threading.Tasks.Task

ReorderLinkSync() публичный Метод

public ReorderLinkSync ( int groupId, long linkId, long after ) : void
groupId int
linkId long
after long
Результат void

UnbanUser() публичный Метод

public UnbanUser ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
Результат System.Threading.Tasks.Task

UnbanUserSync() публичный Метод

public UnbanUserSync ( int groupId, int userId ) : void
groupId int
userId int
Результат void