C# Class kasthack.vksharp.RawApi.MethodGroup_Groups

显示文件 Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
AddLink ( int groupId, string link, string text = "" ) : Task
ApproveRequest ( int groupId, int userId ) : Task
Create ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Task
DeleteLink ( int groupId, int linkId ) : Task
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 ) : Task
EditLink ( int groupId, int linkId, string text = "" ) : Task
Get ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : Task
GetBanned ( int groupId, int offset = null, int count = 100 ) : Task
GetById ( int groupId, GroupFields fields ) : Task
GetById ( string groupIds, GroupFields fields ) : Task
GetMembers ( int groupId, GroupMembersFilter filter = null, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task
GetMembers ( int groupId, UserFields fields = UserFields.Anything, 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
GetMembers ( string groupId, UserFields fields = UserFields.Anything, 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
Invite ( int groupId, int userId ) : Task
IsMember ( int groupId ) : Task
IsMember ( int groupId, int userId = null ) : Task
IsMemberExtended ( int groupId, int userId = null ) : Task
Join ( int groupId, bool notSure = false ) : Task
Leave ( int groupId ) : Task
RemoveUser ( int groupId, int userId ) : Task
ReorderLink ( int groupId, long linkId, long after ) : Task
UnbanUser ( int groupId, int userId ) : Task

Private Methods

Method Description
MethodGroup_Groups ( RawApi parent ) : System

Method Details

AddLink() public method

public AddLink ( int groupId, string link, string text = "" ) : Task
groupId int
link string
text string
return Task

ApproveRequest() public method

public ApproveRequest ( int groupId, int userId ) : Task
groupId int
userId int
return Task

Create() public method

public Create ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Task
title string
type PageType
subtype PageSubtype
description string
return Task

DeleteLink() public method

public DeleteLink ( int groupId, int linkId ) : Task
groupId int
linkId int
return Task

Edit() public method

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 ) : 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
return Task

EditLink() public method

public EditLink ( int groupId, int linkId, string text = "" ) : Task
groupId int
linkId int
text string
return Task

Get() public method

public Get ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : Task
userId int
filter GroupsGetFilter
offset int
count int
return Task

GetBanned() public method

public GetBanned ( int groupId, int offset = null, int count = 100 ) : Task
groupId int
offset int
count int
return Task

GetById() public method

public GetById ( int groupId, GroupFields fields ) : Task
groupId int
fields GroupFields
return Task

GetById() public method

public GetById ( string groupIds, GroupFields fields ) : Task
groupIds string
fields GroupFields
return Task

GetMembers() public method

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
return Task

GetMembers() public method

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
return Task

GetMembers() public method

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
return Task

GetMembers() public method

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
return Task

GetMembersManagers() public method

public GetMembersManagers ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task
groupId int
sort MembersSortOrder
offset int
count int
return Task

GetMembersManagers() public method

public GetMembersManagers ( string groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : Task
groupId string
sort MembersSortOrder
offset int
count int
return Task

Invite() public method

public Invite ( int groupId, int userId ) : Task
groupId int
userId int
return Task

IsMember() public method

public IsMember ( int groupId ) : Task
groupId int
return Task

IsMember() public method

public IsMember ( int groupId, int userId = null ) : Task
groupId int
userId int
return Task

IsMemberExtended() public method

public IsMemberExtended ( int groupId, int userId = null ) : Task
groupId int
userId int
return Task

Join() public method

public Join ( int groupId, bool notSure = false ) : Task
groupId int
notSure bool
return Task

Leave() public method

public Leave ( int groupId ) : Task
groupId int
return Task

RemoveUser() public method

public RemoveUser ( int groupId, int userId ) : Task
groupId int
userId int
return Task

ReorderLink() public method

public ReorderLink ( int groupId, long linkId, long after ) : Task
groupId int
linkId long
after long
return Task

UnbanUser() public method

public UnbanUser ( int groupId, int userId ) : Task
groupId int
userId int
return Task