@ybgnb/bili-api 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as _ybgnb_utils from '@ybgnb/utils';
2
2
  import { LogLevel, Logger, RequireAtLeastOne, ExactlyOne } from '@ybgnb/utils';
3
+ import { GenMessage, GenEnum, GenService, GenFile } from '@bufbuild/protobuf/codegenv2';
4
+ import { Message } from '@bufbuild/protobuf';
3
5
 
4
6
  /**
5
7
  * bili 用户 cookie
@@ -5236,6 +5238,3229 @@ declare class CommentService extends BaseService {
5236
5238
  add(reply: PostReplyData, options?: BizRequestOptions): Promise<PostReplyResult>;
5237
5239
  }
5238
5240
 
5241
+ /**
5242
+ * Describes the file dm.proto.
5243
+ */
5244
+ declare const file_dm: GenFile;
5245
+ /**
5246
+ *
5247
+ *
5248
+ * @generated from message bilibili.community.service.dm.v1.Avatar
5249
+ */
5250
+ type Avatar = Message<'bilibili.community.service.dm.v1.Avatar'> & {
5251
+ /**
5252
+ *
5253
+ *
5254
+ * @generated from field: string id = 1;
5255
+ */
5256
+ id: string;
5257
+ /**
5258
+ *
5259
+ *
5260
+ * @generated from field: string url = 2;
5261
+ */
5262
+ url: string;
5263
+ /**
5264
+ *
5265
+ *
5266
+ * @generated from field: bilibili.community.service.dm.v1.AvatarType avatar_type = 3;
5267
+ */
5268
+ avatarType: AvatarType;
5269
+ };
5270
+ /**
5271
+ * Describes the message bilibili.community.service.dm.v1.Avatar.
5272
+ * Use `create(AvatarSchema)` to create a new message.
5273
+ */
5274
+ declare const AvatarSchema: GenMessage<Avatar>;
5275
+ /**
5276
+ *
5277
+ *
5278
+ * @generated from message bilibili.community.service.dm.v1.Bubble
5279
+ */
5280
+ type Bubble = Message<'bilibili.community.service.dm.v1.Bubble'> & {
5281
+ /**
5282
+ *
5283
+ *
5284
+ * @generated from field: string text = 1;
5285
+ */
5286
+ text: string;
5287
+ /**
5288
+ *
5289
+ *
5290
+ * @generated from field: string url = 2;
5291
+ */
5292
+ url: string;
5293
+ };
5294
+ /**
5295
+ * Describes the message bilibili.community.service.dm.v1.Bubble.
5296
+ * Use `create(BubbleSchema)` to create a new message.
5297
+ */
5298
+ declare const BubbleSchema: GenMessage<Bubble>;
5299
+ /**
5300
+ *
5301
+ *
5302
+ * @generated from message bilibili.community.service.dm.v1.BubbleV2
5303
+ */
5304
+ type BubbleV2 = Message<'bilibili.community.service.dm.v1.BubbleV2'> & {
5305
+ /**
5306
+ *
5307
+ *
5308
+ * @generated from field: string text = 1;
5309
+ */
5310
+ text: string;
5311
+ /**
5312
+ *
5313
+ *
5314
+ * @generated from field: string url = 2;
5315
+ */
5316
+ url: string;
5317
+ /**
5318
+ *
5319
+ *
5320
+ * @generated from field: bilibili.community.service.dm.v1.BubbleType bubble_type = 3;
5321
+ */
5322
+ bubbleType: BubbleType;
5323
+ /**
5324
+ *
5325
+ *
5326
+ * @generated from field: bool exposure_once = 4;
5327
+ */
5328
+ exposureOnce: boolean;
5329
+ /**
5330
+ *
5331
+ *
5332
+ * @generated from field: bilibili.community.service.dm.v1.ExposureType exposure_type = 5;
5333
+ */
5334
+ exposureType: ExposureType;
5335
+ };
5336
+ /**
5337
+ * Describes the message bilibili.community.service.dm.v1.BubbleV2.
5338
+ * Use `create(BubbleV2Schema)` to create a new message.
5339
+ */
5340
+ declare const BubbleV2Schema: GenMessage<BubbleV2>;
5341
+ /**
5342
+ *
5343
+ *
5344
+ * @generated from message bilibili.community.service.dm.v1.Button
5345
+ */
5346
+ type Button = Message<'bilibili.community.service.dm.v1.Button'> & {
5347
+ /**
5348
+ *
5349
+ *
5350
+ * @generated from field: string text = 1;
5351
+ */
5352
+ text: string;
5353
+ /**
5354
+ *
5355
+ *
5356
+ * @generated from field: int32 action = 2;
5357
+ */
5358
+ action: number;
5359
+ };
5360
+ /**
5361
+ * Describes the message bilibili.community.service.dm.v1.Button.
5362
+ * Use `create(ButtonSchema)` to create a new message.
5363
+ */
5364
+ declare const ButtonSchema: GenMessage<Button>;
5365
+ /**
5366
+ *
5367
+ *
5368
+ * @generated from message bilibili.community.service.dm.v1.BuzzwordConfig
5369
+ */
5370
+ type BuzzwordConfig = Message<'bilibili.community.service.dm.v1.BuzzwordConfig'> & {
5371
+ /**
5372
+ *
5373
+ *
5374
+ * @generated from field: repeated bilibili.community.service.dm.v1.BuzzwordShowConfig keywords = 1;
5375
+ */
5376
+ keywords: BuzzwordShowConfig[];
5377
+ };
5378
+ /**
5379
+ * Describes the message bilibili.community.service.dm.v1.BuzzwordConfig.
5380
+ * Use `create(BuzzwordConfigSchema)` to create a new message.
5381
+ */
5382
+ declare const BuzzwordConfigSchema: GenMessage<BuzzwordConfig>;
5383
+ /**
5384
+ *
5385
+ *
5386
+ * @generated from message bilibili.community.service.dm.v1.BuzzwordShowConfig
5387
+ */
5388
+ type BuzzwordShowConfig = Message<'bilibili.community.service.dm.v1.BuzzwordShowConfig'> & {
5389
+ /**
5390
+ *
5391
+ *
5392
+ * @generated from field: string name = 1;
5393
+ */
5394
+ name: string;
5395
+ /**
5396
+ *
5397
+ *
5398
+ * @generated from field: string schema = 2;
5399
+ */
5400
+ schema: string;
5401
+ /**
5402
+ *
5403
+ *
5404
+ * @generated from field: int32 source = 3;
5405
+ */
5406
+ source: number;
5407
+ /**
5408
+ *
5409
+ *
5410
+ * @generated from field: int64 id = 4;
5411
+ */
5412
+ id: bigint;
5413
+ /**
5414
+ *
5415
+ *
5416
+ * @generated from field: int64 buzzword_id = 5;
5417
+ */
5418
+ buzzwordId: bigint;
5419
+ /**
5420
+ *
5421
+ *
5422
+ * @generated from field: int32 schema_type = 6;
5423
+ */
5424
+ schemaType: number;
5425
+ };
5426
+ /**
5427
+ * Describes the message bilibili.community.service.dm.v1.BuzzwordShowConfig.
5428
+ * Use `create(BuzzwordShowConfigSchema)` to create a new message.
5429
+ */
5430
+ declare const BuzzwordShowConfigSchema: GenMessage<BuzzwordShowConfig>;
5431
+ /**
5432
+ *
5433
+ *
5434
+ * @generated from message bilibili.community.service.dm.v1.CheckBox
5435
+ */
5436
+ type CheckBox = Message<'bilibili.community.service.dm.v1.CheckBox'> & {
5437
+ /**
5438
+ *
5439
+ *
5440
+ * @generated from field: string text = 1;
5441
+ */
5442
+ text: string;
5443
+ /**
5444
+ *
5445
+ *
5446
+ * @generated from field: bilibili.community.service.dm.v1.CheckboxType type = 2;
5447
+ */
5448
+ type: CheckboxType;
5449
+ /**
5450
+ *
5451
+ *
5452
+ * @generated from field: bool default_value = 3;
5453
+ */
5454
+ defaultValue: boolean;
5455
+ /**
5456
+ *
5457
+ *
5458
+ * @generated from field: bool show = 4;
5459
+ */
5460
+ show: boolean;
5461
+ };
5462
+ /**
5463
+ * Describes the message bilibili.community.service.dm.v1.CheckBox.
5464
+ * Use `create(CheckBoxSchema)` to create a new message.
5465
+ */
5466
+ declare const CheckBoxSchema: GenMessage<CheckBox>;
5467
+ /**
5468
+ *
5469
+ *
5470
+ * @generated from message bilibili.community.service.dm.v1.CheckBoxV2
5471
+ */
5472
+ type CheckBoxV2 = Message<'bilibili.community.service.dm.v1.CheckBoxV2'> & {
5473
+ /**
5474
+ *
5475
+ *
5476
+ * @generated from field: string text = 1;
5477
+ */
5478
+ text: string;
5479
+ /**
5480
+ *
5481
+ *
5482
+ * @generated from field: int32 type = 2;
5483
+ */
5484
+ type: number;
5485
+ /**
5486
+ *
5487
+ *
5488
+ * @generated from field: bool default_value = 3;
5489
+ */
5490
+ defaultValue: boolean;
5491
+ };
5492
+ /**
5493
+ * Describes the message bilibili.community.service.dm.v1.CheckBoxV2.
5494
+ * Use `create(CheckBoxV2Schema)` to create a new message.
5495
+ */
5496
+ declare const CheckBoxV2Schema: GenMessage<CheckBoxV2>;
5497
+ /**
5498
+ *
5499
+ *
5500
+ * @generated from message bilibili.community.service.dm.v1.ClickButton
5501
+ */
5502
+ type ClickButton = Message<'bilibili.community.service.dm.v1.ClickButton'> & {
5503
+ /**
5504
+ *
5505
+ *
5506
+ * @generated from field: repeated string portrait_text = 1;
5507
+ */
5508
+ portraitText: string[];
5509
+ /**
5510
+ *
5511
+ *
5512
+ * @generated from field: repeated string landscape_text = 2;
5513
+ */
5514
+ landscapeText: string[];
5515
+ /**
5516
+ *
5517
+ *
5518
+ * @generated from field: repeated string portrait_text_focus = 3;
5519
+ */
5520
+ portraitTextFocus: string[];
5521
+ /**
5522
+ *
5523
+ *
5524
+ * @generated from field: repeated string landscape_text_focus = 4;
5525
+ */
5526
+ landscapeTextFocus: string[];
5527
+ /**
5528
+ *
5529
+ *
5530
+ * @generated from field: bilibili.community.service.dm.v1.RenderType render_type = 5;
5531
+ */
5532
+ renderType: RenderType;
5533
+ /**
5534
+ *
5535
+ *
5536
+ * @generated from field: bool show = 6;
5537
+ */
5538
+ show: boolean;
5539
+ /**
5540
+ *
5541
+ *
5542
+ * @generated from field: bilibili.community.service.dm.v1.Bubble bubble = 7;
5543
+ */
5544
+ bubble?: Bubble | undefined;
5545
+ };
5546
+ /**
5547
+ * Describes the message bilibili.community.service.dm.v1.ClickButton.
5548
+ * Use `create(ClickButtonSchema)` to create a new message.
5549
+ */
5550
+ declare const ClickButtonSchema: GenMessage<ClickButton>;
5551
+ /**
5552
+ *
5553
+ *
5554
+ * @generated from message bilibili.community.service.dm.v1.ClickButtonV2
5555
+ */
5556
+ type ClickButtonV2 = Message<'bilibili.community.service.dm.v1.ClickButtonV2'> & {
5557
+ /**
5558
+ *
5559
+ *
5560
+ * @generated from field: repeated string portrait_text = 1;
5561
+ */
5562
+ portraitText: string[];
5563
+ /**
5564
+ *
5565
+ *
5566
+ * @generated from field: repeated string landscape_text = 2;
5567
+ */
5568
+ landscapeText: string[];
5569
+ /**
5570
+ *
5571
+ *
5572
+ * @generated from field: repeated string portrait_text_focus = 3;
5573
+ */
5574
+ portraitTextFocus: string[];
5575
+ /**
5576
+ *
5577
+ *
5578
+ * @generated from field: repeated string landscape_text_focus = 4;
5579
+ */
5580
+ landscapeTextFocus: string[];
5581
+ /**
5582
+ *
5583
+ *
5584
+ * @generated from field: int32 render_type = 5;
5585
+ */
5586
+ renderType: number;
5587
+ /**
5588
+ *
5589
+ *
5590
+ * @generated from field: bool text_input_post = 6;
5591
+ */
5592
+ textInputPost: boolean;
5593
+ /**
5594
+ *
5595
+ *
5596
+ * @generated from field: bool exposure_once = 7;
5597
+ */
5598
+ exposureOnce: boolean;
5599
+ /**
5600
+ *
5601
+ *
5602
+ * @generated from field: int32 exposure_type = 8;
5603
+ */
5604
+ exposureType: number;
5605
+ };
5606
+ /**
5607
+ * Describes the message bilibili.community.service.dm.v1.ClickButtonV2.
5608
+ * Use `create(ClickButtonV2Schema)` to create a new message.
5609
+ */
5610
+ declare const ClickButtonV2Schema: GenMessage<ClickButtonV2>;
5611
+ /**
5612
+ * 互动弹幕条目信息
5613
+ *
5614
+ * @generated from message bilibili.community.service.dm.v1.CommandDm
5615
+ */
5616
+ type CommandDm = Message<'bilibili.community.service.dm.v1.CommandDm'> & {
5617
+ /**
5618
+ * 弹幕id
5619
+ *
5620
+ * @generated from field: int64 id = 1;
5621
+ */
5622
+ id: bigint;
5623
+ /**
5624
+ * 对象视频cid
5625
+ *
5626
+ * @generated from field: int64 oid = 2;
5627
+ */
5628
+ oid: bigint;
5629
+ /**
5630
+ * 发送者mid
5631
+ *
5632
+ * @generated from field: string mid = 3;
5633
+ */
5634
+ mid: string;
5635
+ /**
5636
+ * 互动弹幕指令
5637
+ *
5638
+ * @generated from field: string command = 4;
5639
+ */
5640
+ command: string;
5641
+ /**
5642
+ * 互动弹幕正文
5643
+ *
5644
+ * @generated from field: string content = 5;
5645
+ */
5646
+ content: string;
5647
+ /**
5648
+ * 出现时间
5649
+ *
5650
+ * @generated from field: int32 progress = 6;
5651
+ */
5652
+ progress: number;
5653
+ /**
5654
+ * 创建时间
5655
+ *
5656
+ * @generated from field: string ctime = 7;
5657
+ */
5658
+ ctime: string;
5659
+ /**
5660
+ * 发布时间
5661
+ *
5662
+ * @generated from field: string mtime = 8;
5663
+ */
5664
+ mtime: string;
5665
+ /**
5666
+ * 扩展json数据
5667
+ *
5668
+ * @generated from field: string extra = 9;
5669
+ */
5670
+ extra: string;
5671
+ /**
5672
+ * 弹幕id str类型
5673
+ *
5674
+ * @generated from field: string idStr = 10;
5675
+ */
5676
+ idStr: string;
5677
+ };
5678
+ /**
5679
+ * Describes the message bilibili.community.service.dm.v1.CommandDm.
5680
+ * Use `create(CommandDmSchema)` to create a new message.
5681
+ */
5682
+ declare const CommandDmSchema: GenMessage<CommandDm>;
5683
+ /**
5684
+ * 弹幕ai云屏蔽列表
5685
+ *
5686
+ * @generated from message bilibili.community.service.dm.v1.DanmakuAIFlag
5687
+ */
5688
+ type DanmakuAIFlag = Message<'bilibili.community.service.dm.v1.DanmakuAIFlag'> & {
5689
+ /**
5690
+ * 弹幕ai云屏蔽条目
5691
+ *
5692
+ * @generated from field: repeated bilibili.community.service.dm.v1.DanmakuFlag dm_flags = 1;
5693
+ */
5694
+ dmFlags: DanmakuFlag[];
5695
+ };
5696
+ /**
5697
+ * Describes the message bilibili.community.service.dm.v1.DanmakuAIFlag.
5698
+ * Use `create(DanmakuAIFlagSchema)` to create a new message.
5699
+ */
5700
+ declare const DanmakuAIFlagSchema: GenMessage<DanmakuAIFlag>;
5701
+ /**
5702
+ * 弹幕条目
5703
+ *
5704
+ * @generated from message bilibili.community.service.dm.v1.DanmakuElem
5705
+ */
5706
+ type DanmakuElem = Message<'bilibili.community.service.dm.v1.DanmakuElem'> & {
5707
+ /**
5708
+ * 弹幕dmid
5709
+ *
5710
+ * @generated from field: int64 id = 1;
5711
+ */
5712
+ id: bigint;
5713
+ /**
5714
+ * 弹幕出现位置(单位ms)
5715
+ *
5716
+ * @generated from field: int32 progress = 2;
5717
+ */
5718
+ progress: number;
5719
+ /**
5720
+ * 弹幕类型 1 2 3:普通弹幕 4:底部弹幕 5:顶部弹幕 6:逆向弹幕 7:高级弹幕 8:代码弹幕 9:BAS弹幕(pool必须为2)
5721
+ *
5722
+ * @generated from field: int32 mode = 3;
5723
+ */
5724
+ mode: number;
5725
+ /**
5726
+ * 弹幕字号
5727
+ *
5728
+ * @generated from field: int32 fontsize = 4;
5729
+ */
5730
+ fontsize: number;
5731
+ /**
5732
+ * 弹幕颜色
5733
+ *
5734
+ * @generated from field: uint32 color = 5;
5735
+ */
5736
+ color: number;
5737
+ /**
5738
+ * 发送者mid hash
5739
+ *
5740
+ * @generated from field: string midHash = 6;
5741
+ */
5742
+ midHash: string;
5743
+ /**
5744
+ * 弹幕正文
5745
+ *
5746
+ * @generated from field: string content = 7;
5747
+ */
5748
+ content: string;
5749
+ /**
5750
+ * 发送时间
5751
+ *
5752
+ * @generated from field: int64 ctime = 8;
5753
+ */
5754
+ ctime: bigint;
5755
+ /**
5756
+ * 权重 用于屏蔽等级 区间:[1,10]
5757
+ *
5758
+ * @generated from field: int32 weight = 9;
5759
+ */
5760
+ weight: number;
5761
+ /**
5762
+ * 动作
5763
+ *
5764
+ * @generated from field: string action = 10;
5765
+ */
5766
+ action: string;
5767
+ /**
5768
+ * 弹幕池 0:普通池 1:字幕池 2:特殊池(代码/BAS弹幕)
5769
+ *
5770
+ * @generated from field: int32 pool = 11;
5771
+ */
5772
+ pool: number;
5773
+ /**
5774
+ * 弹幕dmid str
5775
+ *
5776
+ * @generated from field: string idStr = 12;
5777
+ */
5778
+ idStr: string;
5779
+ /**
5780
+ * 弹幕属性位(bin求AND)
5781
+ * bit0:保护 bit1:直播 bit2:高赞
5782
+ *
5783
+ * @generated from field: int32 attr = 13;
5784
+ */
5785
+ attr: number;
5786
+ /**
5787
+ *
5788
+ *
5789
+ * @generated from field: string animation = 22;
5790
+ */
5791
+ animation: string;
5792
+ /**
5793
+ * 大会员专属颜色
5794
+ *
5795
+ * @generated from field: bilibili.community.service.dm.v1.DmColorfulType colorful = 24;
5796
+ */
5797
+ colorful: DmColorfulType;
5798
+ };
5799
+ /**
5800
+ * Describes the message bilibili.community.service.dm.v1.DanmakuElem.
5801
+ * Use `create(DanmakuElemSchema)` to create a new message.
5802
+ */
5803
+ declare const DanmakuElemSchema: GenMessage<DanmakuElem>;
5804
+ /**
5805
+ * 弹幕ai云屏蔽条目
5806
+ *
5807
+ * @generated from message bilibili.community.service.dm.v1.DanmakuFlag
5808
+ */
5809
+ type DanmakuFlag = Message<'bilibili.community.service.dm.v1.DanmakuFlag'> & {
5810
+ /**
5811
+ * 弹幕dmid
5812
+ *
5813
+ * @generated from field: int64 dmid = 1;
5814
+ */
5815
+ dmid: bigint;
5816
+ /**
5817
+ * 评分
5818
+ *
5819
+ * @generated from field: uint32 flag = 2;
5820
+ */
5821
+ flag: number;
5822
+ };
5823
+ /**
5824
+ * Describes the message bilibili.community.service.dm.v1.DanmakuFlag.
5825
+ * Use `create(DanmakuFlagSchema)` to create a new message.
5826
+ */
5827
+ declare const DanmakuFlagSchema: GenMessage<DanmakuFlag>;
5828
+ /**
5829
+ * 云屏蔽配置信息
5830
+ *
5831
+ * @generated from message bilibili.community.service.dm.v1.DanmakuFlagConfig
5832
+ */
5833
+ type DanmakuFlagConfig = Message<'bilibili.community.service.dm.v1.DanmakuFlagConfig'> & {
5834
+ /**
5835
+ * 云屏蔽等级
5836
+ *
5837
+ * @generated from field: int32 rec_flag = 1;
5838
+ */
5839
+ recFlag: number;
5840
+ /**
5841
+ * 云屏蔽文案
5842
+ *
5843
+ * @generated from field: string rec_text = 2;
5844
+ */
5845
+ recText: string;
5846
+ /**
5847
+ * 云屏蔽开关
5848
+ *
5849
+ * @generated from field: int32 rec_switch = 3;
5850
+ */
5851
+ recSwitch: number;
5852
+ };
5853
+ /**
5854
+ * Describes the message bilibili.community.service.dm.v1.DanmakuFlagConfig.
5855
+ * Use `create(DanmakuFlagConfigSchema)` to create a new message.
5856
+ */
5857
+ declare const DanmakuFlagConfigSchema: GenMessage<DanmakuFlagConfig>;
5858
+ /**
5859
+ * 弹幕默认配置
5860
+ *
5861
+ * @generated from message bilibili.community.service.dm.v1.DanmuDefaultPlayerConfig
5862
+ */
5863
+ type DanmuDefaultPlayerConfig = Message<'bilibili.community.service.dm.v1.DanmuDefaultPlayerConfig'> & {
5864
+ /**
5865
+ * 是否使用推荐弹幕设置
5866
+ *
5867
+ * @generated from field: bool player_danmaku_use_default_config = 1;
5868
+ */
5869
+ playerDanmakuUseDefaultConfig: boolean;
5870
+ /**
5871
+ * 是否开启智能云屏蔽
5872
+ *
5873
+ * @generated from field: bool player_danmaku_ai_recommended_switch = 4;
5874
+ */
5875
+ playerDanmakuAiRecommendedSwitch: boolean;
5876
+ /**
5877
+ * 智能云屏蔽等级
5878
+ *
5879
+ * @generated from field: int32 player_danmaku_ai_recommended_level = 5;
5880
+ */
5881
+ playerDanmakuAiRecommendedLevel: number;
5882
+ /**
5883
+ * 是否屏蔽顶端弹幕
5884
+ *
5885
+ * @generated from field: bool player_danmaku_blocktop = 6;
5886
+ */
5887
+ playerDanmakuBlocktop: boolean;
5888
+ /**
5889
+ * 是否屏蔽滚动弹幕
5890
+ *
5891
+ * @generated from field: bool player_danmaku_blockscroll = 7;
5892
+ */
5893
+ playerDanmakuBlockscroll: boolean;
5894
+ /**
5895
+ * 是否屏蔽底端弹幕
5896
+ *
5897
+ * @generated from field: bool player_danmaku_blockbottom = 8;
5898
+ */
5899
+ playerDanmakuBlockbottom: boolean;
5900
+ /**
5901
+ * 是否屏蔽彩色弹幕
5902
+ *
5903
+ * @generated from field: bool player_danmaku_blockcolorful = 9;
5904
+ */
5905
+ playerDanmakuBlockcolorful: boolean;
5906
+ /**
5907
+ * 是否屏蔽重复弹幕
5908
+ *
5909
+ * @generated from field: bool player_danmaku_blockrepeat = 10;
5910
+ */
5911
+ playerDanmakuBlockrepeat: boolean;
5912
+ /**
5913
+ * 是否屏蔽高级弹幕
5914
+ *
5915
+ * @generated from field: bool player_danmaku_blockspecial = 11;
5916
+ */
5917
+ playerDanmakuBlockspecial: boolean;
5918
+ /**
5919
+ * 弹幕不透明度
5920
+ *
5921
+ * @generated from field: float player_danmaku_opacity = 12;
5922
+ */
5923
+ playerDanmakuOpacity: number;
5924
+ /**
5925
+ * 弹幕缩放比例
5926
+ *
5927
+ * @generated from field: float player_danmaku_scalingfactor = 13;
5928
+ */
5929
+ playerDanmakuScalingfactor: number;
5930
+ /**
5931
+ * 弹幕显示区域
5932
+ *
5933
+ * @generated from field: float player_danmaku_domain = 14;
5934
+ */
5935
+ playerDanmakuDomain: number;
5936
+ /**
5937
+ * 弹幕速度
5938
+ *
5939
+ * @generated from field: int32 player_danmaku_speed = 15;
5940
+ */
5941
+ playerDanmakuSpeed: number;
5942
+ /**
5943
+ * 是否开启弹幕
5944
+ *
5945
+ * @generated from field: bool inline_player_danmaku_switch = 16;
5946
+ */
5947
+ inlinePlayerDanmakuSwitch: boolean;
5948
+ /**
5949
+ *
5950
+ *
5951
+ * @generated from field: int32 player_danmaku_senior_mode_switch = 17;
5952
+ */
5953
+ playerDanmakuSeniorModeSwitch: number;
5954
+ /**
5955
+ *
5956
+ *
5957
+ * @generated from field: int32 player_danmaku_ai_recommended_level_v2 = 18;
5958
+ */
5959
+ playerDanmakuAiRecommendedLevelV2: number;
5960
+ /**
5961
+ *
5962
+ *
5963
+ * @generated from field: map<int32, int32> player_danmaku_ai_recommended_level_v2_map = 19;
5964
+ */
5965
+ playerDanmakuAiRecommendedLevelV2Map: {
5966
+ [key: number]: number;
5967
+ };
5968
+ };
5969
+ /**
5970
+ * Describes the message bilibili.community.service.dm.v1.DanmuDefaultPlayerConfig.
5971
+ * Use `create(DanmuDefaultPlayerConfigSchema)` to create a new message.
5972
+ */
5973
+ declare const DanmuDefaultPlayerConfigSchema: GenMessage<DanmuDefaultPlayerConfig>;
5974
+ /**
5975
+ * 弹幕配置
5976
+ *
5977
+ * @generated from message bilibili.community.service.dm.v1.DanmuPlayerConfig
5978
+ */
5979
+ type DanmuPlayerConfig = Message<'bilibili.community.service.dm.v1.DanmuPlayerConfig'> & {
5980
+ /**
5981
+ * 是否开启弹幕
5982
+ *
5983
+ * @generated from field: bool player_danmaku_switch = 1;
5984
+ */
5985
+ playerDanmakuSwitch: boolean;
5986
+ /**
5987
+ * 是否记录弹幕开关设置
5988
+ *
5989
+ * @generated from field: bool player_danmaku_switch_save = 2;
5990
+ */
5991
+ playerDanmakuSwitchSave: boolean;
5992
+ /**
5993
+ * 是否使用推荐弹幕设置
5994
+ *
5995
+ * @generated from field: bool player_danmaku_use_default_config = 3;
5996
+ */
5997
+ playerDanmakuUseDefaultConfig: boolean;
5998
+ /**
5999
+ * 是否开启智能云屏蔽
6000
+ *
6001
+ * @generated from field: bool player_danmaku_ai_recommended_switch = 4;
6002
+ */
6003
+ playerDanmakuAiRecommendedSwitch: boolean;
6004
+ /**
6005
+ * 智能云屏蔽等级
6006
+ *
6007
+ * @generated from field: int32 player_danmaku_ai_recommended_level = 5;
6008
+ */
6009
+ playerDanmakuAiRecommendedLevel: number;
6010
+ /**
6011
+ * 是否屏蔽顶端弹幕
6012
+ *
6013
+ * @generated from field: bool player_danmaku_blocktop = 6;
6014
+ */
6015
+ playerDanmakuBlocktop: boolean;
6016
+ /**
6017
+ * 是否屏蔽滚动弹幕
6018
+ *
6019
+ * @generated from field: bool player_danmaku_blockscroll = 7;
6020
+ */
6021
+ playerDanmakuBlockscroll: boolean;
6022
+ /**
6023
+ * 是否屏蔽底端弹幕
6024
+ *
6025
+ * @generated from field: bool player_danmaku_blockbottom = 8;
6026
+ */
6027
+ playerDanmakuBlockbottom: boolean;
6028
+ /**
6029
+ * 是否屏蔽彩色弹幕
6030
+ *
6031
+ * @generated from field: bool player_danmaku_blockcolorful = 9;
6032
+ */
6033
+ playerDanmakuBlockcolorful: boolean;
6034
+ /**
6035
+ * 是否屏蔽重复弹幕
6036
+ *
6037
+ * @generated from field: bool player_danmaku_blockrepeat = 10;
6038
+ */
6039
+ playerDanmakuBlockrepeat: boolean;
6040
+ /**
6041
+ * 是否屏蔽高级弹幕
6042
+ *
6043
+ * @generated from field: bool player_danmaku_blockspecial = 11;
6044
+ */
6045
+ playerDanmakuBlockspecial: boolean;
6046
+ /**
6047
+ * 弹幕不透明度
6048
+ *
6049
+ * @generated from field: float player_danmaku_opacity = 12;
6050
+ */
6051
+ playerDanmakuOpacity: number;
6052
+ /**
6053
+ * 弹幕缩放比例
6054
+ *
6055
+ * @generated from field: float player_danmaku_scalingfactor = 13;
6056
+ */
6057
+ playerDanmakuScalingfactor: number;
6058
+ /**
6059
+ * 弹幕显示区域
6060
+ *
6061
+ * @generated from field: float player_danmaku_domain = 14;
6062
+ */
6063
+ playerDanmakuDomain: number;
6064
+ /**
6065
+ * 弹幕速度
6066
+ *
6067
+ * @generated from field: int32 player_danmaku_speed = 15;
6068
+ */
6069
+ playerDanmakuSpeed: number;
6070
+ /**
6071
+ * 是否开启屏蔽列表
6072
+ *
6073
+ * @generated from field: bool player_danmaku_enableblocklist = 16;
6074
+ */
6075
+ playerDanmakuEnableblocklist: boolean;
6076
+ /**
6077
+ * 是否开启弹幕
6078
+ *
6079
+ * @generated from field: bool inline_player_danmaku_switch = 17;
6080
+ */
6081
+ inlinePlayerDanmakuSwitch: boolean;
6082
+ /**
6083
+ *
6084
+ *
6085
+ * @generated from field: int32 inline_player_danmaku_config = 18;
6086
+ */
6087
+ inlinePlayerDanmakuConfig: number;
6088
+ /**
6089
+ *
6090
+ *
6091
+ * @generated from field: int32 player_danmaku_ios_switch_save = 19;
6092
+ */
6093
+ playerDanmakuIosSwitchSave: number;
6094
+ /**
6095
+ *
6096
+ *
6097
+ * @generated from field: int32 player_danmaku_senior_mode_switch = 20;
6098
+ */
6099
+ playerDanmakuSeniorModeSwitch: number;
6100
+ /**
6101
+ *
6102
+ *
6103
+ * @generated from field: int32 player_danmaku_ai_recommended_level_v2 = 21;
6104
+ */
6105
+ playerDanmakuAiRecommendedLevelV2: number;
6106
+ /**
6107
+ *
6108
+ *
6109
+ * @generated from field: map<int32, int32> player_danmaku_ai_recommended_level_v2_map = 22;
6110
+ */
6111
+ playerDanmakuAiRecommendedLevelV2Map: {
6112
+ [key: number]: number;
6113
+ };
6114
+ };
6115
+ /**
6116
+ * Describes the message bilibili.community.service.dm.v1.DanmuPlayerConfig.
6117
+ * Use `create(DanmuPlayerConfigSchema)` to create a new message.
6118
+ */
6119
+ declare const DanmuPlayerConfigSchema: GenMessage<DanmuPlayerConfig>;
6120
+ /**
6121
+ *
6122
+ *
6123
+ * @generated from message bilibili.community.service.dm.v1.DanmuPlayerConfigPanel
6124
+ */
6125
+ type DanmuPlayerConfigPanel = Message<'bilibili.community.service.dm.v1.DanmuPlayerConfigPanel'> & {
6126
+ /**
6127
+ *
6128
+ *
6129
+ * @generated from field: string selection_text = 1;
6130
+ */
6131
+ selectionText: string;
6132
+ };
6133
+ /**
6134
+ * Describes the message bilibili.community.service.dm.v1.DanmuPlayerConfigPanel.
6135
+ * Use `create(DanmuPlayerConfigPanelSchema)` to create a new message.
6136
+ */
6137
+ declare const DanmuPlayerConfigPanelSchema: GenMessage<DanmuPlayerConfigPanel>;
6138
+ /**
6139
+ * 弹幕显示区域自动配置
6140
+ *
6141
+ * @generated from message bilibili.community.service.dm.v1.DanmuPlayerDynamicConfig
6142
+ */
6143
+ type DanmuPlayerDynamicConfig = Message<'bilibili.community.service.dm.v1.DanmuPlayerDynamicConfig'> & {
6144
+ /**
6145
+ * 时间
6146
+ *
6147
+ * @generated from field: int32 progress = 1;
6148
+ */
6149
+ progress: number;
6150
+ /**
6151
+ * 弹幕显示区域
6152
+ *
6153
+ * @generated from field: float player_danmaku_domain = 14;
6154
+ */
6155
+ playerDanmakuDomain: number;
6156
+ };
6157
+ /**
6158
+ * Describes the message bilibili.community.service.dm.v1.DanmuPlayerDynamicConfig.
6159
+ * Use `create(DanmuPlayerDynamicConfigSchema)` to create a new message.
6160
+ */
6161
+ declare const DanmuPlayerDynamicConfigSchema: GenMessage<DanmuPlayerDynamicConfig>;
6162
+ /**
6163
+ * 弹幕配置信息
6164
+ *
6165
+ * @generated from message bilibili.community.service.dm.v1.DanmuPlayerViewConfig
6166
+ */
6167
+ type DanmuPlayerViewConfig = Message<'bilibili.community.service.dm.v1.DanmuPlayerViewConfig'> & {
6168
+ /**
6169
+ * 弹幕默认配置
6170
+ *
6171
+ * @generated from field: bilibili.community.service.dm.v1.DanmuDefaultPlayerConfig danmuku_default_player_config = 1;
6172
+ */
6173
+ danmukuDefaultPlayerConfig?: DanmuDefaultPlayerConfig | undefined;
6174
+ /**
6175
+ * 弹幕用户配置
6176
+ *
6177
+ * @generated from field: bilibili.community.service.dm.v1.DanmuPlayerConfig danmuku_player_config = 2;
6178
+ */
6179
+ danmukuPlayerConfig?: DanmuPlayerConfig | undefined;
6180
+ /**
6181
+ * 弹幕显示区域自动配置列表
6182
+ *
6183
+ * @generated from field: repeated bilibili.community.service.dm.v1.DanmuPlayerDynamicConfig danmuku_player_dynamic_config = 3;
6184
+ */
6185
+ danmukuPlayerDynamicConfig: DanmuPlayerDynamicConfig[];
6186
+ /**
6187
+ *
6188
+ *
6189
+ * @generated from field: bilibili.community.service.dm.v1.DanmuPlayerConfigPanel danmuku_player_config_panel = 4;
6190
+ */
6191
+ danmukuPlayerConfigPanel?: DanmuPlayerConfigPanel | undefined;
6192
+ };
6193
+ /**
6194
+ * Describes the message bilibili.community.service.dm.v1.DanmuPlayerViewConfig.
6195
+ * Use `create(DanmuPlayerViewConfigSchema)` to create a new message.
6196
+ */
6197
+ declare const DanmuPlayerViewConfigSchema: GenMessage<DanmuPlayerViewConfig>;
6198
+ /**
6199
+ * web端用户弹幕配置
6200
+ *
6201
+ * @generated from message bilibili.community.service.dm.v1.DanmuWebPlayerConfig
6202
+ */
6203
+ type DanmuWebPlayerConfig = Message<'bilibili.community.service.dm.v1.DanmuWebPlayerConfig'> & {
6204
+ /**
6205
+ * 是否开启弹幕
6206
+ *
6207
+ * @generated from field: bool dm_switch = 1;
6208
+ */
6209
+ dmSwitch: boolean;
6210
+ /**
6211
+ * 是否开启智能云屏蔽
6212
+ *
6213
+ * @generated from field: bool ai_switch = 2;
6214
+ */
6215
+ aiSwitch: boolean;
6216
+ /**
6217
+ * 智能云屏蔽等级
6218
+ *
6219
+ * @generated from field: int32 ai_level = 3;
6220
+ */
6221
+ aiLevel: number;
6222
+ /**
6223
+ * 是否屏蔽顶端弹幕
6224
+ *
6225
+ * @generated from field: bool blocktop = 4;
6226
+ */
6227
+ blocktop: boolean;
6228
+ /**
6229
+ * 是否屏蔽滚动弹幕
6230
+ *
6231
+ * @generated from field: bool blockscroll = 5;
6232
+ */
6233
+ blockscroll: boolean;
6234
+ /**
6235
+ * 是否屏蔽底端弹幕
6236
+ *
6237
+ * @generated from field: bool blockbottom = 6;
6238
+ */
6239
+ blockbottom: boolean;
6240
+ /**
6241
+ * 是否屏蔽彩色弹幕
6242
+ *
6243
+ * @generated from field: bool blockcolor = 7;
6244
+ */
6245
+ blockcolor: boolean;
6246
+ /**
6247
+ * 是否屏蔽重复弹幕
6248
+ *
6249
+ * @generated from field: bool blockspecial = 8;
6250
+ */
6251
+ blockspecial: boolean;
6252
+ /**
6253
+ *
6254
+ *
6255
+ * @generated from field: bool preventshade = 9;
6256
+ */
6257
+ preventshade: boolean;
6258
+ /**
6259
+ *
6260
+ *
6261
+ * @generated from field: bool dmask = 10;
6262
+ */
6263
+ dmask: boolean;
6264
+ /**
6265
+ *
6266
+ *
6267
+ * @generated from field: float opacity = 11;
6268
+ */
6269
+ opacity: number;
6270
+ /**
6271
+ *
6272
+ *
6273
+ * @generated from field: int32 dmarea = 12;
6274
+ */
6275
+ dmarea: number;
6276
+ /**
6277
+ *
6278
+ *
6279
+ * @generated from field: float speedplus = 13;
6280
+ */
6281
+ speedplus: number;
6282
+ /**
6283
+ * 弹幕字号
6284
+ *
6285
+ * @generated from field: float fontsize = 14;
6286
+ */
6287
+ fontsize: number;
6288
+ /**
6289
+ *
6290
+ *
6291
+ * @generated from field: bool screensync = 15;
6292
+ */
6293
+ screensync: boolean;
6294
+ /**
6295
+ *
6296
+ *
6297
+ * @generated from field: bool speedsync = 16;
6298
+ */
6299
+ speedsync: boolean;
6300
+ /**
6301
+ *
6302
+ *
6303
+ * @generated from field: string fontfamily = 17;
6304
+ */
6305
+ fontfamily: string;
6306
+ /**
6307
+ * 是否使用加粗
6308
+ *
6309
+ * @generated from field: bool bold = 18;
6310
+ */
6311
+ bold: boolean;
6312
+ /**
6313
+ *
6314
+ *
6315
+ * @generated from field: int32 fontborder = 19;
6316
+ */
6317
+ fontborder: number;
6318
+ /**
6319
+ * 弹幕渲染类型
6320
+ *
6321
+ * @generated from field: string draw_type = 20;
6322
+ */
6323
+ drawType: string;
6324
+ /**
6325
+ *
6326
+ *
6327
+ * @generated from field: int32 senior_mode_switch = 21;
6328
+ */
6329
+ seniorModeSwitch: number;
6330
+ /**
6331
+ *
6332
+ *
6333
+ * @generated from field: int32 ai_level_v2 = 22;
6334
+ */
6335
+ aiLevelV2: number;
6336
+ /**
6337
+ *
6338
+ *
6339
+ * @generated from field: map<int32, int32> ai_level_v2_map = 23;
6340
+ */
6341
+ aiLevelV2Map: {
6342
+ [key: number]: number;
6343
+ };
6344
+ };
6345
+ /**
6346
+ * Describes the message bilibili.community.service.dm.v1.DanmuWebPlayerConfig.
6347
+ * Use `create(DanmuWebPlayerConfigSchema)` to create a new message.
6348
+ */
6349
+ declare const DanmuWebPlayerConfigSchema: GenMessage<DanmuWebPlayerConfig>;
6350
+ /**
6351
+ * @generated from message bilibili.community.service.dm.v1.DmColorful
6352
+ */
6353
+ type DmColorful = Message<'bilibili.community.service.dm.v1.DmColorful'> & {
6354
+ /**
6355
+ * 颜色类型
6356
+ *
6357
+ * @generated from field: bilibili.community.service.dm.v1.DmColorfulType type = 1;
6358
+ */
6359
+ type: DmColorfulType;
6360
+ /**
6361
+ *
6362
+ *
6363
+ * @generated from field: string src = 2;
6364
+ */
6365
+ src: string;
6366
+ };
6367
+ /**
6368
+ * Describes the message bilibili.community.service.dm.v1.DmColorful.
6369
+ * Use `create(DmColorfulSchema)` to create a new message.
6370
+ */
6371
+ declare const DmColorfulSchema: GenMessage<DmColorful>;
6372
+ /**
6373
+ *
6374
+ *
6375
+ * @generated from message bilibili.community.service.dm.v1.DmExpoReportReq
6376
+ */
6377
+ type DmExpoReportReq = Message<'bilibili.community.service.dm.v1.DmExpoReportReq'> & {
6378
+ /**
6379
+ *
6380
+ *
6381
+ * @generated from field: string session_id = 1;
6382
+ */
6383
+ sessionId: string;
6384
+ /**
6385
+ *
6386
+ *
6387
+ * @generated from field: int64 oid = 2;
6388
+ */
6389
+ oid: bigint;
6390
+ /**
6391
+ *
6392
+ *
6393
+ * @generated from field: string spmid = 4;
6394
+ */
6395
+ spmid: string;
6396
+ };
6397
+ /**
6398
+ * Describes the message bilibili.community.service.dm.v1.DmExpoReportReq.
6399
+ * Use `create(DmExpoReportReqSchema)` to create a new message.
6400
+ */
6401
+ declare const DmExpoReportReqSchema: GenMessage<DmExpoReportReq>;
6402
+ /**
6403
+ *
6404
+ *
6405
+ * @generated from message bilibili.community.service.dm.v1.DmExpoReportRes
6406
+ */
6407
+ type DmExpoReportRes = Message<'bilibili.community.service.dm.v1.DmExpoReportRes'> & {};
6408
+ /**
6409
+ * Describes the message bilibili.community.service.dm.v1.DmExpoReportRes.
6410
+ * Use `create(DmExpoReportResSchema)` to create a new message.
6411
+ */
6412
+ declare const DmExpoReportResSchema: GenMessage<DmExpoReportRes>;
6413
+ /**
6414
+ * 修改弹幕配置-请求
6415
+ *
6416
+ * @generated from message bilibili.community.service.dm.v1.DmPlayerConfigReq
6417
+ */
6418
+ type DmPlayerConfigReq = Message<'bilibili.community.service.dm.v1.DmPlayerConfigReq'> & {
6419
+ /**
6420
+ *
6421
+ *
6422
+ * @generated from field: int64 ts = 1;
6423
+ */
6424
+ ts: bigint;
6425
+ /**
6426
+ * 是否开启弹幕
6427
+ *
6428
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuSwitch switch = 2;
6429
+ */
6430
+ switch?: PlayerDanmakuSwitch | undefined;
6431
+ /**
6432
+ * 是否记录弹幕开关设置
6433
+ *
6434
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuSwitchSave switch_save = 3;
6435
+ */
6436
+ switchSave?: PlayerDanmakuSwitchSave | undefined;
6437
+ /**
6438
+ * 是否使用推荐弹幕设置
6439
+ *
6440
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuUseDefaultConfig use_default_config = 4;
6441
+ */
6442
+ useDefaultConfig?: PlayerDanmakuUseDefaultConfig | undefined;
6443
+ /**
6444
+ * 是否开启智能云屏蔽
6445
+ *
6446
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedSwitch ai_recommended_switch = 5;
6447
+ */
6448
+ aiRecommendedSwitch?: PlayerDanmakuAiRecommendedSwitch | undefined;
6449
+ /**
6450
+ * 智能云屏蔽等级
6451
+ *
6452
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevel ai_recommended_level = 6;
6453
+ */
6454
+ aiRecommendedLevel?: PlayerDanmakuAiRecommendedLevel | undefined;
6455
+ /**
6456
+ * 是否屏蔽顶端弹幕
6457
+ *
6458
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlocktop blocktop = 7;
6459
+ */
6460
+ blocktop?: PlayerDanmakuBlocktop | undefined;
6461
+ /**
6462
+ * 是否屏蔽滚动弹幕
6463
+ *
6464
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlockscroll blockscroll = 8;
6465
+ */
6466
+ blockscroll?: PlayerDanmakuBlockscroll | undefined;
6467
+ /**
6468
+ * 是否屏蔽底端弹幕
6469
+ *
6470
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlockbottom blockbottom = 9;
6471
+ */
6472
+ blockbottom?: PlayerDanmakuBlockbottom | undefined;
6473
+ /**
6474
+ * 是否屏蔽彩色弹幕
6475
+ *
6476
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlockcolorful blockcolorful = 10;
6477
+ */
6478
+ blockcolorful?: PlayerDanmakuBlockcolorful | undefined;
6479
+ /**
6480
+ * 是否屏蔽重复弹幕
6481
+ *
6482
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlockrepeat blockrepeat = 11;
6483
+ */
6484
+ blockrepeat?: PlayerDanmakuBlockrepeat | undefined;
6485
+ /**
6486
+ * 是否屏蔽高级弹幕
6487
+ *
6488
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuBlockspecial blockspecial = 12;
6489
+ */
6490
+ blockspecial?: PlayerDanmakuBlockspecial | undefined;
6491
+ /**
6492
+ * 弹幕不透明度
6493
+ *
6494
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuOpacity opacity = 13;
6495
+ */
6496
+ opacity?: PlayerDanmakuOpacity | undefined;
6497
+ /**
6498
+ * 弹幕缩放比例
6499
+ *
6500
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuScalingfactor scalingfactor = 14;
6501
+ */
6502
+ scalingfactor?: PlayerDanmakuScalingfactor | undefined;
6503
+ /**
6504
+ * 弹幕显示区域
6505
+ *
6506
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuDomain domain = 15;
6507
+ */
6508
+ domain?: PlayerDanmakuDomain | undefined;
6509
+ /**
6510
+ * 弹幕速度
6511
+ *
6512
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuSpeed speed = 16;
6513
+ */
6514
+ speed?: PlayerDanmakuSpeed | undefined;
6515
+ /**
6516
+ * 是否开启屏蔽列表
6517
+ *
6518
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuEnableblocklist enableblocklist = 17;
6519
+ */
6520
+ enableblocklist?: PlayerDanmakuEnableblocklist | undefined;
6521
+ /**
6522
+ * 是否开启弹幕
6523
+ *
6524
+ * @generated from field: bilibili.community.service.dm.v1.InlinePlayerDanmakuSwitch inlinePlayerDanmakuSwitch = 18;
6525
+ */
6526
+ inlinePlayerDanmakuSwitch?: InlinePlayerDanmakuSwitch | undefined;
6527
+ /**
6528
+ *
6529
+ *
6530
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuSeniorModeSwitch senior_mode_switch = 19;
6531
+ */
6532
+ seniorModeSwitch?: PlayerDanmakuSeniorModeSwitch | undefined;
6533
+ /**
6534
+ *
6535
+ *
6536
+ * @generated from field: bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevelV2 ai_recommended_level_v2 = 20;
6537
+ */
6538
+ aiRecommendedLevelV2?: PlayerDanmakuAiRecommendedLevelV2 | undefined;
6539
+ };
6540
+ /**
6541
+ * Describes the message bilibili.community.service.dm.v1.DmPlayerConfigReq.
6542
+ * Use `create(DmPlayerConfigReqSchema)` to create a new message.
6543
+ */
6544
+ declare const DmPlayerConfigReqSchema: GenMessage<DmPlayerConfigReq>;
6545
+ /**
6546
+ *
6547
+ *
6548
+ * @generated from message bilibili.community.service.dm.v1.DmSegConfig
6549
+ */
6550
+ type DmSegConfig = Message<'bilibili.community.service.dm.v1.DmSegConfig'> & {
6551
+ /**
6552
+ *
6553
+ *
6554
+ * @generated from field: int64 page_size = 1;
6555
+ */
6556
+ pageSize: bigint;
6557
+ /**
6558
+ *
6559
+ *
6560
+ * @generated from field: int64 total = 2;
6561
+ */
6562
+ total: bigint;
6563
+ };
6564
+ /**
6565
+ * Describes the message bilibili.community.service.dm.v1.DmSegConfig.
6566
+ * Use `create(DmSegConfigSchema)` to create a new message.
6567
+ */
6568
+ declare const DmSegConfigSchema: GenMessage<DmSegConfig>;
6569
+ /**
6570
+ * 获取弹幕-响应
6571
+ *
6572
+ * @generated from message bilibili.community.service.dm.v1.DmSegMobileReply
6573
+ */
6574
+ type DmSegMobileReply = Message<'bilibili.community.service.dm.v1.DmSegMobileReply'> & {
6575
+ /**
6576
+ * 弹幕列表
6577
+ *
6578
+ * @generated from field: repeated bilibili.community.service.dm.v1.DanmakuElem elems = 1;
6579
+ */
6580
+ elems: DanmakuElem[];
6581
+ /**
6582
+ * 是否已关闭弹幕
6583
+ * 0:未关闭 1:已关闭
6584
+ *
6585
+ * @generated from field: int32 state = 2;
6586
+ */
6587
+ state: number;
6588
+ /**
6589
+ * 弹幕云屏蔽ai评分值
6590
+ *
6591
+ * @generated from field: bilibili.community.service.dm.v1.DanmakuAIFlag ai_flag = 3;
6592
+ */
6593
+ aiFlag?: DanmakuAIFlag | undefined;
6594
+ /**
6595
+ * @generated from field: repeated bilibili.community.service.dm.v1.DmColorful colorfulSrc = 5;
6596
+ */
6597
+ colorfulSrc: DmColorful[];
6598
+ };
6599
+ /**
6600
+ * Describes the message bilibili.community.service.dm.v1.DmSegMobileReply.
6601
+ * Use `create(DmSegMobileReplySchema)` to create a new message.
6602
+ */
6603
+ declare const DmSegMobileReplySchema: GenMessage<DmSegMobileReply>;
6604
+ /**
6605
+ * 获取弹幕-请求
6606
+ *
6607
+ * @generated from message bilibili.community.service.dm.v1.DmSegMobileReq
6608
+ */
6609
+ type DmSegMobileReq = Message<'bilibili.community.service.dm.v1.DmSegMobileReq'> & {
6610
+ /**
6611
+ * 稿件avid/漫画epid
6612
+ *
6613
+ * @generated from field: int64 pid = 1;
6614
+ */
6615
+ pid: bigint;
6616
+ /**
6617
+ * 视频cid/漫画cid
6618
+ *
6619
+ * @generated from field: int64 oid = 2;
6620
+ */
6621
+ oid: bigint;
6622
+ /**
6623
+ * 弹幕类型
6624
+ * 1:视频 2:漫画
6625
+ *
6626
+ * @generated from field: int32 type = 3;
6627
+ */
6628
+ type: number;
6629
+ /**
6630
+ * 分段(6min)
6631
+ *
6632
+ * @generated from field: int64 segment_index = 4;
6633
+ */
6634
+ segmentIndex: bigint;
6635
+ /**
6636
+ * 是否青少年模式
6637
+ *
6638
+ * @generated from field: int32 teenagers_mode = 5;
6639
+ */
6640
+ teenagersMode: number;
6641
+ /**
6642
+ *
6643
+ *
6644
+ * @generated from field: int64 ps = 6;
6645
+ */
6646
+ ps: bigint;
6647
+ /**
6648
+ *
6649
+ *
6650
+ * @generated from field: int64 pe = 7;
6651
+ */
6652
+ pe: bigint;
6653
+ /**
6654
+ *
6655
+ *
6656
+ * @generated from field: int32 pull_mode = 8;
6657
+ */
6658
+ pullMode: number;
6659
+ /**
6660
+ *
6661
+ *
6662
+ * @generated from field: int32 from_scene = 9;
6663
+ */
6664
+ fromScene: number;
6665
+ };
6666
+ /**
6667
+ * Describes the message bilibili.community.service.dm.v1.DmSegMobileReq.
6668
+ * Use `create(DmSegMobileReqSchema)` to create a new message.
6669
+ */
6670
+ declare const DmSegMobileReqSchema: GenMessage<DmSegMobileReq>;
6671
+ /**
6672
+ * ott弹幕列表-响应
6673
+ *
6674
+ * @generated from message bilibili.community.service.dm.v1.DmSegOttReply
6675
+ */
6676
+ type DmSegOttReply = Message<'bilibili.community.service.dm.v1.DmSegOttReply'> & {
6677
+ /**
6678
+ * 是否已关闭弹幕
6679
+ * 0:未关闭 1:已关闭
6680
+ *
6681
+ * @generated from field: bool closed = 1;
6682
+ */
6683
+ closed: boolean;
6684
+ /**
6685
+ * 弹幕列表
6686
+ *
6687
+ * @generated from field: repeated bilibili.community.service.dm.v1.DanmakuElem elems = 2;
6688
+ */
6689
+ elems: DanmakuElem[];
6690
+ };
6691
+ /**
6692
+ * Describes the message bilibili.community.service.dm.v1.DmSegOttReply.
6693
+ * Use `create(DmSegOttReplySchema)` to create a new message.
6694
+ */
6695
+ declare const DmSegOttReplySchema: GenMessage<DmSegOttReply>;
6696
+ /**
6697
+ * ott弹幕列表-请求
6698
+ *
6699
+ * @generated from message bilibili.community.service.dm.v1.DmSegOttReq
6700
+ */
6701
+ type DmSegOttReq = Message<'bilibili.community.service.dm.v1.DmSegOttReq'> & {
6702
+ /**
6703
+ * 稿件avid/漫画epid
6704
+ *
6705
+ * @generated from field: int64 pid = 1;
6706
+ */
6707
+ pid: bigint;
6708
+ /**
6709
+ * 视频cid/漫画cid
6710
+ *
6711
+ * @generated from field: int64 oid = 2;
6712
+ */
6713
+ oid: bigint;
6714
+ /**
6715
+ * 弹幕类型
6716
+ * 1:视频 2:漫画
6717
+ *
6718
+ * @generated from field: int32 type = 3;
6719
+ */
6720
+ type: number;
6721
+ /**
6722
+ * 分段(6min)
6723
+ *
6724
+ * @generated from field: int64 segment_index = 4;
6725
+ */
6726
+ segmentIndex: bigint;
6727
+ };
6728
+ /**
6729
+ * Describes the message bilibili.community.service.dm.v1.DmSegOttReq.
6730
+ * Use `create(DmSegOttReqSchema)` to create a new message.
6731
+ */
6732
+ declare const DmSegOttReqSchema: GenMessage<DmSegOttReq>;
6733
+ /**
6734
+ * 弹幕SDK-响应
6735
+ *
6736
+ * @generated from message bilibili.community.service.dm.v1.DmSegSDKReply
6737
+ */
6738
+ type DmSegSDKReply = Message<'bilibili.community.service.dm.v1.DmSegSDKReply'> & {
6739
+ /**
6740
+ * 是否已关闭弹幕
6741
+ * 0:未关闭 1:已关闭
6742
+ *
6743
+ * @generated from field: bool closed = 1;
6744
+ */
6745
+ closed: boolean;
6746
+ /**
6747
+ * 弹幕列表
6748
+ *
6749
+ * @generated from field: repeated bilibili.community.service.dm.v1.DanmakuElem elems = 2;
6750
+ */
6751
+ elems: DanmakuElem[];
6752
+ };
6753
+ /**
6754
+ * Describes the message bilibili.community.service.dm.v1.DmSegSDKReply.
6755
+ * Use `create(DmSegSDKReplySchema)` to create a new message.
6756
+ */
6757
+ declare const DmSegSDKReplySchema: GenMessage<DmSegSDKReply>;
6758
+ /**
6759
+ * 弹幕SDK-请求
6760
+ *
6761
+ * @generated from message bilibili.community.service.dm.v1.DmSegSDKReq
6762
+ */
6763
+ type DmSegSDKReq = Message<'bilibili.community.service.dm.v1.DmSegSDKReq'> & {
6764
+ /**
6765
+ * 稿件avid/漫画epid
6766
+ *
6767
+ * @generated from field: int64 pid = 1;
6768
+ */
6769
+ pid: bigint;
6770
+ /**
6771
+ * 视频cid/漫画cid
6772
+ *
6773
+ * @generated from field: int64 oid = 2;
6774
+ */
6775
+ oid: bigint;
6776
+ /**
6777
+ * 弹幕类型
6778
+ * 1:视频 2:漫画
6779
+ *
6780
+ * @generated from field: int32 type = 3;
6781
+ */
6782
+ type: number;
6783
+ /**
6784
+ * 分段(6min)
6785
+ *
6786
+ * @generated from field: int64 segment_index = 4;
6787
+ */
6788
+ segmentIndex: bigint;
6789
+ };
6790
+ /**
6791
+ * Describes the message bilibili.community.service.dm.v1.DmSegSDKReq.
6792
+ * Use `create(DmSegSDKReqSchema)` to create a new message.
6793
+ */
6794
+ declare const DmSegSDKReqSchema: GenMessage<DmSegSDKReq>;
6795
+ /**
6796
+ * 客户端弹幕元数据-响应
6797
+ *
6798
+ * @generated from message bilibili.community.service.dm.v1.DmViewReply
6799
+ */
6800
+ type DmViewReply = Message<'bilibili.community.service.dm.v1.DmViewReply'> & {
6801
+ /**
6802
+ * 是否已关闭弹幕
6803
+ * 0:未关闭 1:已关闭
6804
+ *
6805
+ * @generated from field: bool closed = 1;
6806
+ */
6807
+ closed: boolean;
6808
+ /**
6809
+ * 智能防挡弹幕蒙版信息
6810
+ *
6811
+ * @generated from field: bilibili.community.service.dm.v1.VideoMask mask = 2;
6812
+ */
6813
+ mask?: VideoMask | undefined;
6814
+ /**
6815
+ * 视频字幕
6816
+ *
6817
+ * @generated from field: bilibili.community.service.dm.v1.VideoSubtitle subtitle = 3;
6818
+ */
6819
+ subtitle?: DMVideoSubtitle | undefined;
6820
+ /**
6821
+ * 高级弹幕专包url(bfs)
6822
+ *
6823
+ * @generated from field: repeated string special_dms = 4;
6824
+ */
6825
+ specialDms: string[];
6826
+ /**
6827
+ * 云屏蔽配置信息
6828
+ *
6829
+ * @generated from field: bilibili.community.service.dm.v1.DanmakuFlagConfig ai_flag = 5;
6830
+ */
6831
+ aiFlag?: DanmakuFlagConfig | undefined;
6832
+ /**
6833
+ * 弹幕配置信息
6834
+ *
6835
+ * @generated from field: bilibili.community.service.dm.v1.DanmuPlayerViewConfig player_config = 6;
6836
+ */
6837
+ playerConfig?: DanmuPlayerViewConfig | undefined;
6838
+ /**
6839
+ * 弹幕发送框样式
6840
+ *
6841
+ * @generated from field: int32 send_box_style = 7;
6842
+ */
6843
+ sendBoxStyle: number;
6844
+ /**
6845
+ * 是否允许
6846
+ *
6847
+ * @generated from field: bool allow = 8;
6848
+ */
6849
+ allow: boolean;
6850
+ /**
6851
+ * check box 是否展示
6852
+ *
6853
+ * @generated from field: string check_box = 9;
6854
+ */
6855
+ checkBox: string;
6856
+ /**
6857
+ * check box 展示文本
6858
+ *
6859
+ * @generated from field: string check_box_show_msg = 10;
6860
+ */
6861
+ checkBoxShowMsg: string;
6862
+ /**
6863
+ * 展示文案
6864
+ *
6865
+ * @generated from field: string text_placeholder = 11;
6866
+ */
6867
+ textPlaceholder: string;
6868
+ /**
6869
+ * 弹幕输入框文案
6870
+ *
6871
+ * @generated from field: string input_placeholder = 12;
6872
+ */
6873
+ inputPlaceholder: string;
6874
+ /**
6875
+ * 用户举报弹幕 cid维度屏蔽的正则规则
6876
+ *
6877
+ * @generated from field: repeated string report_filter_content = 13;
6878
+ */
6879
+ reportFilterContent: string[];
6880
+ /**
6881
+ *
6882
+ *
6883
+ * @generated from field: bilibili.community.service.dm.v1.ExpoReport expo_report = 14;
6884
+ */
6885
+ expoReport?: ExpoReport | undefined;
6886
+ /**
6887
+ *
6888
+ *
6889
+ * @generated from field: bilibili.community.service.dm.v1.BuzzwordConfig buzzword_config = 15;
6890
+ */
6891
+ buzzwordConfig?: BuzzwordConfig | undefined;
6892
+ /**
6893
+ *
6894
+ *
6895
+ * @generated from field: repeated bilibili.community.service.dm.v1.Expressions expressions = 16;
6896
+ */
6897
+ expressions: Expressions[];
6898
+ /**
6899
+ *
6900
+ *
6901
+ * @generated from field: repeated bilibili.community.service.dm.v1.PostPanel post_panel = 17;
6902
+ */
6903
+ postPanel: PostPanel[];
6904
+ /**
6905
+ *
6906
+ *
6907
+ * @generated from field: repeated string activity_meta = 18;
6908
+ */
6909
+ activityMeta: string[];
6910
+ /**
6911
+ *
6912
+ *
6913
+ * @generated from field: repeated bilibili.community.service.dm.v1.PostPanelV2 post_panel2 = 19;
6914
+ */
6915
+ postPanel2: PostPanelV2[];
6916
+ };
6917
+ /**
6918
+ * Describes the message bilibili.community.service.dm.v1.DmViewReply.
6919
+ * Use `create(DmViewReplySchema)` to create a new message.
6920
+ */
6921
+ declare const DmViewReplySchema: GenMessage<DmViewReply>;
6922
+ /**
6923
+ * 客户端弹幕元数据-请求
6924
+ *
6925
+ * @generated from message bilibili.community.service.dm.v1.DmViewReq
6926
+ */
6927
+ type DmViewReq = Message<'bilibili.community.service.dm.v1.DmViewReq'> & {
6928
+ /**
6929
+ * 稿件avid/漫画epid
6930
+ *
6931
+ * @generated from field: int64 pid = 1;
6932
+ */
6933
+ pid: bigint;
6934
+ /**
6935
+ * 视频cid/漫画cid
6936
+ *
6937
+ * @generated from field: int64 oid = 2;
6938
+ */
6939
+ oid: bigint;
6940
+ /**
6941
+ * 弹幕类型
6942
+ * 1:视频 2:漫画
6943
+ *
6944
+ * @generated from field: int32 type = 3;
6945
+ */
6946
+ type: number;
6947
+ /**
6948
+ * 页面spm
6949
+ *
6950
+ * @generated from field: string spmid = 4;
6951
+ */
6952
+ spmid: string;
6953
+ /**
6954
+ * 是否冷启
6955
+ *
6956
+ * @generated from field: int32 is_hard_boot = 5;
6957
+ */
6958
+ isHardBoot: number;
6959
+ };
6960
+ /**
6961
+ * Describes the message bilibili.community.service.dm.v1.DmViewReq.
6962
+ * Use `create(DmViewReqSchema)` to create a new message.
6963
+ */
6964
+ declare const DmViewReqSchema: GenMessage<DmViewReq>;
6965
+ /**
6966
+ * web端弹幕元数据-响应
6967
+ * https://api.bilibili.com/x/v2/dm/web/view
6968
+ *
6969
+ * @generated from message bilibili.community.service.dm.v1.DmWebViewReply
6970
+ */
6971
+ type DmWebViewReply = Message<'bilibili.community.service.dm.v1.DmWebViewReply'> & {
6972
+ /**
6973
+ * 是否已关闭弹幕
6974
+ * 0:未关闭 1:已关闭
6975
+ *
6976
+ * @generated from field: int32 state = 1;
6977
+ */
6978
+ state: number;
6979
+ /**
6980
+ *
6981
+ *
6982
+ * @generated from field: string text = 2;
6983
+ */
6984
+ text: string;
6985
+ /**
6986
+ *
6987
+ *
6988
+ * @generated from field: string text_side = 3;
6989
+ */
6990
+ textSide: string;
6991
+ /**
6992
+ * 分段弹幕配置
6993
+ *
6994
+ * @generated from field: bilibili.community.service.dm.v1.DmSegConfig dm_sge = 4;
6995
+ */
6996
+ dmSge?: DmSegConfig | undefined;
6997
+ /**
6998
+ * 云屏蔽配置信息
6999
+ *
7000
+ * @generated from field: bilibili.community.service.dm.v1.DanmakuFlagConfig flag = 5;
7001
+ */
7002
+ flag?: DanmakuFlagConfig | undefined;
7003
+ /**
7004
+ * 高级弹幕专包url(bfs)
7005
+ *
7006
+ * @generated from field: repeated string special_dms = 6;
7007
+ */
7008
+ specialDms: string[];
7009
+ /**
7010
+ * check box 是否展示
7011
+ *
7012
+ * @generated from field: bool check_box = 7;
7013
+ */
7014
+ checkBox: boolean;
7015
+ /**
7016
+ * 弹幕数
7017
+ *
7018
+ * @generated from field: int64 count = 8;
7019
+ */
7020
+ count: bigint;
7021
+ /**
7022
+ * 互动弹幕
7023
+ *
7024
+ * @generated from field: repeated bilibili.community.service.dm.v1.CommandDm commandDms = 9;
7025
+ */
7026
+ commandDms: CommandDm[];
7027
+ /**
7028
+ * 用户弹幕配置
7029
+ *
7030
+ * @generated from field: bilibili.community.service.dm.v1.DanmuWebPlayerConfig player_config = 10;
7031
+ */
7032
+ playerConfig?: DanmuWebPlayerConfig | undefined;
7033
+ /**
7034
+ * 用户举报弹幕 cid维度屏蔽
7035
+ *
7036
+ * @generated from field: repeated string report_filter_content = 11;
7037
+ */
7038
+ reportFilterContent: string[];
7039
+ /**
7040
+ *
7041
+ *
7042
+ * @generated from field: repeated bilibili.community.service.dm.v1.Expressions expressions = 12;
7043
+ */
7044
+ expressions: Expressions[];
7045
+ /**
7046
+ *
7047
+ *
7048
+ * @generated from field: repeated bilibili.community.service.dm.v1.PostPanel post_panel = 13;
7049
+ */
7050
+ postPanel: PostPanel[];
7051
+ /**
7052
+ *
7053
+ *
7054
+ * @generated from field: repeated string activity_meta = 14;
7055
+ */
7056
+ activityMeta: string[];
7057
+ };
7058
+ /**
7059
+ * Describes the message bilibili.community.service.dm.v1.DmWebViewReply.
7060
+ * Use `create(DmWebViewReplySchema)` to create a new message.
7061
+ */
7062
+ declare const DmWebViewReplySchema: GenMessage<DmWebViewReply>;
7063
+ /**
7064
+ *
7065
+ *
7066
+ * @generated from message bilibili.community.service.dm.v1.ExpoReport
7067
+ */
7068
+ type ExpoReport = Message<'bilibili.community.service.dm.v1.ExpoReport'> & {
7069
+ /**
7070
+ *
7071
+ *
7072
+ * @generated from field: bool should_report_at_end = 1;
7073
+ */
7074
+ shouldReportAtEnd: boolean;
7075
+ };
7076
+ /**
7077
+ * Describes the message bilibili.community.service.dm.v1.ExpoReport.
7078
+ * Use `create(ExpoReportSchema)` to create a new message.
7079
+ */
7080
+ declare const ExpoReportSchema: GenMessage<ExpoReport>;
7081
+ /**
7082
+ *
7083
+ *
7084
+ * @generated from message bilibili.community.service.dm.v1.Expression
7085
+ */
7086
+ type Expression = Message<'bilibili.community.service.dm.v1.Expression'> & {
7087
+ /**
7088
+ *
7089
+ *
7090
+ * @generated from field: repeated string keyword = 1;
7091
+ */
7092
+ keyword: string[];
7093
+ /**
7094
+ *
7095
+ *
7096
+ * @generated from field: string url = 2;
7097
+ */
7098
+ url: string;
7099
+ /**
7100
+ *
7101
+ *
7102
+ * @generated from field: repeated bilibili.community.service.dm.v1.Period period = 3;
7103
+ */
7104
+ period: Period[];
7105
+ };
7106
+ /**
7107
+ * Describes the message bilibili.community.service.dm.v1.Expression.
7108
+ * Use `create(ExpressionSchema)` to create a new message.
7109
+ */
7110
+ declare const ExpressionSchema: GenMessage<Expression>;
7111
+ /**
7112
+ *
7113
+ *
7114
+ * @generated from message bilibili.community.service.dm.v1.Expressions
7115
+ */
7116
+ type Expressions = Message<'bilibili.community.service.dm.v1.Expressions'> & {
7117
+ /**
7118
+ *
7119
+ *
7120
+ * @generated from field: repeated bilibili.community.service.dm.v1.Expression data = 1;
7121
+ */
7122
+ data: Expression[];
7123
+ };
7124
+ /**
7125
+ * Describes the message bilibili.community.service.dm.v1.Expressions.
7126
+ * Use `create(ExpressionsSchema)` to create a new message.
7127
+ */
7128
+ declare const ExpressionsSchema: GenMessage<Expressions>;
7129
+ /**
7130
+ * 是否开启弹幕
7131
+ *
7132
+ * @generated from message bilibili.community.service.dm.v1.InlinePlayerDanmakuSwitch
7133
+ */
7134
+ type InlinePlayerDanmakuSwitch = Message<'bilibili.community.service.dm.v1.InlinePlayerDanmakuSwitch'> & {
7135
+ /**
7136
+ *
7137
+ *
7138
+ * @generated from field: bool value = 1;
7139
+ */
7140
+ value: boolean;
7141
+ };
7142
+ /**
7143
+ * Describes the message bilibili.community.service.dm.v1.InlinePlayerDanmakuSwitch.
7144
+ * Use `create(InlinePlayerDanmakuSwitchSchema)` to create a new message.
7145
+ */
7146
+ declare const InlinePlayerDanmakuSwitchSchema: GenMessage<InlinePlayerDanmakuSwitch>;
7147
+ /**
7148
+ *
7149
+ *
7150
+ * @generated from message bilibili.community.service.dm.v1.Label
7151
+ */
7152
+ type Label = Message<'bilibili.community.service.dm.v1.Label'> & {
7153
+ /**
7154
+ *
7155
+ *
7156
+ * @generated from field: string title = 1;
7157
+ */
7158
+ title: string;
7159
+ /**
7160
+ *
7161
+ *
7162
+ * @generated from field: repeated string content = 2;
7163
+ */
7164
+ content: string[];
7165
+ };
7166
+ /**
7167
+ * Describes the message bilibili.community.service.dm.v1.Label.
7168
+ * Use `create(LabelSchema)` to create a new message.
7169
+ */
7170
+ declare const LabelSchema: GenMessage<Label>;
7171
+ /**
7172
+ *
7173
+ *
7174
+ * @generated from message bilibili.community.service.dm.v1.LabelV2
7175
+ */
7176
+ type LabelV2 = Message<'bilibili.community.service.dm.v1.LabelV2'> & {
7177
+ /**
7178
+ *
7179
+ *
7180
+ * @generated from field: string title = 1;
7181
+ */
7182
+ title: string;
7183
+ /**
7184
+ *
7185
+ *
7186
+ * @generated from field: repeated string content = 2;
7187
+ */
7188
+ content: string[];
7189
+ /**
7190
+ *
7191
+ *
7192
+ * @generated from field: bool exposure_once = 3;
7193
+ */
7194
+ exposureOnce: boolean;
7195
+ /**
7196
+ *
7197
+ *
7198
+ * @generated from field: int32 exposure_type = 4;
7199
+ */
7200
+ exposureType: number;
7201
+ };
7202
+ /**
7203
+ * Describes the message bilibili.community.service.dm.v1.LabelV2.
7204
+ * Use `create(LabelV2Schema)` to create a new message.
7205
+ */
7206
+ declare const LabelV2Schema: GenMessage<LabelV2>;
7207
+ /**
7208
+ *
7209
+ *
7210
+ * @generated from message bilibili.community.service.dm.v1.Period
7211
+ */
7212
+ type Period = Message<'bilibili.community.service.dm.v1.Period'> & {
7213
+ /**
7214
+ *
7215
+ *
7216
+ * @generated from field: int64 start = 1;
7217
+ */
7218
+ start: bigint;
7219
+ /**
7220
+ *
7221
+ *
7222
+ * @generated from field: int64 end = 2;
7223
+ */
7224
+ end: bigint;
7225
+ };
7226
+ /**
7227
+ * Describes the message bilibili.community.service.dm.v1.Period.
7228
+ * Use `create(PeriodSchema)` to create a new message.
7229
+ */
7230
+ declare const PeriodSchema: GenMessage<Period>;
7231
+ /**
7232
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevel
7233
+ */
7234
+ type PlayerDanmakuAiRecommendedLevel = Message<'bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevel'> & {
7235
+ /**
7236
+ * @generated from field: bool value = 1;
7237
+ */
7238
+ value: boolean;
7239
+ };
7240
+ /**
7241
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevel.
7242
+ * Use `create(PlayerDanmakuAiRecommendedLevelSchema)` to create a new message.
7243
+ */
7244
+ declare const PlayerDanmakuAiRecommendedLevelSchema: GenMessage<PlayerDanmakuAiRecommendedLevel>;
7245
+ /**
7246
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevelV2
7247
+ */
7248
+ type PlayerDanmakuAiRecommendedLevelV2 = Message<'bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevelV2'> & {
7249
+ /**
7250
+ * @generated from field: int32 value = 1;
7251
+ */
7252
+ value: number;
7253
+ };
7254
+ /**
7255
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedLevelV2.
7256
+ * Use `create(PlayerDanmakuAiRecommendedLevelV2Schema)` to create a new message.
7257
+ */
7258
+ declare const PlayerDanmakuAiRecommendedLevelV2Schema: GenMessage<PlayerDanmakuAiRecommendedLevelV2>;
7259
+ /**
7260
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedSwitch
7261
+ */
7262
+ type PlayerDanmakuAiRecommendedSwitch = Message<'bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedSwitch'> & {
7263
+ /**
7264
+ * @generated from field: bool value = 1;
7265
+ */
7266
+ value: boolean;
7267
+ };
7268
+ /**
7269
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuAiRecommendedSwitch.
7270
+ * Use `create(PlayerDanmakuAiRecommendedSwitchSchema)` to create a new message.
7271
+ */
7272
+ declare const PlayerDanmakuAiRecommendedSwitchSchema: GenMessage<PlayerDanmakuAiRecommendedSwitch>;
7273
+ /**
7274
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlockbottom
7275
+ */
7276
+ type PlayerDanmakuBlockbottom = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlockbottom'> & {
7277
+ /**
7278
+ * @generated from field: bool value = 1;
7279
+ */
7280
+ value: boolean;
7281
+ };
7282
+ /**
7283
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlockbottom.
7284
+ * Use `create(PlayerDanmakuBlockbottomSchema)` to create a new message.
7285
+ */
7286
+ declare const PlayerDanmakuBlockbottomSchema: GenMessage<PlayerDanmakuBlockbottom>;
7287
+ /**
7288
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlockcolorful
7289
+ */
7290
+ type PlayerDanmakuBlockcolorful = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlockcolorful'> & {
7291
+ /**
7292
+ * @generated from field: bool value = 1;
7293
+ */
7294
+ value: boolean;
7295
+ };
7296
+ /**
7297
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlockcolorful.
7298
+ * Use `create(PlayerDanmakuBlockcolorfulSchema)` to create a new message.
7299
+ */
7300
+ declare const PlayerDanmakuBlockcolorfulSchema: GenMessage<PlayerDanmakuBlockcolorful>;
7301
+ /**
7302
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlockrepeat
7303
+ */
7304
+ type PlayerDanmakuBlockrepeat = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlockrepeat'> & {
7305
+ /**
7306
+ * @generated from field: bool value = 1;
7307
+ */
7308
+ value: boolean;
7309
+ };
7310
+ /**
7311
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlockrepeat.
7312
+ * Use `create(PlayerDanmakuBlockrepeatSchema)` to create a new message.
7313
+ */
7314
+ declare const PlayerDanmakuBlockrepeatSchema: GenMessage<PlayerDanmakuBlockrepeat>;
7315
+ /**
7316
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlockscroll
7317
+ */
7318
+ type PlayerDanmakuBlockscroll = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlockscroll'> & {
7319
+ /**
7320
+ * @generated from field: bool value = 1;
7321
+ */
7322
+ value: boolean;
7323
+ };
7324
+ /**
7325
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlockscroll.
7326
+ * Use `create(PlayerDanmakuBlockscrollSchema)` to create a new message.
7327
+ */
7328
+ declare const PlayerDanmakuBlockscrollSchema: GenMessage<PlayerDanmakuBlockscroll>;
7329
+ /**
7330
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlockspecial
7331
+ */
7332
+ type PlayerDanmakuBlockspecial = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlockspecial'> & {
7333
+ /**
7334
+ * @generated from field: bool value = 1;
7335
+ */
7336
+ value: boolean;
7337
+ };
7338
+ /**
7339
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlockspecial.
7340
+ * Use `create(PlayerDanmakuBlockspecialSchema)` to create a new message.
7341
+ */
7342
+ declare const PlayerDanmakuBlockspecialSchema: GenMessage<PlayerDanmakuBlockspecial>;
7343
+ /**
7344
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuBlocktop
7345
+ */
7346
+ type PlayerDanmakuBlocktop = Message<'bilibili.community.service.dm.v1.PlayerDanmakuBlocktop'> & {
7347
+ /**
7348
+ * @generated from field: bool value = 1;
7349
+ */
7350
+ value: boolean;
7351
+ };
7352
+ /**
7353
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuBlocktop.
7354
+ * Use `create(PlayerDanmakuBlocktopSchema)` to create a new message.
7355
+ */
7356
+ declare const PlayerDanmakuBlocktopSchema: GenMessage<PlayerDanmakuBlocktop>;
7357
+ /**
7358
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuDomain
7359
+ */
7360
+ type PlayerDanmakuDomain = Message<'bilibili.community.service.dm.v1.PlayerDanmakuDomain'> & {
7361
+ /**
7362
+ * @generated from field: float value = 1;
7363
+ */
7364
+ value: number;
7365
+ };
7366
+ /**
7367
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuDomain.
7368
+ * Use `create(PlayerDanmakuDomainSchema)` to create a new message.
7369
+ */
7370
+ declare const PlayerDanmakuDomainSchema: GenMessage<PlayerDanmakuDomain>;
7371
+ /**
7372
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuEnableblocklist
7373
+ */
7374
+ type PlayerDanmakuEnableblocklist = Message<'bilibili.community.service.dm.v1.PlayerDanmakuEnableblocklist'> & {
7375
+ /**
7376
+ * @generated from field: bool value = 1;
7377
+ */
7378
+ value: boolean;
7379
+ };
7380
+ /**
7381
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuEnableblocklist.
7382
+ * Use `create(PlayerDanmakuEnableblocklistSchema)` to create a new message.
7383
+ */
7384
+ declare const PlayerDanmakuEnableblocklistSchema: GenMessage<PlayerDanmakuEnableblocklist>;
7385
+ /**
7386
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuOpacity
7387
+ */
7388
+ type PlayerDanmakuOpacity = Message<'bilibili.community.service.dm.v1.PlayerDanmakuOpacity'> & {
7389
+ /**
7390
+ * @generated from field: float value = 1;
7391
+ */
7392
+ value: number;
7393
+ };
7394
+ /**
7395
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuOpacity.
7396
+ * Use `create(PlayerDanmakuOpacitySchema)` to create a new message.
7397
+ */
7398
+ declare const PlayerDanmakuOpacitySchema: GenMessage<PlayerDanmakuOpacity>;
7399
+ /**
7400
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuScalingfactor
7401
+ */
7402
+ type PlayerDanmakuScalingfactor = Message<'bilibili.community.service.dm.v1.PlayerDanmakuScalingfactor'> & {
7403
+ /**
7404
+ * @generated from field: float value = 1;
7405
+ */
7406
+ value: number;
7407
+ };
7408
+ /**
7409
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuScalingfactor.
7410
+ * Use `create(PlayerDanmakuScalingfactorSchema)` to create a new message.
7411
+ */
7412
+ declare const PlayerDanmakuScalingfactorSchema: GenMessage<PlayerDanmakuScalingfactor>;
7413
+ /**
7414
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuSeniorModeSwitch
7415
+ */
7416
+ type PlayerDanmakuSeniorModeSwitch = Message<'bilibili.community.service.dm.v1.PlayerDanmakuSeniorModeSwitch'> & {
7417
+ /**
7418
+ * @generated from field: int32 value = 1;
7419
+ */
7420
+ value: number;
7421
+ };
7422
+ /**
7423
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuSeniorModeSwitch.
7424
+ * Use `create(PlayerDanmakuSeniorModeSwitchSchema)` to create a new message.
7425
+ */
7426
+ declare const PlayerDanmakuSeniorModeSwitchSchema: GenMessage<PlayerDanmakuSeniorModeSwitch>;
7427
+ /**
7428
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuSpeed
7429
+ */
7430
+ type PlayerDanmakuSpeed = Message<'bilibili.community.service.dm.v1.PlayerDanmakuSpeed'> & {
7431
+ /**
7432
+ * @generated from field: int32 value = 1;
7433
+ */
7434
+ value: number;
7435
+ };
7436
+ /**
7437
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuSpeed.
7438
+ * Use `create(PlayerDanmakuSpeedSchema)` to create a new message.
7439
+ */
7440
+ declare const PlayerDanmakuSpeedSchema: GenMessage<PlayerDanmakuSpeed>;
7441
+ /**
7442
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuSwitch
7443
+ */
7444
+ type PlayerDanmakuSwitch = Message<'bilibili.community.service.dm.v1.PlayerDanmakuSwitch'> & {
7445
+ /**
7446
+ * @generated from field: bool value = 1;
7447
+ */
7448
+ value: boolean;
7449
+ /**
7450
+ * @generated from field: bool can_ignore = 2;
7451
+ */
7452
+ canIgnore: boolean;
7453
+ };
7454
+ /**
7455
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuSwitch.
7456
+ * Use `create(PlayerDanmakuSwitchSchema)` to create a new message.
7457
+ */
7458
+ declare const PlayerDanmakuSwitchSchema: GenMessage<PlayerDanmakuSwitch>;
7459
+ /**
7460
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuSwitchSave
7461
+ */
7462
+ type PlayerDanmakuSwitchSave = Message<'bilibili.community.service.dm.v1.PlayerDanmakuSwitchSave'> & {
7463
+ /**
7464
+ * @generated from field: bool value = 1;
7465
+ */
7466
+ value: boolean;
7467
+ };
7468
+ /**
7469
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuSwitchSave.
7470
+ * Use `create(PlayerDanmakuSwitchSaveSchema)` to create a new message.
7471
+ */
7472
+ declare const PlayerDanmakuSwitchSaveSchema: GenMessage<PlayerDanmakuSwitchSave>;
7473
+ /**
7474
+ * @generated from message bilibili.community.service.dm.v1.PlayerDanmakuUseDefaultConfig
7475
+ */
7476
+ type PlayerDanmakuUseDefaultConfig = Message<'bilibili.community.service.dm.v1.PlayerDanmakuUseDefaultConfig'> & {
7477
+ /**
7478
+ * @generated from field: bool value = 1;
7479
+ */
7480
+ value: boolean;
7481
+ };
7482
+ /**
7483
+ * Describes the message bilibili.community.service.dm.v1.PlayerDanmakuUseDefaultConfig.
7484
+ * Use `create(PlayerDanmakuUseDefaultConfigSchema)` to create a new message.
7485
+ */
7486
+ declare const PlayerDanmakuUseDefaultConfigSchema: GenMessage<PlayerDanmakuUseDefaultConfig>;
7487
+ /**
7488
+ *
7489
+ *
7490
+ * @generated from message bilibili.community.service.dm.v1.PostPanel
7491
+ */
7492
+ type PostPanel = Message<'bilibili.community.service.dm.v1.PostPanel'> & {
7493
+ /**
7494
+ *
7495
+ *
7496
+ * @generated from field: int64 start = 1;
7497
+ */
7498
+ start: bigint;
7499
+ /**
7500
+ *
7501
+ *
7502
+ * @generated from field: int64 end = 2;
7503
+ */
7504
+ end: bigint;
7505
+ /**
7506
+ *
7507
+ *
7508
+ * @generated from field: int64 priority = 3;
7509
+ */
7510
+ priority: bigint;
7511
+ /**
7512
+ *
7513
+ *
7514
+ * @generated from field: int64 biz_id = 4;
7515
+ */
7516
+ bizId: bigint;
7517
+ /**
7518
+ *
7519
+ *
7520
+ * @generated from field: bilibili.community.service.dm.v1.PostPanelBizType biz_type = 5;
7521
+ */
7522
+ bizType: PostPanelBizType;
7523
+ /**
7524
+ *
7525
+ *
7526
+ * @generated from field: bilibili.community.service.dm.v1.ClickButton click_button = 6;
7527
+ */
7528
+ clickButton?: ClickButton | undefined;
7529
+ /**
7530
+ *
7531
+ *
7532
+ * @generated from field: bilibili.community.service.dm.v1.TextInput text_input = 7;
7533
+ */
7534
+ textInput?: TextInput | undefined;
7535
+ /**
7536
+ *
7537
+ *
7538
+ * @generated from field: bilibili.community.service.dm.v1.CheckBox check_box = 8;
7539
+ */
7540
+ checkBox?: CheckBox | undefined;
7541
+ /**
7542
+ *
7543
+ *
7544
+ * @generated from field: bilibili.community.service.dm.v1.Toast toast = 9;
7545
+ */
7546
+ toast?: Toast | undefined;
7547
+ };
7548
+ /**
7549
+ * Describes the message bilibili.community.service.dm.v1.PostPanel.
7550
+ * Use `create(PostPanelSchema)` to create a new message.
7551
+ */
7552
+ declare const PostPanelSchema: GenMessage<PostPanel>;
7553
+ /**
7554
+ *
7555
+ *
7556
+ * @generated from message bilibili.community.service.dm.v1.PostPanelV2
7557
+ */
7558
+ type PostPanelV2 = Message<'bilibili.community.service.dm.v1.PostPanelV2'> & {
7559
+ /**
7560
+ *
7561
+ *
7562
+ * @generated from field: int64 start = 1;
7563
+ */
7564
+ start: bigint;
7565
+ /**
7566
+ *
7567
+ *
7568
+ * @generated from field: int64 end = 2;
7569
+ */
7570
+ end: bigint;
7571
+ /**
7572
+ *
7573
+ *
7574
+ * @generated from field: int32 biz_type = 3;
7575
+ */
7576
+ bizType: number;
7577
+ /**
7578
+ *
7579
+ *
7580
+ * @generated from field: bilibili.community.service.dm.v1.ClickButtonV2 click_button = 4;
7581
+ */
7582
+ clickButton?: ClickButtonV2 | undefined;
7583
+ /**
7584
+ *
7585
+ *
7586
+ * @generated from field: bilibili.community.service.dm.v1.TextInputV2 text_input = 5;
7587
+ */
7588
+ textInput?: TextInputV2 | undefined;
7589
+ /**
7590
+ *
7591
+ *
7592
+ * @generated from field: bilibili.community.service.dm.v1.CheckBoxV2 check_box = 6;
7593
+ */
7594
+ checkBox?: CheckBoxV2 | undefined;
7595
+ /**
7596
+ *
7597
+ *
7598
+ * @generated from field: bilibili.community.service.dm.v1.ToastV2 toast = 7;
7599
+ */
7600
+ toast?: ToastV2 | undefined;
7601
+ /**
7602
+ *
7603
+ *
7604
+ * @generated from field: bilibili.community.service.dm.v1.BubbleV2 bubble = 8;
7605
+ */
7606
+ bubble?: BubbleV2 | undefined;
7607
+ /**
7608
+ *
7609
+ *
7610
+ * @generated from field: bilibili.community.service.dm.v1.LabelV2 label = 9;
7611
+ */
7612
+ label?: LabelV2 | undefined;
7613
+ /**
7614
+ *
7615
+ *
7616
+ * @generated from field: int32 post_status = 10;
7617
+ */
7618
+ postStatus: number;
7619
+ };
7620
+ /**
7621
+ * Describes the message bilibili.community.service.dm.v1.PostPanelV2.
7622
+ * Use `create(PostPanelV2Schema)` to create a new message.
7623
+ */
7624
+ declare const PostPanelV2Schema: GenMessage<PostPanelV2>;
7625
+ /**
7626
+ * 修改弹幕配置-响应
7627
+ *
7628
+ * @generated from message bilibili.community.service.dm.v1.Response
7629
+ */
7630
+ type Response$1 = Message<'bilibili.community.service.dm.v1.Response'> & {
7631
+ /**
7632
+ *
7633
+ *
7634
+ * @generated from field: int32 code = 1;
7635
+ */
7636
+ code: number;
7637
+ /**
7638
+ *
7639
+ *
7640
+ * @generated from field: string message = 2;
7641
+ */
7642
+ message: string;
7643
+ };
7644
+ /**
7645
+ * Describes the message bilibili.community.service.dm.v1.Response.
7646
+ * Use `create(ResponseSchema)` to create a new message.
7647
+ */
7648
+ declare const ResponseSchema: GenMessage<Response$1>;
7649
+ /**
7650
+ * 单个字幕信息
7651
+ *
7652
+ * @generated from message bilibili.community.service.dm.v1.SubtitleItem
7653
+ */
7654
+ type SubtitleItem = Message<'bilibili.community.service.dm.v1.SubtitleItem'> & {
7655
+ /**
7656
+ * 字幕id
7657
+ *
7658
+ * @generated from field: int64 id = 1;
7659
+ */
7660
+ id: bigint;
7661
+ /**
7662
+ * 字幕id str
7663
+ *
7664
+ * @generated from field: string id_str = 2;
7665
+ */
7666
+ idStr: string;
7667
+ /**
7668
+ * 字幕语言代码
7669
+ *
7670
+ * @generated from field: string lan = 3;
7671
+ */
7672
+ lan: string;
7673
+ /**
7674
+ * 字幕语言
7675
+ *
7676
+ * @generated from field: string lan_doc = 4;
7677
+ */
7678
+ lanDoc: string;
7679
+ /**
7680
+ * 字幕文件url
7681
+ *
7682
+ * @generated from field: string subtitle_url = 5;
7683
+ */
7684
+ subtitleUrl: string;
7685
+ /**
7686
+ * 字幕作者信息
7687
+ *
7688
+ * @generated from field: bilibili.community.service.dm.v1.UserInfo author = 6;
7689
+ */
7690
+ author?: DMUserInfo | undefined;
7691
+ /**
7692
+ * 字幕类型
7693
+ *
7694
+ * @generated from field: bilibili.community.service.dm.v1.SubtitleType type = 7;
7695
+ */
7696
+ type: SubtitleType;
7697
+ /**
7698
+ *
7699
+ *
7700
+ * @generated from field: string lan_doc_brief = 8;
7701
+ */
7702
+ lanDocBrief: string;
7703
+ /**
7704
+ *
7705
+ *
7706
+ * @generated from field: bilibili.community.service.dm.v1.SubtitleAiType ai_type = 9;
7707
+ */
7708
+ aiType: SubtitleAiType;
7709
+ /**
7710
+ *
7711
+ *
7712
+ * @generated from field: bilibili.community.service.dm.v1.SubtitleAiStatus ai_status = 10;
7713
+ */
7714
+ aiStatus: SubtitleAiStatus;
7715
+ };
7716
+ /**
7717
+ * Describes the message bilibili.community.service.dm.v1.SubtitleItem.
7718
+ * Use `create(SubtitleItemSchema)` to create a new message.
7719
+ */
7720
+ declare const SubtitleItemSchema: GenMessage<SubtitleItem>;
7721
+ /**
7722
+ *
7723
+ *
7724
+ * @generated from message bilibili.community.service.dm.v1.TextInput
7725
+ */
7726
+ type TextInput = Message<'bilibili.community.service.dm.v1.TextInput'> & {
7727
+ /**
7728
+ *
7729
+ *
7730
+ * @generated from field: repeated string portrait_placeholder = 1;
7731
+ */
7732
+ portraitPlaceholder: string[];
7733
+ /**
7734
+ *
7735
+ *
7736
+ * @generated from field: repeated string landscape_placeholder = 2;
7737
+ */
7738
+ landscapePlaceholder: string[];
7739
+ /**
7740
+ *
7741
+ *
7742
+ * @generated from field: bilibili.community.service.dm.v1.RenderType render_type = 3;
7743
+ */
7744
+ renderType: RenderType;
7745
+ /**
7746
+ *
7747
+ *
7748
+ * @generated from field: bool placeholder_post = 4;
7749
+ */
7750
+ placeholderPost: boolean;
7751
+ /**
7752
+ *
7753
+ *
7754
+ * @generated from field: bool show = 5;
7755
+ */
7756
+ show: boolean;
7757
+ /**
7758
+ *
7759
+ *
7760
+ * @generated from field: repeated bilibili.community.service.dm.v1.Avatar avatar = 6;
7761
+ */
7762
+ avatar: Avatar[];
7763
+ /**
7764
+ *
7765
+ *
7766
+ * @generated from field: bilibili.community.service.dm.v1.PostStatus post_status = 7;
7767
+ */
7768
+ postStatus: PostStatus;
7769
+ /**
7770
+ *
7771
+ *
7772
+ * @generated from field: bilibili.community.service.dm.v1.Label label = 8;
7773
+ */
7774
+ label?: Label | undefined;
7775
+ };
7776
+ /**
7777
+ * Describes the message bilibili.community.service.dm.v1.TextInput.
7778
+ * Use `create(TextInputSchema)` to create a new message.
7779
+ */
7780
+ declare const TextInputSchema: GenMessage<TextInput>;
7781
+ /**
7782
+ *
7783
+ *
7784
+ * @generated from message bilibili.community.service.dm.v1.TextInputV2
7785
+ */
7786
+ type TextInputV2 = Message<'bilibili.community.service.dm.v1.TextInputV2'> & {
7787
+ /**
7788
+ *
7789
+ *
7790
+ * @generated from field: repeated string portrait_placeholder = 1;
7791
+ */
7792
+ portraitPlaceholder: string[];
7793
+ /**
7794
+ *
7795
+ *
7796
+ * @generated from field: repeated string landscape_placeholder = 2;
7797
+ */
7798
+ landscapePlaceholder: string[];
7799
+ /**
7800
+ *
7801
+ *
7802
+ * @generated from field: bilibili.community.service.dm.v1.RenderType render_type = 3;
7803
+ */
7804
+ renderType: RenderType;
7805
+ /**
7806
+ *
7807
+ *
7808
+ * @generated from field: bool placeholder_post = 4;
7809
+ */
7810
+ placeholderPost: boolean;
7811
+ /**
7812
+ *
7813
+ *
7814
+ * @generated from field: repeated bilibili.community.service.dm.v1.Avatar avatar = 5;
7815
+ */
7816
+ avatar: Avatar[];
7817
+ /**
7818
+ *
7819
+ *
7820
+ * @generated from field: int32 text_input_limit = 6;
7821
+ */
7822
+ textInputLimit: number;
7823
+ };
7824
+ /**
7825
+ * Describes the message bilibili.community.service.dm.v1.TextInputV2.
7826
+ * Use `create(TextInputV2Schema)` to create a new message.
7827
+ */
7828
+ declare const TextInputV2Schema: GenMessage<TextInputV2>;
7829
+ /**
7830
+ *
7831
+ *
7832
+ * @generated from message bilibili.community.service.dm.v1.Toast
7833
+ */
7834
+ type Toast = Message<'bilibili.community.service.dm.v1.Toast'> & {
7835
+ /**
7836
+ *
7837
+ *
7838
+ * @generated from field: string text = 1;
7839
+ */
7840
+ text: string;
7841
+ /**
7842
+ *
7843
+ *
7844
+ * @generated from field: int32 duration = 2;
7845
+ */
7846
+ duration: number;
7847
+ /**
7848
+ *
7849
+ *
7850
+ * @generated from field: bool show = 3;
7851
+ */
7852
+ show: boolean;
7853
+ /**
7854
+ *
7855
+ *
7856
+ * @generated from field: bilibili.community.service.dm.v1.Button button = 4;
7857
+ */
7858
+ button?: Button | undefined;
7859
+ };
7860
+ /**
7861
+ * Describes the message bilibili.community.service.dm.v1.Toast.
7862
+ * Use `create(ToastSchema)` to create a new message.
7863
+ */
7864
+ declare const ToastSchema: GenMessage<Toast>;
7865
+ /**
7866
+ *
7867
+ *
7868
+ * @generated from message bilibili.community.service.dm.v1.ToastButtonV2
7869
+ */
7870
+ type ToastButtonV2 = Message<'bilibili.community.service.dm.v1.ToastButtonV2'> & {
7871
+ /**
7872
+ *
7873
+ *
7874
+ * @generated from field: string text = 1;
7875
+ */
7876
+ text: string;
7877
+ /**
7878
+ *
7879
+ *
7880
+ * @generated from field: int32 action = 2;
7881
+ */
7882
+ action: number;
7883
+ };
7884
+ /**
7885
+ * Describes the message bilibili.community.service.dm.v1.ToastButtonV2.
7886
+ * Use `create(ToastButtonV2Schema)` to create a new message.
7887
+ */
7888
+ declare const ToastButtonV2Schema: GenMessage<ToastButtonV2>;
7889
+ /**
7890
+ *
7891
+ *
7892
+ * @generated from message bilibili.community.service.dm.v1.ToastV2
7893
+ */
7894
+ type ToastV2 = Message<'bilibili.community.service.dm.v1.ToastV2'> & {
7895
+ /**
7896
+ *
7897
+ *
7898
+ * @generated from field: string text = 1;
7899
+ */
7900
+ text: string;
7901
+ /**
7902
+ *
7903
+ *
7904
+ * @generated from field: int32 duration = 2;
7905
+ */
7906
+ duration: number;
7907
+ /**
7908
+ *
7909
+ *
7910
+ * @generated from field: bilibili.community.service.dm.v1.ToastButtonV2 toast_button_v2 = 3;
7911
+ */
7912
+ toastButtonV2?: ToastButtonV2 | undefined;
7913
+ };
7914
+ /**
7915
+ * Describes the message bilibili.community.service.dm.v1.ToastV2.
7916
+ * Use `create(ToastV2Schema)` to create a new message.
7917
+ */
7918
+ declare const ToastV2Schema: GenMessage<ToastV2>;
7919
+ /**
7920
+ * 字幕作者信息
7921
+ *
7922
+ * @generated from message bilibili.community.service.dm.v1.UserInfo
7923
+ */
7924
+ type DMUserInfo = Message<'bilibili.community.service.dm.v1.UserInfo'> & {
7925
+ /**
7926
+ * 用户mid
7927
+ *
7928
+ * @generated from field: int64 mid = 1;
7929
+ */
7930
+ mid: bigint;
7931
+ /**
7932
+ * 用户昵称
7933
+ *
7934
+ * @generated from field: string name = 2;
7935
+ */
7936
+ name: string;
7937
+ /**
7938
+ * 用户性别
7939
+ *
7940
+ * @generated from field: string sex = 3;
7941
+ */
7942
+ sex: string;
7943
+ /**
7944
+ * 用户头像url
7945
+ *
7946
+ * @generated from field: string face = 4;
7947
+ */
7948
+ face: string;
7949
+ /**
7950
+ * 用户签名
7951
+ *
7952
+ * @generated from field: string sign = 5;
7953
+ */
7954
+ sign: string;
7955
+ /**
7956
+ * 用户等级
7957
+ *
7958
+ * @generated from field: int32 rank = 6;
7959
+ */
7960
+ rank: number;
7961
+ };
7962
+ /**
7963
+ * Describes the message bilibili.community.service.dm.v1.UserInfo.
7964
+ * Use `create(UserInfoSchema)` to create a new message.
7965
+ */
7966
+ declare const UserInfoSchema: GenMessage<DMUserInfo>;
7967
+ /**
7968
+ * 智能防挡弹幕蒙版信息
7969
+ *
7970
+ * @generated from message bilibili.community.service.dm.v1.VideoMask
7971
+ */
7972
+ type VideoMask = Message<'bilibili.community.service.dm.v1.VideoMask'> & {
7973
+ /**
7974
+ * 视频cid
7975
+ *
7976
+ * @generated from field: int64 cid = 1;
7977
+ */
7978
+ cid: bigint;
7979
+ /**
7980
+ * 平台
7981
+ * 0:web端 1:客户端
7982
+ *
7983
+ * @generated from field: int32 plat = 2;
7984
+ */
7985
+ plat: number;
7986
+ /**
7987
+ * 帧率
7988
+ *
7989
+ * @generated from field: int32 fps = 3;
7990
+ */
7991
+ fps: number;
7992
+ /**
7993
+ * 间隔时间
7994
+ *
7995
+ * @generated from field: int64 time = 4;
7996
+ */
7997
+ time: bigint;
7998
+ /**
7999
+ * 蒙版url
8000
+ *
8001
+ * @generated from field: string mask_url = 5;
8002
+ */
8003
+ maskUrl: string;
8004
+ };
8005
+ /**
8006
+ * Describes the message bilibili.community.service.dm.v1.VideoMask.
8007
+ * Use `create(VideoMaskSchema)` to create a new message.
8008
+ */
8009
+ declare const VideoMaskSchema: GenMessage<VideoMask>;
8010
+ /**
8011
+ * 视频字幕信息
8012
+ *
8013
+ * @generated from message bilibili.community.service.dm.v1.VideoSubtitle
8014
+ */
8015
+ type DMVideoSubtitle = Message<'bilibili.community.service.dm.v1.VideoSubtitle'> & {
8016
+ /**
8017
+ * 视频原语言代码
8018
+ *
8019
+ * @generated from field: string lan = 1;
8020
+ */
8021
+ lan: string;
8022
+ /**
8023
+ * 视频原语言
8024
+ *
8025
+ * @generated from field: string lanDoc = 2;
8026
+ */
8027
+ lanDoc: string;
8028
+ /**
8029
+ * 视频字幕列表
8030
+ *
8031
+ * @generated from field: repeated bilibili.community.service.dm.v1.SubtitleItem subtitles = 3;
8032
+ */
8033
+ subtitles: SubtitleItem[];
8034
+ };
8035
+ /**
8036
+ * Describes the message bilibili.community.service.dm.v1.VideoSubtitle.
8037
+ * Use `create(VideoSubtitleSchema)` to create a new message.
8038
+ */
8039
+ declare const VideoSubtitleSchema: GenMessage<DMVideoSubtitle>;
8040
+ /**
8041
+ *
8042
+ *
8043
+ * @generated from enum bilibili.community.service.dm.v1.AvatarType
8044
+ */
8045
+ declare enum AvatarType {
8046
+ /**
8047
+ *
8048
+ *
8049
+ * @generated from enum value: AvatarTypeNone = 0;
8050
+ */
8051
+ AvatarTypeNone = 0,
8052
+ /**
8053
+ *
8054
+ *
8055
+ * @generated from enum value: AvatarTypeNFT = 1;
8056
+ */
8057
+ AvatarTypeNFT = 1
8058
+ }
8059
+ /**
8060
+ * Describes the enum bilibili.community.service.dm.v1.AvatarType.
8061
+ */
8062
+ declare const AvatarTypeSchema: GenEnum<AvatarType>;
8063
+ /**
8064
+ *
8065
+ *
8066
+ * @generated from enum bilibili.community.service.dm.v1.BubbleType
8067
+ */
8068
+ declare enum BubbleType {
8069
+ /**
8070
+ *
8071
+ *
8072
+ * @generated from enum value: BubbleTypeNone = 0;
8073
+ */
8074
+ BubbleTypeNone = 0,
8075
+ /**
8076
+ *
8077
+ *
8078
+ * @generated from enum value: BubbleTypeClickButton = 1;
8079
+ */
8080
+ BubbleTypeClickButton = 1,
8081
+ /**
8082
+ *
8083
+ *
8084
+ * @generated from enum value: BubbleTypeDmSettingPanel = 2;
8085
+ */
8086
+ BubbleTypeDmSettingPanel = 2
8087
+ }
8088
+ /**
8089
+ * Describes the enum bilibili.community.service.dm.v1.BubbleType.
8090
+ */
8091
+ declare const BubbleTypeSchema: GenEnum<BubbleType>;
8092
+ /**
8093
+ *
8094
+ *
8095
+ * @generated from enum bilibili.community.service.dm.v1.CheckboxType
8096
+ */
8097
+ declare enum CheckboxType {
8098
+ /**
8099
+ *
8100
+ *
8101
+ * @generated from enum value: CheckboxTypeNone = 0;
8102
+ */
8103
+ CheckboxTypeNone = 0,
8104
+ /**
8105
+ *
8106
+ *
8107
+ * @generated from enum value: CheckboxTypeEncourage = 1;
8108
+ */
8109
+ CheckboxTypeEncourage = 1,
8110
+ /**
8111
+ *
8112
+ *
8113
+ * @generated from enum value: CheckboxTypeColorDM = 2;
8114
+ */
8115
+ CheckboxTypeColorDM = 2
8116
+ }
8117
+ /**
8118
+ * Describes the enum bilibili.community.service.dm.v1.CheckboxType.
8119
+ */
8120
+ declare const CheckboxTypeSchema: GenEnum<CheckboxType>;
8121
+ /**
8122
+ * 弹幕属性位值
8123
+ *
8124
+ * @generated from enum bilibili.community.service.dm.v1.DMAttrBit
8125
+ */
8126
+ declare enum DMAttrBit {
8127
+ /**
8128
+ * 保护弹幕
8129
+ *
8130
+ * @generated from enum value: DMAttrBitProtect = 0;
8131
+ */
8132
+ DMAttrBitProtect = 0,
8133
+ /**
8134
+ * 直播弹幕
8135
+ *
8136
+ * @generated from enum value: DMAttrBitFromLive = 1;
8137
+ */
8138
+ DMAttrBitFromLive = 1,
8139
+ /**
8140
+ * 高赞弹幕
8141
+ *
8142
+ * @generated from enum value: DMAttrHighLike = 2;
8143
+ */
8144
+ DMAttrHighLike = 2
8145
+ }
8146
+ /**
8147
+ * Describes the enum bilibili.community.service.dm.v1.DMAttrBit.
8148
+ */
8149
+ declare const DMAttrBitSchema: GenEnum<DMAttrBit>;
8150
+ /**
8151
+ * @generated from enum bilibili.community.service.dm.v1.DmColorfulType
8152
+ */
8153
+ declare enum DmColorfulType {
8154
+ /**
8155
+ * 无
8156
+ *
8157
+ * @generated from enum value: NoneType = 0;
8158
+ */
8159
+ NoneType = 0,
8160
+ /**
8161
+ * 渐变色
8162
+ *
8163
+ * @generated from enum value: VipGradualColor = 60001;
8164
+ */
8165
+ VipGradualColor = 60001
8166
+ }
8167
+ /**
8168
+ * Describes the enum bilibili.community.service.dm.v1.DmColorfulType.
8169
+ */
8170
+ declare const DmColorfulTypeSchema: GenEnum<DmColorfulType>;
8171
+ /**
8172
+ *
8173
+ *
8174
+ * @generated from enum bilibili.community.service.dm.v1.ExposureType
8175
+ */
8176
+ declare enum ExposureType {
8177
+ /**
8178
+ *
8179
+ *
8180
+ * @generated from enum value: ExposureTypeNone = 0;
8181
+ */
8182
+ ExposureTypeNone = 0,
8183
+ /**
8184
+ *
8185
+ *
8186
+ * @generated from enum value: ExposureTypeDMSend = 1;
8187
+ */
8188
+ ExposureTypeDMSend = 1
8189
+ }
8190
+ /**
8191
+ * Describes the enum bilibili.community.service.dm.v1.ExposureType.
8192
+ */
8193
+ declare const ExposureTypeSchema: GenEnum<ExposureType>;
8194
+ /**
8195
+ *
8196
+ *
8197
+ * @generated from enum bilibili.community.service.dm.v1.PostPanelBizType
8198
+ */
8199
+ declare enum PostPanelBizType {
8200
+ /**
8201
+ *
8202
+ *
8203
+ * @generated from enum value: PostPanelBizTypeNone = 0;
8204
+ */
8205
+ PostPanelBizTypeNone = 0,
8206
+ /**
8207
+ *
8208
+ *
8209
+ * @generated from enum value: PostPanelBizTypeEncourage = 1;
8210
+ */
8211
+ PostPanelBizTypeEncourage = 1,
8212
+ /**
8213
+ *
8214
+ *
8215
+ * @generated from enum value: PostPanelBizTypeColorDM = 2;
8216
+ */
8217
+ PostPanelBizTypeColorDM = 2,
8218
+ /**
8219
+ *
8220
+ *
8221
+ * @generated from enum value: PostPanelBizTypeNFTDM = 3;
8222
+ */
8223
+ PostPanelBizTypeNFTDM = 3,
8224
+ /**
8225
+ *
8226
+ *
8227
+ * @generated from enum value: PostPanelBizTypeFragClose = 4;
8228
+ */
8229
+ PostPanelBizTypeFragClose = 4,
8230
+ /**
8231
+ *
8232
+ *
8233
+ * @generated from enum value: PostPanelBizTypeRecommend = 5;
8234
+ */
8235
+ PostPanelBizTypeRecommend = 5
8236
+ }
8237
+ /**
8238
+ * Describes the enum bilibili.community.service.dm.v1.PostPanelBizType.
8239
+ */
8240
+ declare const PostPanelBizTypeSchema: GenEnum<PostPanelBizType>;
8241
+ /**
8242
+ *
8243
+ *
8244
+ * @generated from enum bilibili.community.service.dm.v1.PostStatus
8245
+ */
8246
+ declare enum PostStatus {
8247
+ /**
8248
+ *
8249
+ *
8250
+ * @generated from enum value: PostStatusNormal = 0;
8251
+ */
8252
+ PostStatusNormal = 0,
8253
+ /**
8254
+ *
8255
+ *
8256
+ * @generated from enum value: PostStatusClosed = 1;
8257
+ */
8258
+ PostStatusClosed = 1
8259
+ }
8260
+ /**
8261
+ * Describes the enum bilibili.community.service.dm.v1.PostStatus.
8262
+ */
8263
+ declare const PostStatusSchema: GenEnum<PostStatus>;
8264
+ /**
8265
+ *
8266
+ *
8267
+ * @generated from enum bilibili.community.service.dm.v1.RenderType
8268
+ */
8269
+ declare enum RenderType {
8270
+ /**
8271
+ *
8272
+ *
8273
+ * @generated from enum value: RenderTypeNone = 0;
8274
+ */
8275
+ RenderTypeNone = 0,
8276
+ /**
8277
+ *
8278
+ *
8279
+ * @generated from enum value: RenderTypeSingle = 1;
8280
+ */
8281
+ RenderTypeSingle = 1,
8282
+ /**
8283
+ *
8284
+ *
8285
+ * @generated from enum value: RenderTypeRotation = 2;
8286
+ */
8287
+ RenderTypeRotation = 2
8288
+ }
8289
+ /**
8290
+ * Describes the enum bilibili.community.service.dm.v1.RenderType.
8291
+ */
8292
+ declare const RenderTypeSchema: GenEnum<RenderType>;
8293
+ /**
8294
+ *
8295
+ *
8296
+ * @generated from enum bilibili.community.service.dm.v1.SubtitleAiStatus
8297
+ */
8298
+ declare enum SubtitleAiStatus {
8299
+ /**
8300
+ *
8301
+ *
8302
+ * @generated from enum value: None = 0;
8303
+ */
8304
+ None = 0,
8305
+ /**
8306
+ *
8307
+ *
8308
+ * @generated from enum value: Exposure = 1;
8309
+ */
8310
+ Exposure = 1,
8311
+ /**
8312
+ *
8313
+ *
8314
+ * @generated from enum value: Assist = 2;
8315
+ */
8316
+ Assist = 2
8317
+ }
8318
+ /**
8319
+ * Describes the enum bilibili.community.service.dm.v1.SubtitleAiStatus.
8320
+ */
8321
+ declare const SubtitleAiStatusSchema: GenEnum<SubtitleAiStatus>;
8322
+ /**
8323
+ *
8324
+ *
8325
+ * @generated from enum bilibili.community.service.dm.v1.SubtitleAiType
8326
+ */
8327
+ declare enum SubtitleAiType {
8328
+ /**
8329
+ *
8330
+ *
8331
+ * @generated from enum value: Normal = 0;
8332
+ */
8333
+ Normal = 0,
8334
+ /**
8335
+ *
8336
+ *
8337
+ * @generated from enum value: Translate = 1;
8338
+ */
8339
+ Translate = 1
8340
+ }
8341
+ /**
8342
+ * Describes the enum bilibili.community.service.dm.v1.SubtitleAiType.
8343
+ */
8344
+ declare const SubtitleAiTypeSchema: GenEnum<SubtitleAiType>;
8345
+ /**
8346
+ * @generated from enum bilibili.community.service.dm.v1.SubtitleType
8347
+ */
8348
+ declare enum SubtitleType {
8349
+ /**
8350
+ * CC字幕
8351
+ *
8352
+ * @generated from enum value: CC = 0;
8353
+ */
8354
+ CC = 0,
8355
+ /**
8356
+ * AI生成字幕
8357
+ *
8358
+ * @generated from enum value: AI = 1;
8359
+ */
8360
+ AI = 1
8361
+ }
8362
+ /**
8363
+ * Describes the enum bilibili.community.service.dm.v1.SubtitleType.
8364
+ */
8365
+ declare const SubtitleTypeSchema: GenEnum<SubtitleType>;
8366
+ /**
8367
+ *
8368
+ *
8369
+ * @generated from enum bilibili.community.service.dm.v1.ToastFunctionType
8370
+ */
8371
+ declare enum ToastFunctionType {
8372
+ /**
8373
+ *
8374
+ *
8375
+ * @generated from enum value: ToastFunctionTypeNone = 0;
8376
+ */
8377
+ ToastFunctionTypeNone = 0,
8378
+ /**
8379
+ *
8380
+ *
8381
+ * @generated from enum value: ToastFunctionTypePostPanel = 1;
8382
+ */
8383
+ ToastFunctionTypePostPanel = 1
8384
+ }
8385
+ /**
8386
+ * Describes the enum bilibili.community.service.dm.v1.ToastFunctionType.
8387
+ */
8388
+ declare const ToastFunctionTypeSchema: GenEnum<ToastFunctionType>;
8389
+ /**
8390
+ * 弹幕
8391
+ *
8392
+ * @generated from service bilibili.community.service.dm.v1.DM
8393
+ */
8394
+ declare const DM: GenService<{
8395
+ /**
8396
+ * 获取分段弹幕
8397
+ *
8398
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmSegMobile
8399
+ */
8400
+ dmSegMobile: {
8401
+ methodKind: 'unary';
8402
+ input: typeof DmSegMobileReqSchema;
8403
+ output: typeof DmSegMobileReplySchema;
8404
+ };
8405
+ /**
8406
+ * 客户端弹幕元数据 字幕、分段、防挡蒙版等
8407
+ *
8408
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmView
8409
+ */
8410
+ dmView: {
8411
+ methodKind: 'unary';
8412
+ input: typeof DmViewReqSchema;
8413
+ output: typeof DmViewReplySchema;
8414
+ };
8415
+ /**
8416
+ * 修改弹幕配置
8417
+ *
8418
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmPlayerConfig
8419
+ */
8420
+ dmPlayerConfig: {
8421
+ methodKind: 'unary';
8422
+ input: typeof DmPlayerConfigReqSchema;
8423
+ output: typeof ResponseSchema;
8424
+ };
8425
+ /**
8426
+ * ott弹幕列表
8427
+ *
8428
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmSegOtt
8429
+ */
8430
+ dmSegOtt: {
8431
+ methodKind: 'unary';
8432
+ input: typeof DmSegOttReqSchema;
8433
+ output: typeof DmSegOttReplySchema;
8434
+ };
8435
+ /**
8436
+ * SDK弹幕列表
8437
+ *
8438
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmSegSDK
8439
+ */
8440
+ dmSegSDK: {
8441
+ methodKind: 'unary';
8442
+ input: typeof DmSegSDKReqSchema;
8443
+ output: typeof DmSegSDKReplySchema;
8444
+ };
8445
+ /**
8446
+ *
8447
+ *
8448
+ * @generated from rpc bilibili.community.service.dm.v1.DM.DmExpoReport
8449
+ */
8450
+ dmExpoReport: {
8451
+ methodKind: 'unary';
8452
+ input: typeof DmExpoReportReqSchema;
8453
+ output: typeof DmExpoReportResSchema;
8454
+ };
8455
+ }>;
8456
+
8457
+ /**
8458
+ * 弹幕服务
8459
+ */
8460
+ declare class DMService extends BaseService {
8461
+ fetchAll(videoPart: VideoPart, bizOptions?: BizRequestOptions): Promise<DanmakuElem[]>;
8462
+ }
8463
+
5239
8464
  /**
5240
8465
  * bili 客户端
5241
8466
  */
@@ -5290,6 +8515,8 @@ declare class BiliClient {
5290
8515
  videoPlayer: VideoPlayerService;
5291
8516
  /** 评论服务 */
5292
8517
  comment: CommentService;
8518
+ /** 弹幕服务 */
8519
+ dm: DMService;
5293
8520
  request: BiliRequest;
5294
8521
  get logger(): _ybgnb_utils.Logger;
5295
8522
  constructor(config?: Partial<BiliClientConfig>);
@@ -5829,4 +9056,4 @@ declare function wbiSign(params: RequestParams, mixinKey?: string): Promise<stri
5829
9056
  */
5830
9057
  declare function handleUrlParams(mergedParams: RequestParams, skipWbiSign?: boolean, wbiSignKeys?: WbiSignKeys): Promise<string>;
5831
9058
 
5832
- export { type AccountInfo, type AiDubbingLanguage, type ApiResponse, type ApiResponseData, type AtMessage, type AtMessageCursorResult, type AtMessageItem, AtMsgPageStrategy, type AuthorType, AuthorTypeMap, type AutoReplyRule, type AutoReplyRuleConfig, type AutoReplyType, AutoReplyTypeMap, BILIBILI_COOKIE_DOMAIN, BaseApi, BasePageStrategy, type BaseRequestOptions, BaseService, BiliApiBusinessError, BiliApiError, BiliApiHttpError, BiliClient, type BiliClientConfig, type BiliClientConfigSnapshot, BiliError, type BiliRawRequest, type BiliRequest, type BizRequestOptions, type BlockWord, type BlockWordConfig, type Business, BusinessMap, type BusinessType, type Buvids, CatchError, type CollectionMeta, type CollectionStat, type CommentContent, type CommentControl, type CommentCursorDetails, type CommentCursorQuery, type CommentDisplayConfig, type CommentItem, type CommentMember, type CommentNotice, type CommentPage, type CommentPageData, type CommentPageQuery, CommentService, type CommentUpAction, type Cursor, type DailyTaskStatus, type DeviceTypeCode, DeviceTypeCodeMap, type DurationMs, type DurlSegment, type Dynamic, type DynamicBasic, type DynamicListParams, type DynamicListResult, type DynamicModules, DynamicPageStrategy, DynamicService, type DynamicType, DynamicTypeMap, type Emote, type EmoteMap, type EmoteMeta, type EpisodicButton, type FavCollection, FavCollectionService, type FavFolderItem, type FavFolderMeta, type FavIdInfo, type FavItem, type FavListResult, type FavOpus, type FavOpusPageResult, FavOpusPageStrategy, FavOpusService, type FavRelatedUser, FavService, type FollowBangumi, FollowBangumiService, type FollowBangumiStatus, FollowBangumiStatusMap, type FollowBangumiType, type FollowBangumiTypeCode, FollowBangumiTypeMap, type GetFavListOptions, type HasMorePageData, HasMorePageStrategy, type History, type HistoryCursorInfo, type HistoryCursorResult, type HistoryItem, HistoryPageStrategy, HistoryService, type HistoryType, type IBusiness, type IMessageBusiness, type IMsgSource, type JumpUrl, type JumpUrlMap, type LevelExp, type LevelInfo, type LikeMessage, type LikeMessageCursorResult, type LikeMessageItem, LikeMsgPageStrategy, ListPageStrategy, type LoginQRCode, type MajorArticle, type MajorCommon, type MajorDraw, type MajorDrawItem, type MajorOpus, type MajorOpusSummary, type MajorPgc, type MajorUgcSeason, type MajorVideo, type MessageBusiness, type MessageBusinessId, MessageBusinessMap, type MessageBusinessType, type MessageCursor, type MessageItem, MessageService, type ModuleAuthor, type ModuleDynamic, type ModuleDynamicDesc, type ModuleDynamicMajor, type MsgRelatedUser, type MsgSourceCode, MsgSourceMap, type MsgUnreadCounts, type Nameplate, type Official, type OfficialVerify, type OldUpAssistantDoor, type OnPageFetched, type OnlineStatsShowSwitch, type OpusIdDetail, type OwnVideoPart, PageApi, type PageDataWithNextParams, type PageDataWithTotal, type PageOptions, type PageRequestOptions, type PaginationReply, type Pendant, type Picture, type PlaySupportFormat, type PlayUrlData, type PlayUrlQuery, type PopularSeries, type PopularSeriesInfo, type PostReplyData, type PostReplyResult, type PrivacySettings, type PrivacySettingsField, PrivacySettingsMap, type PrivateMsgBody, type ProfileCover, type QRCodeLoginCallback, type QRCodeLoginOptions, type QRCodeLoginResult, type RawRequestOptions, type RawResponse, type RawResponseType, type RawResponseTypeMap, type Relation, type RelationAct, type RelationActCode, RelationActMap, type RelationActType, type RelationAttribute, RelationAttributeMap, RelationService, type RelationSource, RelationSourceMap, type RelationStat, type RelationTag, type ReplyControl, type ReplyMessage, type ReplyMessageCursorResult, type ReplyMessageItem, ReplyMsgPageStrategy, ReplyPageStrategy, type RequestBody, type RequestContext, type RequestDelay, type RequestMethod, type RequestOptions, type RequestOptionsSnapshot, type RequestParams, ResponseWithTotalStrategy, type ReturnFormat, type ReturnFormatMap, type SelectionConfig, type Session, type SessionConfig, type SessionConfigItem, type SessionCursorResult, SessionPageStrategy, type SessionQuery, SessionService, SessionSettingsService, type SessionUnreadCounts, type SilenceStatus, SilenceStatusMap, type SpaceFavNum, type SpaceNavNum, type SpaceSection, type SpaceSettings, SpaceSettingsService, SpaceStatusService, SpaceVPageStrategy, type SpaceVSearchParams, type SpaceVSearchResult, type SpaceVideo, SpaceVideoService, type SpecifyHasMorePageData, SpecifyHasMorePageStrategy, type StrategyPageOptions, type SubReplyPageData, type SubReplyPageQuery, SubReplyPageStrategy, type SystemMessage, SystemMsgPageStrategy, type SystemSettings, type TimestampMs, type ToViewItem, type ToViewListResult, ToViewPageStrategy, ToViewService, type TopComment, type TripleResult, USER_COOKIE_NAMES, type UpStat, type UserCard, type UserCardData, type UserCardFull, type UserCookie, UserExpService, type UserInfo, type UserInfoWithCookie, UserService, type UserSettings, type VIP, VideoActionService, type VideoArgueInfo, type VideoDescV2Item, type VideoDimension, type VideoId, type VideoInfo, VideoInfoService, type VideoListData, type VideoOnlineCount, type VideoOwner, type VideoPart, VideoPlayerService, VideoRankingService, type VideoRelation, type VideoReportBody, type VideoReportQuery, VideoReportService, type VideoRights, type VideoStat, type VideoSubtitle, type VideoSubtitleAuthor, type VideoSubtitleItem, type VideoUgcSeason, type VideoUgcSeasonEpisode, type VideoUgcSeasonSection, type VideoUgcSeasonStat, VideoUploadService, type VipStatus, VipStatusMap, type VipType, VipTypeMap, type WbiSignKeys, WithApi, defaultApiRequestOptions, defaultBaseRequestOptions, generateMixinKey, getCommonBiliClient, getDefaultClientConfig, getFavFolderRemaining, getFavFolderType, handleUrlParams, loginUserWithQRCode, mixinKeyStore, parseUserCookie, wbiSign };
9059
+ export { type AccountInfo, type AiDubbingLanguage, type ApiResponse, type ApiResponseData, type AtMessage, type AtMessageCursorResult, type AtMessageItem, AtMsgPageStrategy, type AuthorType, AuthorTypeMap, type AutoReplyRule, type AutoReplyRuleConfig, type AutoReplyType, AutoReplyTypeMap, type Avatar, AvatarSchema, AvatarType, AvatarTypeSchema, BILIBILI_COOKIE_DOMAIN, BaseApi, BasePageStrategy, type BaseRequestOptions, BaseService, BiliApiBusinessError, BiliApiError, BiliApiHttpError, BiliClient, type BiliClientConfig, type BiliClientConfigSnapshot, BiliError, type BiliRawRequest, type BiliRequest, type BizRequestOptions, type BlockWord, type BlockWordConfig, type Bubble, BubbleSchema, BubbleType, BubbleTypeSchema, type BubbleV2, BubbleV2Schema, type Business, BusinessMap, type BusinessType, type Button, ButtonSchema, type Buvids, type BuzzwordConfig, BuzzwordConfigSchema, type BuzzwordShowConfig, BuzzwordShowConfigSchema, CatchError, type CheckBox, CheckBoxSchema, type CheckBoxV2, CheckBoxV2Schema, CheckboxType, CheckboxTypeSchema, type ClickButton, ClickButtonSchema, type ClickButtonV2, ClickButtonV2Schema, type CollectionMeta, type CollectionStat, type CommandDm, CommandDmSchema, type CommentContent, type CommentControl, type CommentCursorDetails, type CommentCursorQuery, type CommentDisplayConfig, type CommentItem, type CommentMember, type CommentNotice, type CommentPage, type CommentPageData, type CommentPageQuery, CommentService, type CommentUpAction, type Cursor, DM, DMAttrBit, DMAttrBitSchema, DMService, type DMUserInfo, type DMVideoSubtitle, type DailyTaskStatus, type DanmakuAIFlag, DanmakuAIFlagSchema, type DanmakuElem, DanmakuElemSchema, type DanmakuFlag, type DanmakuFlagConfig, DanmakuFlagConfigSchema, DanmakuFlagSchema, type DanmuDefaultPlayerConfig, DanmuDefaultPlayerConfigSchema, type DanmuPlayerConfig, type DanmuPlayerConfigPanel, DanmuPlayerConfigPanelSchema, DanmuPlayerConfigSchema, type DanmuPlayerDynamicConfig, DanmuPlayerDynamicConfigSchema, type DanmuPlayerViewConfig, DanmuPlayerViewConfigSchema, type DanmuWebPlayerConfig, DanmuWebPlayerConfigSchema, type DeviceTypeCode, DeviceTypeCodeMap, type DmColorful, DmColorfulSchema, DmColorfulType, DmColorfulTypeSchema, type DmExpoReportReq, DmExpoReportReqSchema, type DmExpoReportRes, DmExpoReportResSchema, type DmPlayerConfigReq, DmPlayerConfigReqSchema, type DmSegConfig, DmSegConfigSchema, type DmSegMobileReply, DmSegMobileReplySchema, type DmSegMobileReq, DmSegMobileReqSchema, type DmSegOttReply, DmSegOttReplySchema, type DmSegOttReq, DmSegOttReqSchema, type DmSegSDKReply, DmSegSDKReplySchema, type DmSegSDKReq, DmSegSDKReqSchema, type DmViewReply, DmViewReplySchema, type DmViewReq, DmViewReqSchema, type DmWebViewReply, DmWebViewReplySchema, type DurationMs, type DurlSegment, type Dynamic, type DynamicBasic, type DynamicListParams, type DynamicListResult, type DynamicModules, DynamicPageStrategy, DynamicService, type DynamicType, DynamicTypeMap, type Emote, type EmoteMap, type EmoteMeta, type EpisodicButton, type ExpoReport, ExpoReportSchema, ExposureType, ExposureTypeSchema, type Expression, ExpressionSchema, type Expressions, ExpressionsSchema, type FavCollection, FavCollectionService, type FavFolderItem, type FavFolderMeta, type FavIdInfo, type FavItem, type FavListResult, type FavOpus, type FavOpusPageResult, FavOpusPageStrategy, FavOpusService, type FavRelatedUser, FavService, type FollowBangumi, FollowBangumiService, type FollowBangumiStatus, FollowBangumiStatusMap, type FollowBangumiType, type FollowBangumiTypeCode, FollowBangumiTypeMap, type GetFavListOptions, type HasMorePageData, HasMorePageStrategy, type History, type HistoryCursorInfo, type HistoryCursorResult, type HistoryItem, HistoryPageStrategy, HistoryService, type HistoryType, type IBusiness, type IMessageBusiness, type IMsgSource, type InlinePlayerDanmakuSwitch, InlinePlayerDanmakuSwitchSchema, type JumpUrl, type JumpUrlMap, type Label, LabelSchema, type LabelV2, LabelV2Schema, type LevelExp, type LevelInfo, type LikeMessage, type LikeMessageCursorResult, type LikeMessageItem, LikeMsgPageStrategy, ListPageStrategy, type LoginQRCode, type MajorArticle, type MajorCommon, type MajorDraw, type MajorDrawItem, type MajorOpus, type MajorOpusSummary, type MajorPgc, type MajorUgcSeason, type MajorVideo, type MessageBusiness, type MessageBusinessId, MessageBusinessMap, type MessageBusinessType, type MessageCursor, type MessageItem, MessageService, type ModuleAuthor, type ModuleDynamic, type ModuleDynamicDesc, type ModuleDynamicMajor, type MsgRelatedUser, type MsgSourceCode, MsgSourceMap, type MsgUnreadCounts, type Nameplate, type Official, type OfficialVerify, type OldUpAssistantDoor, type OnPageFetched, type OnlineStatsShowSwitch, type OpusIdDetail, type OwnVideoPart, PageApi, type PageDataWithNextParams, type PageDataWithTotal, type PageOptions, type PageRequestOptions, type PaginationReply, type Pendant, type Period, PeriodSchema, type Picture, type PlaySupportFormat, type PlayUrlData, type PlayUrlQuery, type PlayerDanmakuAiRecommendedLevel, PlayerDanmakuAiRecommendedLevelSchema, type PlayerDanmakuAiRecommendedLevelV2, PlayerDanmakuAiRecommendedLevelV2Schema, type PlayerDanmakuAiRecommendedSwitch, PlayerDanmakuAiRecommendedSwitchSchema, type PlayerDanmakuBlockbottom, PlayerDanmakuBlockbottomSchema, type PlayerDanmakuBlockcolorful, PlayerDanmakuBlockcolorfulSchema, type PlayerDanmakuBlockrepeat, PlayerDanmakuBlockrepeatSchema, type PlayerDanmakuBlockscroll, PlayerDanmakuBlockscrollSchema, type PlayerDanmakuBlockspecial, PlayerDanmakuBlockspecialSchema, type PlayerDanmakuBlocktop, PlayerDanmakuBlocktopSchema, type PlayerDanmakuDomain, PlayerDanmakuDomainSchema, type PlayerDanmakuEnableblocklist, PlayerDanmakuEnableblocklistSchema, type PlayerDanmakuOpacity, PlayerDanmakuOpacitySchema, type PlayerDanmakuScalingfactor, PlayerDanmakuScalingfactorSchema, type PlayerDanmakuSeniorModeSwitch, PlayerDanmakuSeniorModeSwitchSchema, type PlayerDanmakuSpeed, PlayerDanmakuSpeedSchema, type PlayerDanmakuSwitch, type PlayerDanmakuSwitchSave, PlayerDanmakuSwitchSaveSchema, PlayerDanmakuSwitchSchema, type PlayerDanmakuUseDefaultConfig, PlayerDanmakuUseDefaultConfigSchema, type PopularSeries, type PopularSeriesInfo, type PostPanel, PostPanelBizType, PostPanelBizTypeSchema, PostPanelSchema, type PostPanelV2, PostPanelV2Schema, type PostReplyData, type PostReplyResult, PostStatus, PostStatusSchema, type PrivacySettings, type PrivacySettingsField, PrivacySettingsMap, type PrivateMsgBody, type ProfileCover, type QRCodeLoginCallback, type QRCodeLoginOptions, type QRCodeLoginResult, type RawRequestOptions, type RawResponse, type RawResponseType, type RawResponseTypeMap, type Relation, type RelationAct, type RelationActCode, RelationActMap, type RelationActType, type RelationAttribute, RelationAttributeMap, RelationService, type RelationSource, RelationSourceMap, type RelationStat, type RelationTag, RenderType, RenderTypeSchema, type ReplyControl, type ReplyMessage, type ReplyMessageCursorResult, type ReplyMessageItem, ReplyMsgPageStrategy, ReplyPageStrategy, type RequestBody, type RequestContext, type RequestDelay, type RequestMethod, type RequestOptions, type RequestOptionsSnapshot, type RequestParams, type Response$1 as Response, ResponseSchema, ResponseWithTotalStrategy, type ReturnFormat, type ReturnFormatMap, type SelectionConfig, type Session, type SessionConfig, type SessionConfigItem, type SessionCursorResult, SessionPageStrategy, type SessionQuery, SessionService, SessionSettingsService, type SessionUnreadCounts, type SilenceStatus, SilenceStatusMap, type SpaceFavNum, type SpaceNavNum, type SpaceSection, type SpaceSettings, SpaceSettingsService, SpaceStatusService, SpaceVPageStrategy, type SpaceVSearchParams, type SpaceVSearchResult, type SpaceVideo, SpaceVideoService, type SpecifyHasMorePageData, SpecifyHasMorePageStrategy, type StrategyPageOptions, type SubReplyPageData, type SubReplyPageQuery, SubReplyPageStrategy, SubtitleAiStatus, SubtitleAiStatusSchema, SubtitleAiType, SubtitleAiTypeSchema, type SubtitleItem, SubtitleItemSchema, SubtitleType, SubtitleTypeSchema, type SystemMessage, SystemMsgPageStrategy, type SystemSettings, type TextInput, TextInputSchema, type TextInputV2, TextInputV2Schema, type TimestampMs, type ToViewItem, type ToViewListResult, ToViewPageStrategy, ToViewService, type Toast, type ToastButtonV2, ToastButtonV2Schema, ToastFunctionType, ToastFunctionTypeSchema, ToastSchema, type ToastV2, ToastV2Schema, type TopComment, type TripleResult, USER_COOKIE_NAMES, type UpStat, type UserCard, type UserCardData, type UserCardFull, type UserCookie, UserExpService, type UserInfo, UserInfoSchema, type UserInfoWithCookie, UserService, type UserSettings, type VIP, VideoActionService, type VideoArgueInfo, type VideoDescV2Item, type VideoDimension, type VideoId, type VideoInfo, VideoInfoService, type VideoListData, type VideoMask, VideoMaskSchema, type VideoOnlineCount, type VideoOwner, type VideoPart, VideoPlayerService, VideoRankingService, type VideoRelation, type VideoReportBody, type VideoReportQuery, VideoReportService, type VideoRights, type VideoStat, type VideoSubtitle, type VideoSubtitleAuthor, type VideoSubtitleItem, VideoSubtitleSchema, type VideoUgcSeason, type VideoUgcSeasonEpisode, type VideoUgcSeasonSection, type VideoUgcSeasonStat, VideoUploadService, type VipStatus, VipStatusMap, type VipType, VipTypeMap, type WbiSignKeys, WithApi, defaultApiRequestOptions, defaultBaseRequestOptions, file_dm, generateMixinKey, getCommonBiliClient, getDefaultClientConfig, getFavFolderRemaining, getFavFolderType, handleUrlParams, loginUserWithQRCode, mixinKeyStore, parseUserCookie, wbiSign };