C# Class kasthack.vksharp.Api.MethodGroup_Groups

ファイルを表示 Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
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

Private Methods

Method Description
MethodGroup_Groups ( Api parent ) : System

Method Details

AddLink() public method

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

AddLinkSync() public method

public AddLinkSync ( int groupId, string link, string text = "" ) : Link
groupId int
link string
text string
return kasthack.vksharp.DataTypes.Entities.Link

ApproveRequest() public method

public ApproveRequest ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
return System.Threading.Tasks.Task

ApproveRequestSync() public method

public ApproveRequestSync ( int groupId, int userId ) : void
groupId int
userId int
return void

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

CreateSync() public method

public CreateSync ( string title, PageType type = PageType.Group, PageSubtype subtype = null, string description = "" ) : Group
title string
type PageType
subtype PageSubtype
description string
return kasthack.vksharp.DataTypes.Entities.Group

DeleteLink() public method

public DeleteLink ( int groupId, int linkId ) : System.Threading.Tasks.Task
groupId int
linkId int
return System.Threading.Tasks.Task

DeleteLinkSync() public method

public DeleteLinkSync ( int groupId, int linkId ) : void
groupId int
linkId int
return void

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 ) : 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
return System.Threading.Tasks.Task

EditLink() public method

public EditLink ( int groupId, int linkId, string text = "" ) : System.Threading.Tasks.Task
groupId int
linkId int
text string
return System.Threading.Tasks.Task

EditLinkSync() public method

public EditLinkSync ( int groupId, int linkId, string text = "" ) : void
groupId int
linkId int
text string
return void

EditSync() public method

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

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

GetBannedSync() public method

public GetBannedSync ( int groupId, int offset = null, int count = 100 ) : User[]
groupId int
offset int
count int
return User[]

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

GetByIdSync() public method

public GetByIdSync ( int groupId, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
groupId int
fields GroupFields
return kasthack.vksharp.DataTypes.Entities.Group[]

GetByIdSync() public method

public GetByIdSync ( string groupIds, GroupFields fields ) : kasthack.vksharp.DataTypes.Entities.Group[]
groupIds string
fields GroupFields
return kasthack.vksharp.DataTypes.Entities.Group[]

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, 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>

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 ( 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>

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>

GetMembersManagersSync() public method

public GetMembersManagersSync ( int groupId, MembersSortOrder sort = null, int offset = null, int count = 100 ) : EntityList
groupId int
sort MembersSortOrder
offset int
count int
return EntityList

GetMembersManagersSync() public method

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

GetMembersSync() public method

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

GetMembersSync() public method

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

GetMembersSync() public method

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

GetMembersSync() public method

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

GetSync() public method

public GetSync ( int userId, GroupsGetFilter filter = null, int offset = null, int count = 100 ) : EntityList
userId int
filter GroupsGetFilter
offset int
count int
return EntityList

Invite() public method

public Invite ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
return System.Threading.Tasks.Task

InviteSync() public method

public InviteSync ( int groupId, int userId ) : void
groupId int
userId int
return void

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

IsMemberExtendedSync() public method

public IsMemberExtendedSync ( int groupId, int userId = null ) : MemberShip
groupId int
userId int
return kasthack.vksharp.DataTypes.Entities.MemberShip

IsMemberSync() public method

public IsMemberSync ( int groupId ) : kasthack.vksharp.DataTypes.Entities.MemberShip[]
groupId int
return kasthack.vksharp.DataTypes.Entities.MemberShip[]

IsMemberSync() public method

public IsMemberSync ( int groupId, int userId = null ) : bool
groupId int
userId int
return bool

Join() public method

public Join ( int groupId, bool notSure = false ) : System.Threading.Tasks.Task
groupId int
notSure bool
return System.Threading.Tasks.Task

JoinSync() public method

public JoinSync ( int groupId, bool notSure = false ) : void
groupId int
notSure bool
return void

Leave() public method

public Leave ( int groupId ) : System.Threading.Tasks.Task
groupId int
return System.Threading.Tasks.Task

LeaveSync() public method

public LeaveSync ( int groupId ) : void
groupId int
return void

RemoveUser() public method

public RemoveUser ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
return System.Threading.Tasks.Task

RemoveUserSync() public method

public RemoveUserSync ( int groupId, int userId ) : void
groupId int
userId int
return void

ReorderLink() public method

public ReorderLink ( int groupId, long linkId, long after ) : System.Threading.Tasks.Task
groupId int
linkId long
after long
return System.Threading.Tasks.Task

ReorderLinkSync() public method

public ReorderLinkSync ( int groupId, long linkId, long after ) : void
groupId int
linkId long
after long
return void

UnbanUser() public method

public UnbanUser ( int groupId, int userId ) : System.Threading.Tasks.Task
groupId int
userId int
return System.Threading.Tasks.Task

UnbanUserSync() public method

public UnbanUserSync ( int groupId, int userId ) : void
groupId int
userId int
return void