• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/channelstatsrequest.php
  • Класс: BitrixPullProtobufChannelStatsRequest
  • Вызов: ChannelStatsRequest::descriptor
static function descriptor()
    {
        return googleprotobufDescriptorProto::fromArray([
            'name'      => 'ChannelStatsRequest',
            'field'     => [
                googleprotobufFieldDescriptorProto::fromArray([
                    'number' => 1,
                    'name' => 'channels',
                    'type' => googleprotobufFieldDescriptorProtoType::TYPE_MESSAGE(),
                    'label' => googleprotobufFieldDescriptorProtoLabel::LABEL_REPEATED(),
                    'type_name' => '.ChannelId'
                ]),
            ],
        ]);
    }